Creation of the virtual directory http:/ /localhost:16858/ failed with the error

两盒软妹~` 提交于 2020-05-17 06:34:55

问题


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

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

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

How to solve this problem ? Any suggestions ?


回答1:


The error is solved.

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

to

%userprofile%\Documents\IISExpress\config



来源:https://stackoverflow.com/questions/49168276/creation-of-the-virtual-directory-http-localhost16858-failed-with-the-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!