简体   繁体   English

已安装Visual Studio 2010 Service Pack 1,现在会收到错误消息

[英]Visual Studio 2010 Service Pack 1 Installed, now get error message

"The web application project is configured to use IIS. Unable to access the IIS Meta Base. You do not have sufficient privilege to access the IIS web sites on your machine" “将Web应用程序项目配置为使用IIS。无法访问IIS Meta Base。您没有足够的权限来访问计算机上的IIS网站”

Just installed Service Pack 1 yesterday. 昨天刚刚安装了Service Pack 1。 This error was not present before SP1, so I'm pretty sure it is SP1 that caused it. SP1之前没有出现此错误,因此我可以肯定是由SP1引起的。 However, I need SP1 for future projects/work that requires it. 但是,对于以后需要它的项目/工作,我需要它。 Hopefully someone can point me in the right direction? 希望有人能指出我正确的方向吗?

Try using this from the command line: 尝试从命令行使用此命令:

%windir%\\Microsoft.NET\\Framework\\v2.0.50727\\aspnet_regiis.exe -i %windir%\\ Microsoft.NET \\ Framework \\ v2.0.50727 \\ aspnet_regiis.exe -i

Check your version "v2.0.50727" 检查您的版本“ v2.0.50727”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM