Click here to Skip to main content
15,888,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
Server Error in '/demooniis' Application.

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 16:     <compilation debug="true" targetFramework="4.0" />
Line 17:
Line 18:     <authentication mode="None">
Line 19:       <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
Line 20:     </authentication>
Posted
Updated 28-Feb-14 18:11pm
v2
Comments
Pranav-BiTwiser 1-Mar-14 1:48am    
which version of IIS are you using??

as your error messages shows that "This error can be caused by a virtual directory not being configured as an application in IIS.", so please check your IIS where you host this application is it configured as Application or not, the error shows that your virtual directory is not configured as application, if so then right click on your virtual directory in IIS and select Convert to Application, then try to browse it again.
 
Share this answer
 
Comments
raxhemanth 3-Mar-14 0:19am    
thankyou got it
The above error message indicates that there is a Web.config file in one of the website's subfolders than has one of these configuration elements that cannot be defined beyond the application level.
 
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