This is one of the common errors when working with IIS for hosting ASP.NET web applications.
The cause for this error in many cases is due to unmatched Execute Permission.
To solve this follow the steps below...
1. Go to IIS and select your web application's virtual directory.
2. Right click and select properties.
3. On the popup select the virtual directory tab.
4.Under Application Settings find 'Execute Permissions'.
5. In the drop down select Scripts only if your are going to run any scripts in your application and so for any executable.
In my case, i selected 'Scripts Only'.
Hope you got the solution.
Good Luck.
No comments:
Post a Comment
Please leave your comments here to improve myself!