Saturday, April 18, 2009

It is an error to use a section registered as allow defenition='Machine To Application' beyond application level.

This error can be caused by a virtual directory not being configured as an application in IIS.





This error may look strange but the solution is simple. If you manually copy a ASP.NET application as virtual directory. This error may occur due to the application is not configured with an application name.



See the image below..








Follow the below steps...



1. Open the Virtual Directory's properties you will get the popup as seen in the image.


2. Under Application Settings Click the "Create" button. You will now automatically get a application name.


3.Save the settings and try again.





This will hopefully works.


Good Luck!

No comments:

Post a Comment

Please leave your comments here to improve myself!