C# – Cannot run ASP.NET MVC Websites on IIS7

asp.netasp.net-mvcciis-7net

I have Windows 7 professional running IIS7. I have installed ASP.NET MVC 1.0 and VS2008. When I run the app with Cassini it runs fine. When I create a virtual directory and run it on IIS7, the app comes up with a blank web page and no errors at all.

How do I get ASP.NET MVC projects running on IIS7?

Best Answer

I run with that configuration every day. There are a few steps you need to go through to be sure IIS 7.5 (on Win 7) is configured properly. Follow the instructions using the link below. Although they're meant for Vista / IIS 7, they still hold.

http://learn.iis.net/page.aspx/387/using-visual-studio-2008-with-iis-70/

Let us know the outcome.