VS2010 error: Unable to start debugging on the web server

前端 未结 27 3578
萌比男神i
萌比男神i 2020-12-13 07:42

I get error message \"Unable to start debugging on the web server\" in Visual Studio 2010. I clicked the Help button and followed the related suggestions without success.

27条回答
  •  情深已故
    2020-12-13 08:20

    Having tried all of the solutions above, I was still having this issue. Other projects were debugging without issue, so I knew it had to be something to do with this particular application's configuration.

    Mine is an MVC app running under IIS 8. The issue was with URL Rewriting.

    I had a rule to enforce trailing slashes. All I had to do was disable it (which can be done in IIS directly, or via the web.config below - just set enabled="false")

     
            
                
                    
                    
                        
                        
                    
                    
                
            
        
    

提交回复
热议问题