ASP.NET 4.0尚未在Web服务器上注册

时间:2017-08-15 10:27:06

标签: asp.net

ASP.NET 4.0 has not been registered on the Web server. You must manually configure your Web site for ASP.NET 4.0 if you want your site to run correctly.

如何在 Windows 7 上的 Visual Studio 2012 中解决此问题。

1 个答案:

答案 0 :(得分:-2)

在Visual Studio 2012上打开解决方案(我的项目的目标框架是.NET Framework 4.0)时,我收到了同样的错误消息,除了我在我的计算机上安装了.NET Framework 4.6的Windows 10。手动下载并安装 Microsoft Visual Studio 2012更新KB3002339 后,我已修复此问题。

这是指向我解决方案的文章: https://blogs.msdn.microsoft.com/webdev/2014/11/11/dialog-box-may-be-displayed-to-users-when-opening-projects-in-microsoft-visual-studio-after-installation-of-microsoft-net-framework-4-6/

这是我下载VS2012更新KB3002339的页面: https://support.microsoft.com/pt-pt/help/3002339/unexpected-dialog-box-appears-when-you-open-projects-in-visual-studio