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

标签 asp.net windows visual-studio iis

安装 Service Pack 1 for 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。

最佳答案

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

关于asp.net - Visual Studio 无法在 IIS 中创建网站,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5273044/

相关文章:

asp.net - 如何在 ASP.Net 中保存数据后获得 Json 响应

javascript - 从 aspx 中的代码隐藏调用 JavaScript

windows - 在 AIR 应用程序中捕获系统信息

javascript - Html.TextBoxFor - 如何关闭历史记录

jquery - 如何在 bootstrap 或 css 中将按钮行和内容留给图像

windows - "TCHAR cFileName[MAX_PATH];"- MSDN 库中的错误?

c# - 如何在 Windows 7 桌面上接受传入的蓝牙连接(使用 c++ 或 c# 程序)

visual-studio - 如何从命令行清除Azure存储模拟器数据?

c# - 我应该使用 Visual Studio 中的哪种类型的项目来创建 "hidden"实用程序?

c# - 调用服务时出现 EndpointNotFoundException