[英]When creating a new project in Visual studio 2013 I get an error because they are automatically trying to use IIS express
When creating a new Web API ASP.NET project I get the error "Configuring IIS Express failed with the following error: Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine. 创建新的Web API ASP.NET项目时,出现错误“配置IIS Express失败,并出现以下错误:无法访问IIS元数据库。您没有足够的权限访问计算机上的IIS网站。
The problem with this error is that I don't even have IIS express installed any more so I want to associate new projects with regular IIS. 此错误的问题是我什至没有安装IIS Express,因此我想将新项目与常规IIS相关联。 I can manually change the settings of the project by opening it in notepad.
我可以通过在记事本中打开项目来手动更改项目的设置。 But this is pretty annoying and I can't see where to change the default.
但这很烦人,我看不到在哪里更改默认值。
Any help appreciated. 任何帮助表示赞赏。 Thanks.
谢谢。
When creating web project in VS, IIS Express is assumed to be on the machine (because VS puts it there). 在VS中创建Web项目时,假定IIS Express位于该计算机上(因为VS将其放置在该计算机上)。 If you've removed that required dependency, your machine is in an unsupported state.
如果您删除了必需的依赖项,则您的计算机处于不受支持的状态。 Why not just have IIS Express installed, and change the projects after creating them?
为什么不只安装IIS Express,又在创建项目后更改项目?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.