IIS 7.5 and ASP.NET MVC Routing
Posted
by
m__
on Server Fault
See other posts from Server Fault
or by m__
Published on 2012-07-03T07:23:22Z
Indexed on
2012/07/03
9:17 UTC
Read the original article
Hit count: 260
I'm running an ASP.NET MVC 3 application on an IIS 7.5 server (my development server). When I set up my production server something goes wrong. Serving the same application binaries, using the same web.config file and connecting to the same database I get different results. Something must be wrong with my IIS configuration, but what?
Here's an example
I visit http://mysite.com/An/AspNetMvc/Routed/Address/1
and everything works
I visit http://mysite.com/An/AspNetMvc/Routed/Address/1.1
works on my development server but not on my production server which gives the following error
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed,
or is temporarily unavailable.
Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
Somehow the URL is served as a static file on my production server which led me to investigate my IIS Handler Mappings, but without luck.
© Server Fault or respective owner