虚拟目录http://localhost:16858/的创建失败,并显示以下错误 [英] Creation of the virtual directory http:/ /localhost:16858/ failed with the error

查看:115
本文介绍了虚拟目录http://localhost:16858/的创建失败,并显示以下错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

i am trying to load a web project in VS2015 and i get the following error.

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

Creation of the virtual directory http:/ /localhost:16858/ failed with the error: Filename: redirection.config Error: Cannot read configuration file.

我试图删除* .csproj.user来重建文件.但这没用.

I tried to delete *.csproj.user to rebuild the file. But it didn't work.

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

How to solve this problem ? Any suggestions ?

推荐答案

错误已解决.

首先,如果您不安装IIS Express,则应该安装.

Firstly, if you don't install IIS Express, you should install.

安装后,从复制所有文件

After installing, copy all files from

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

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

%userprofile%\ Documents \ IISExpress \ config

%userprofile%\Documents\IISExpress\config

这篇关于虚拟目录http://localhost:16858/的创建失败,并显示以下错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆