Click here to Skip to main content
15,897,291 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am getting the following error....

Server Error in '/CCAppStoreAlpha' 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 19:
Line 20: <httpruntime>
Line 21: <authentication mode="Forms">
Line 22: <forms loginUrl="Login.aspx" defaultUrl="default.aspx" />
Line 23:


Anyone has idea about this? I am using IIS 7.
Posted

Hello,

You need to set it as as an application in IIS. Right click the folder, open the properties and look for an option that says make application or something like that.

Hope it helps ;)
 
Share this answer
 
Check your folders,

Sometimes this error occurred if you have more than two web.config files in your Project.Remove one web.config and then try
 
Share this answer
 
I have not created the virtual directory to application in which web.config resides. I created virtual directory for parent folder. After creating sub folder to application in which my web.config resides my problem solved.
this link is helfpul for this.
http://forums.asp.net/t/1505132.aspx/1[^]
 
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