Creation of the virtual directory http://localhost:89328/ failed. Cannot write configuration file (\.vs\config\applicationhost.config)

  • Thread starter Thread starter Mirek Vanický
  • Start date Start date
M

Mirek Vanický

Guest
Hi,

I am unable to create new/open existing website on my computer. The error I get is:


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

Filename: \\?\C:\Projects\%any-path%\.vs\config\applicationhost.config

Error: Cannot write configuration file.

You will need to manually create this virtual directory in IIS before you can open this project.


The web should use IIS Express.

I have searched few forum threads on this error but nothing worked for me. After this error is thrown, applicationhost.config is normally created. There should be no problem with security, rights,...

When I copy whole project folder from my co-worker (he has same directory structure for development) ... same error.


Is anyone able to help?

Thank You very much for any ideas.

Continue reading...
 
Back
Top