Skip to content

Instantly share code, notes, and snippets.

@ststeiger
Created November 30, 2014 13:23
Show Gist options
  • Save ststeiger/1205bd2ce3d5fb205147 to your computer and use it in GitHub Desktop.
Save ststeiger/1205bd2ce3d5fb205147 to your computer and use it in GitHub Desktop.
Error 500.19 after moving ASP.NET project
%userprofile%\Documents\IISExpress\config\applicationhost.config
C:\Users\{Username}\Documents\IISExpress\config\applicationhost.config
Change path in <virtualDirectory path="/" physicalPath="
Have you try to give full permission to your folder? Read and write?
Filename: redirection.config Error: Cannot read configuration file
Close Visual Studio.
Rename the %userprofile%\Documents\IISExpress\config directory.
Start Visual Studio again.
The %userprofile%\Documents\IISExpress\config directory will be recreated with the default config files.
Copy the original applicationhost.config file over the autogenerated one.
Before anyone asks: the permissions on the folders were identical,
the read-only flag was not set on the folder or its files,
and I didn't modify applicationhost.config in any way.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment