Reputation: 161
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 ?
Upvotes: 0
Views: 5831
Reputation: 161
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
Upvotes: 5