错误:为 Web 项目“XXX”配置的 URL“http://localhost/”的网站同时存在于本地 IIS Web 服务器和 IIS Express Web 服务器上。您需要使用 IIS 管理器在 IIS 中更改此网站的绑定。
2024-10-19 18:26:40
解决方法:
用记事本打开MVC网站的项目文件(*.csproj),滚动条拉到最下,找到这两个节点:
<UseIIS>True</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
改为:
<UseIIS>False</UseIIS>
<AutoAssignPort>False</AutoAssignPort>
最新文章
- C语言初级进阶2
- Query Designer:Condition,根据KeyFigure值来过滤数据
- ios UIButton设置单选效果,以及同时设置图片和标题
- LESS速查
- WP8.1中C++的winodws运行时组件位移操作的差异
- 51nod 1060反素数
- Ubuntu 16.04服务器安装及软件配置
- Quora 用了哪些技术(转)
- Shell编程学习---第五篇:Shell的输入和输出
- poj 动态规划的主题列表和总结
- hdu Word Amalgamation(map)
- 使用solr6.0搭建solrCloud
- [Python]基础教程(2)、PyCharm安装及中文编码
- 解决报错SAXNotRecognizedException: Feature &#39;http://javax.xml.XMLConstants/feature/secure-processing&#39; not recognized
- topcoder srm 694 div1 -3
- git remote: HTTP Basic: Access denied 错误解决办法
- [PowerShell Utils] Create a list of virtual machines based on configuration read from a CSV file in Hyper-V
- Fibonacci number
- LoadRunner 一参多用
- RoadFlow ASP.NET Core工作流配置文件说明