Configuration Error

  • Thread starter Thread starter Matt
  • Start date Start date
M

Matt

I created an ASP.NET application to connect to the database. When I run it,
it throws this error. Any ideas?? In IIS console, I use integration windows
authentication. and I put <identity impersonate="true" /> in web.config.


Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.

Source Error:


Line 39: by Microsoft that offers a single logon and core profile
services for member sites.
Line 40: -->
Line 41: <authentication mode="Windows" />
Line 42:
Line 43:
 
This error is caused by not having the directoy that web.config is in be
a virtual directory. If you go into Internet Services Manager and
create a new virtual directory pointing at the directory containing the
file your modifying, this problem will go away.

Bruce Johnson
http://www.ObjectSharp.com/Bruce
 
Back
Top