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

前端 未结 14 1372
梦如初夏
梦如初夏 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:44

    Had the same issue today.

    Change that caused the issue

    Moving functionality from a separate controller to home controller. I literally moved a view and the functionality behind it from Controller'X' to HomeController

    Nature of the issue

    1. Everything works fine when run via IIS express/ Visual Studio
    2. Every thing works fine when deployed locally to IIS.
    3. Hell breaks loose when deployed to the Deployment machine.
    4. Works fine if I deploy to a 'new Site' in Deployment machine's IIS.

    Fix

    1. delete the Site/application pool instance from IIS.
    2. Recreate them.
    3. Deploy.

提交回复
热议问题