Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What does this mean?
XML
Error   315 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.  
E:\Ala Qunaibi Documents\Project D\Admin\web.config 62
Posted
Updated 29-Mar-10 2:17am
v2

1 solution

Check if your application has more than 1 Web.config file? Generally this occurs because of that.

Make sure you just have only ONE web.config file.

Next when you publish it on IIS... check config file. Set to correct .NET Framework version.
 
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