开发者

Cannot run ASP.NET MVC Websites on IIS7

开发者 https://www.devze.com 2022-12-13 12:19 出处:网络
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 directo开发者_开发百科ry and run it on IIS

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 directo开发者_开发百科ry 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?


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.


For those interested the problem was Skype had captured port 80 so IIS could not use that port of course.

Malcolm

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号