【问题标题】:Creation of the virtual directory http:/ /localhost:16858/ failed with the error创建虚拟目录 http://localhost:16858/ 失败并出现错误
【发布时间】:2018-08-16 12:30:15
【问题描述】:

我正在尝试在 VS2015 中加载一个 Web 项目,但出现以下错误。

创建虚拟目录 http://localhost:16858/ 失败 错误:文件名:redirection.config 错误:无法读取配置文件。

我尝试删除 *.csproj.user 以重建文件。但它没有用。

如何解决这个问题?有什么建议吗?

【问题讨论】:

标签: .net visual-studio visual-studio-2015 iis-express


【解决方案1】:

错误已解决。

首先,如果你不安装 IIS Express,你应该安装。

安装后,复制所有文件

C:\Program Files\IIS Express\config\templates\PersonalWebServer

%userprofile%\Documents\IISExpress\config

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-07-23
    • 2018-10-22
    • 2021-02-18
    • 2021-03-24
    • 2017-06-04
    相关资源
    最近更新 更多