Web Configuration...

A

arshi

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 2: <system.web>
Line 3: <customErrors mode="Off"/>
Line 4: <authentication mode="Forms">
Line 5: <forms name=".ASPXFORUM" loginUrl="login.aspx" protection="All" timeout="30" path="/" />
Line 6: </authentication>

Source File: C:\homeprojects\aspdotnet\FormBasedAuthCode\web.config Line: 4

How can I configure a virtual directory as an application in IIS?

Please view my complete web.config file:
 

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,774
Messages
2,569,596
Members
45,144
Latest member
KetoBaseReviews
Top