asp.net – Visual Studio无法在IIS中创建网站

前端之家收集整理的这篇文章主要介绍了asp.net – Visual Studio无法在IIS中创建网站前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
安装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管理器树中的“站点”节点的“网站默认值”属性解决此问题。

原文链接:https://www.f2er.com/aspnet/252617.html

猜你在找的asp.Net相关文章