安装Service Pack 1后,Visual Studio 2010无法在IIS中创建网站。这是错误信息:
--------------------------- Microsoft Visual Studio --------------------------- Configuring Web http://localhost/MyWebSite for ASP.NET 3.5 @R_404_159@. 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。
解决方法
当我删除默认的应用程序池时,这发生在我身上。
感谢Microsoft Connect report,我可以通过choosing a new default application pool在IIS 7管理器树中的“站点”节点的“网站默认值”属性下解决此问题。