2

I have a site that is working fine on my local dev machine. When I run everything in IIS Express, the site is working fine. However, when i deploy my app to production, everything but one route is working. That one MVC route is returning a 404 error.

I turned on Failed Request Tracing and have the trace file. All i can see in it is that there is a warning on the "Module Set Response Error Status" and it says it came from the ManagedPipelineHandler.

There's nothing I can find unique about this route. Everything I can find says it should work, but for some reason it doesn't.

The Failed Request Tracing reads like a set of stereo instructions. I'm not sure what I should be looking for.

  • Did you find any solution to this? – user3390995 Nov 20 '15 at 16:20
0

1) Try adding following code in your web.config file:

<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<!-- rest of config -->
</system.webServer>

2) Make sure that your application is running under ASP.Net 4.0 integrated pipeline mode. If not, set this application pool to integrated pipeline mode and recycle it once.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.