Tuesday, July 10, 2012

ASP.NET Error : section registered as allowDefinition='MachineToApplication' beyond application level.


Error : 
"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. "


Solution:
1. Instead or Virtual Directory create Application   i.e. add your project as "Application" in IIS.
2. Check the Application Pools in IIS. 
3. Compare Your project version and Application Pool version.
4. Now you can run you project.

No comments:

Post a Comment