Problem running ASP.NET MVC 2 website on IIS7
Posted
by Charlie
on Stack Overflow
See other posts from Stack Overflow
or by Charlie
Published on 2009-12-31T14:15:17Z
Indexed on
2010/05/17
17:11 UTC
Read the original article
Hit count: 345
I'm trying to deploy my ASP.NET MVC 2 website from VS2010 beta 2 to IIS7. The publish works fine but none of the routes work, so when I go to the URL http://localhost/myapp/Home/Index I get the error:
HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
I'm deploying to a virtual directory which is using an app pool configured for the .NET 4 framework with managed pipeline mode set to integrated. Also, if I go Basic Settings->Test Connection, both tests pass. From what I understand, it should just work?
I don't have any problems deploying Nerd Dinner from VS2008, that works fine.
© Stack Overflow or respective owner