2017-08-15 54 views
-1

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.ASP.NET 4.0还没有被注册的Web服务器

我怎样才能在的Windows 7解决这个问题的的Visual Studio 2012上。

+0

前两句似乎是一条错误消息。因此,他们应该被引用。另外,我修正了拼写和语法。 –

+0

在尝试提出更多问题之前,请阅读[我如何提出一个好问题?](http://stackoverflow.com/help/how-to-ask)。 –

回答

-2

打开一个解决方案时,我得到同样的错误信息(我的项目的目标框架是.NET Framework 4.0中)上的Visual Studio 2012,但我使用的是Windows 10安装在我的电脑在.NET Framework 4.6。我在手动下载并安装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