0

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 ?

Mevlüt Soner
  • 161
  • 3
  • 4
  • 14
  • https://stackoverflow.com/questions/15897726/iisexpress-8-cannot-read-configuration-file-redirection-config – ArunPratap Mar 08 '18 at 08:14
  • Thanks for your help. İt was useful for me. – Mevlüt Soner Mar 08 '18 at 11:23
  • 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 unanswered – ArunPratap Mar 08 '18 at 12:30
  • 1
    Possible duplicate of [IISExpress 8 Cannot read configuration file redirection.config](https://stackoverflow.com/questions/15897726/iisexpress-8-cannot-read-configuration-file-redirection-config) – Heretic Monkey Mar 09 '18 at 15:44

1 Answers1

5

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

Mevlüt Soner
  • 161
  • 3
  • 4
  • 14