0
votes

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.

enter image description here

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

How to solve this problem ? Any suggestions ?

1
Thanks for your help. İt was useful for me.Mevlüt Soner
it will be better if you will attach your solution and mark that as an answer because other may still try to solve it and this question will be visible as an unansweredArunPratap

1 Answers

5
votes

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