Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am having problem with my web application. below is the error... hope someone could help me out here... by the way, i am using dreamweaver here and not Visual Studio

XML
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 9:         <system.web>
Line 10:         <customErrors mode="Off" />
Line 11:            <authentication mode="Forms">
Line 12:                     <forms name=".ASPXAUTH" loginUrl="admin/login.aspx"/>
Line 13:              </authentication>

Source File: C:\inetpub\wwwroot\cristy\dotnetnewsv1.2\web.config    Line: 11
Posted
Comments
AspDotNetDev 27-Feb-13 23:29pm    
FYI, your name appears in the folder path in the error message. You may want to edit your question to remove that if it's important to you.
moodyCoder 4-Mar-13 19:47pm    
it's ok... it's not my name... :)

1 solution

This error can be caused by a virtual directory not being configured as an application in IIS.
you can have web.config file for the sub-directory. However, there are certain properties which cannot be set in the web.config of the sub-directory such as authentication, session state. The reason is, these settings cannot be overridden at the sub-directory level unless the sub-directory is also configured as an application.
Original Source : here[^].

--Amit
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900