为Visual Studio 2010安装Service Pack 1后,无法在IIS中创建网站。这里是错误信息:
---------------------------
Microsoft Visual Studio
---------------------------
Configuring Web http://localhost/MyWebSite for ASP.NET 3.5 failed.
You must manuallyconfigure this site for ASP.NET 3.5 in order for
the site to run correctly. Visual Studio cannot detect whether this
virtual root has been configured for use with ASP.NET 2.0. The likely
cause is that you do not have sufficient priviledges to access the
IIS metabase. You may need to manually configure this site for
ASP.NET 2.0 in order for your site to run correctly.
---------------------------
OK Help
---------------------------
有谁知道如何解决它?
我的电脑版本:Windows7 x64。
发布于 2018-04-04 08:02:17
可以通过在IIS 7管理器中的“网站”节点的“网站默认值”属性下选择一个新的默认应用程序池来解决此问题:
发布于 2018-04-04 09:03:54
右键单击“以管理员身份运行”运行Visual Studo。
https://stackoverflow.com/questions/-100007948
复制相似问题