首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >如何解决Visual Studio无法在IIS中创建网站?

如何解决Visual Studio无法在IIS中创建网站?
EN

Stack Overflow用户
提问于 2018-04-04 00:01:04
回答 2查看 0关注 0票数 0

为Visual Studio 2010安装Service Pack 1后,无法在IIS中创建网站。这里是错误信息:

代码语言:javascript
复制
---------------------------
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。

EN

回答 2

Stack Overflow用户

发布于 2018-04-04 08:02:17

可以通过在IIS 7管理器中的“网站”节点的“网站默认值”属性下选择一个新的默认应用程序池来解决此问题:

“网站默认值”属性窗口的屏幕截图
“网站默认值”属性窗口的屏幕截图
票数 0
EN

Stack Overflow用户

发布于 2018-04-04 09:03:54

右键单击“以管理员身份运行”运行Visual Studo。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/-100007948

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档