安装 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/