Configuration Error

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:
 
B

BruceJohnson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,201
Latest member
KourtneyBe

Latest Threads

Top