Visual Studio IIS Express hangs on launch, but IIS local works, why?

前端 未结 9 462
余生分开走
余生分开走 2020-12-25 11:12

I run Visual studio 2015 as administrator, start a new project, ASP.NET application, Empty 4.5.2 and then just add a simple html page. When I try to launch using IIS Expres

9条回答
  •  一生所求
    2020-12-25 11:30

    Solution:
    1. Run VS as Administrator. Open your sln, Start debugging, stop and close the VS.
    2. Again open the sln (without admin) file and start debugging.
    It worked!

    Problem:
    - My VS2017 was running fine with debugging, until some other tool's installation corrupted it. Then I reinstalled it. When I started debugging/running site, it wasn't even opening first page of site. It was keep loading assemblies forever. I tried many things found on google. It didn't help.
    - Finally I tried opening it with Admin and then regular. It solved my problem.

提交回复
热议问题