加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

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

发布时间:2020-12-16 00:34:17 所属栏目:asp.Net 来源:网络整理
导读:安装Service Pack 1后,Visual Studio 2010无法在IIS中创建网站。这是错误信息: ---------------------------Microsoft Visual Studio---------------------------Configuring Web http://localhost/MyWebSite for ASP.NET 3.5 failed.You must manuallycon
安装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   
---------------------------

有谁知道如何解决它?谢谢!

附:我使用的是windows7 x64。

解决方法

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

感谢Microsoft Connect report,我可以通过choosing a new default application pool在IIS 7管理器树中的“站点”节点的“网站默认值”属性下解决此问题。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读