Why is IIS Express returning HTTP 500 errors loading javascript and CSS?

后端 未结 3 1545
春和景丽
春和景丽 2021-01-21 02:00

I am trying to develop an ASP.NET MVC5 solution using IIS Express for local debugging. Frequently, Chrome will report HTTP500 errors trying to load certain JS and CSS files (so

3条回答
  •  后悔当初
    2021-01-21 02:28

    What helped worked is as follows. I am using Visual Studio 2015.

    1. Close the visual studio solution. In fact I closed the visual studio itself
    2. In the solution folder(the folder which contains the .sln file along with the project folders), you should find a .vs folder. I had deleted that folder.
    3. Restarted the visual studio and loaded the solution.

    Things are working fine now.

    The reason I guess is, the config folder inside of .vs folder has the applicationhost.config file. That is having some setting issues.

提交回复
热议问题