Showing posts with label iis. Show all posts
Showing posts with label iis. Show all posts

Tuesday, June 29, 2010

ASP.NET MVC 500.24 Error

This error occurs because Asp.Net cannot apply a detected setting in Integrated managed pipeline mode.

In the Web.config add this line of code in the [system.webserver] block.

[validation validateintegratedmodeconfiguration="false"]

This will ignore the error.


-------------------------


Also, in IIS web.config, in the system.web element, there is the identity impersonate=true element. Delete.

Tuesday, May 11, 2010

ASP.NET MVC 403 Error

There is an error, when using ASP.NET MVC, that gives you HTTP 403 error.

When, the rest of the MVC site is working, but it cannot access a specific controller, look for a folder named after the controller.

For instance,

If the controller that cannot be accessed is SecurityController, but the rest of the controllers work, look for a folder in the root directory named "Security". ASP.NET MVC tries to access this folder instead of the actual controller.