ASP.NET 4.5尚未注册在Web服务器上 [英] ASP.NET 4.5 has not been registered on the Web server

查看:1082
本文介绍了ASP.NET 4.5尚未注册在Web服务器上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Win 7的开发机,并且为了使用SQL防爆preSS实例,而不是默认安装的的LocalDB的。我在MVC 4项目属性页面(网络选项卡)未选中使用IIS前preSS,然后我得到了以下错误:

In my Win 7 development machine, and in order to use SQL Express instance instead of the localDB installed by default. I unchecked "Use IIS Express" in my MVC 4 project properties page (Web tab), then I got the following error:

ASP.NET 4.5还没有被注册的Web服务器上。您需要手动配置ASP.NET 4.5 Web服务器,以便为您的网站正常运行。

我核实,ASP.NET是IIS功能中激活。

I verified that ASP.NET is activated within the IIS features.

请什么可以做,以解决此问题?

Please what could be done to resolve this?

推荐答案

或许,你必须执行在下面的 Visual Studio工具命令提示符:

Maybe you have to execute the following in the Visual Studio Tools command prompt:

aspnet_regiis -i

您可以阅读更多关于在 ASP.NET IIS注册工具(Aspnet_regiis.exe)这里

You can read more about the ASP.NET IIS Registration Tool (Aspnet_regiis.exe) here.

这篇关于ASP.NET 4.5尚未注册在Web服务器上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆