IISExpress 8 Cannot read configuration file redirection.config

后端 未结 24 3117
日久生厌
日久生厌 2020-11-29 02:46

I\'m running Windows Server 2008 R2 (x64) with IISExpress8 and when navigating to

c:\\Program Files (x86)\\IIS Express>iisexpress.exe

i

24条回答
  •  误落风尘
    2020-11-29 03:23

    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:

    1. Close Visual Studio.
    2. Rename the %userprofile%\Documents\IISExpress\config directory.
    3. Start Visual Studio again. The %userprofile%\Documents\IISExpress\config directory will be recreated with the default config files.
    4. 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.

提交回复
热议问题