IISExpress 8 Cannot read configuration file redirection.config

iis-express

Solution

I had a similar issue to @Myles J but renaming `%userprofile%\Documents\IISExpress\config\applicationhost.config` didn't work. What I had to do was the following:

- 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.

Problem

I'm running Windows Server 2008 R2 (x64) with IISExpress8 and when navigating to ``` c:\Program Files (x86)\IIS Express>iisexpress.exe ``` it says: Filename: redirection.config Error: Cannot read configuration file Any ideas where to start? I can't find anything...

Original source