简体   繁体   English

在Visual Studio 2013中创建新项目时,出现错误,因为它们会自动尝试使用IIS express

[英]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.

相关问题 如何在Visual Studio Express 2013中通过本地IIS运行Web项目 - How to run web project by local IIS in visual studio express 2013 在Visual Studio 2013中的IIS Express上托管多个Web项目 - Multiple web project are hosted on IIS Express in Visual Studio 2013 将Visual Studio 2013 .sln配置为使用本地IIS(非Express) - Configure Visual Studio 2013 .sln to use Local IIS (Not Express) 当我通过 Visual Studio 中的 IIS Express 在浏览器中打开 web 应用程序时,为什么会给我这个错误? - Why give me this error when I open web app in browser through IIS Express in visual studio? 接管项目时,如何解决Visual Studio 2013中的“ allowDefinition”错误? - How can I resolve “allowDefinition” error in Visual Studio 2013 when I'm taking over a project? 在Visual Studio 2013中为Web资产创建项目 - Creating a project for web assets in Visual Studio 2013 Visual Studio 2013-IIS Express不提供aspx文件 - Visual Studio 2013 - IIS Express not serving aspx files 当我选择身份验证选项时,Visual Studio 2013不创建数据库 - Visual Studio 2013 not creating database when I select the authentication option Visual Studio 2015 IIS Express 500错误 - Visual Studio 2015 IIS Express 500 Error ASP.net Visual Studio 2019 项目将无法加载,因为 IIS Express 无法读取映射网络驱动器上的配置文件 - ASP.net Visual Studio 2019 project won't load because IIS Express cannot read configuration file on mapped network drive
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM