简体   繁体   English

在IIS 7.5上运行Intranet ASP.NET MVC 3应用程序

[英]Running intranet ASP.NET MVC 3 application on IIS 7.5

I'm using Web Developer Express 2010 and IIS 7.5 Express . 我正在使用Web Developer Express 2010IIS 7.5 Express I've followed the article http://msdn.microsoft.com/en-us/library/ie/gg703322(v=vs.98).aspx but still have a problems with running my application on IIS . 我已经关注了http://msdn.microsoft.com/zh-cn/library/ie/gg703322(v=vs.98).aspx上的文章,但是在IIS上运行我的应用程序仍然遇到问题。 I'm not directed to site's default view.. any view. 我没有指向网站的默认视图。 But can list the site directory. 但是可以列出站点目录。 Application works fine when I run on ASP.NET Development Server . 当我在ASP.NET Development Server上运行时,应用程序运行正常。

Also I have no Use IIS Express option in my project Properties window. 另外,我的项目“ Properties窗口中没有“ Use IIS Express选项。 Is that an issue or it's normal when using Web Developer Express ? 这是问题还是使用Web Developer Express时正常?

Thanks! 谢谢!

MVC3 requires .Net 4.0 and the tutorial isn't particularly clear about setting the .net version in the application pool. MVC3需要.Net 4.0,并且本教程对于在应用程序池中设置.net版本不是特别清楚。 Try setting the application pool to "ASP.NET v4.0" 尝试将应用程序池设置为“ ASP.NET v4.0”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM