1. Home
  2. Scripting
  3. MVC Application giving 404/403 Error

MVC Application giving 404/403 Error

We’ve had a number of support requests regarding issues getting MVC applications working whereby the browser is throwing up a 404 file not found error or a 403 denied message.

These are generally the result of the “runAllManagedModulesForAllRequests” setting or rather lack of in your web.config file.

Previously “runAllManagedModulesForAllRequests” was set to ‘true’ by default but was changed in a Microsoft update to be ‘false’.

If like so many others, this is the issue you can quickly resolve it by enabling it in your web.config with:

<modules runAllManagedModulesForAllRequests="true" />

Hopefully that was quick any easy, all you’ve really done is allow all managed modules to process all requests.

Click here for full details

Classification: Public
Last saved: 2019/08/14 at 15:11 by Jamie

How can we help?