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

前端 未结 9 508
余生分开走
余生分开走 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:47

    Look into applicationhost.config file under

    YOUR_DOCUMENTS_PATH\IISExpress\config\

    Localize defaultDocument setting and add your static html page full name (yourpage.html) or use one of the options available if you want to stick to the standards:

       
            
                
                
                
                
                
                
            
        
    

提交回复
热议问题