Giganews Newsgroups
Subject: MachineToApplication
Posted by:  jrl (jrl@nospam.nospam)
Date: Wed, 15 Jul 2009

I was moving some web sites to a new server, and I'm running into an error.
There are two sites and both do run in IIS. However, when I try to run the
sites in debug mode under visual studio 2008, then one site runs and the
other doesn't (even though they have very similar web.config files).

The error I get when I run a debug session is "It is an error to use a
section registered as allowDefinition='MachineToApplication' beyond
appliction level. This error can be caused by a virtual directory not being
configured as an application in IIS." The error occurs in web.config at line

The actual line in web.config is
<anonymousIdentification enabled="true"/>

Can you help me troubleshoot this error, as I haven't found much through my
searches that seems to apply to or explain this message.
Thanks, JRL