IIS Express - 500.19 Cannot read configuration file - because it's looking at the wrong path

前端 未结 14 1149
梦如初夏
梦如初夏 2021-02-01 00:42

I recently renamed my root TFS folder from D:\\TFS\\systemstfs to D:\\TFS\\sys because one of the project\'s paths was too long for Windows. Now, when

14条回答
  •  独厮守ぢ
    2021-02-01 00:54

    Here is another possible solution that doesn't involve fishing for the applicationhost.config file:

    • Right click Web Project > Web > Project Url > (e.g. 'localhost:5459') and then increment the port number which will force a new entry in that file.

    In my case I also needed to change authentication mode which can be done via:

    • Select Web Project > press F4 > set Windows Authentication as needed (enabled in my case).

提交回复
热议问题