Visual Studio无法在IIS中创建网站

gor*_*gor 17 windows asp.net iis visual-studio

安装Service Pack 1后,Visual Studio 2010无法在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   
---------------------------

有人知道怎么解决吗?谢谢!

PS我正在使用windows7 x64.

Alb*_*ini 22

您是否尝试通过右键单击"以管理员身份运行"运行Visual Studio?


bri*_*ris 8

当我删除默认应用程序池时,这发生在我身上.

感谢Microsoft Connect报告,我能够通过在IIS 7管理器树中的"站点"节点的"网站默认值"属性下选择新的默认应用程序池来解决此问题.