Fix the issue and restart your Application Pool. Mismatched versions of ASP. You may need to set the framework version in web. To install ASP. Also, see IIS 8. If your web site is configured in IIS to require authentication, this authentication fails. To correct this problem, you can specify the name of the remote computer instead of the IP address. If multiple instances of Visual Studio are running, reopen your project in one instance of Visual Studio with Administrator privileges , and try again.
If you can't get your app to work with the debugger, try creating a basic ASP. NET application locally on the server, and try to debug the basic app.
You might want to use the default ASP. If you can debug a basic app, that may help you identify what's different between the two configurations. Look for differences in settings in the web.
Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Is this page helpful? You may need to set the framework version in web. To install ASP. Also, see IIS 8. NET 3. NET 4. If the maxConnection limit in IIS is too low, and you have too many connections, you may need to increase the connection limit. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. How are we doing? Please help us improve Stack Overflow.
Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Visual Studio "Unable to start debugging on the web server. Asked 13 years, 5 months ago.
Active 2 months ago. Viewed 71k times. I get the following error pretty regularly when compiling in Visual Studio and running my web application: "Unable to start debugging on the web server. How do I prevent this from happening in the first place? Improve this question. Reg Edit 5, 1 1 gold badge 31 31 silver badges 41 41 bronze badges. You might have some not-so-well-behaved plugin installed in your VS environment.
Check this comment here. Add a comment. Active Oldest Votes. It will debug your solution. It worked for Visual Studio and too in my case. Improve this answer. Maxime 7, 4 4 gold badges 48 48 silver badges 50 50 bronze badges. Alberto Montellano Alberto Montellano 5, 6 6 gold badges 31 31 silver badges 50 50 bronze badges. Guy Guy Thanks for the answer - I was in the situation where Firefox was closed, chrome was closed, VS was restarted, then my computer was restarted and still having this error.
In the end an IIS restart fixed it. After trying all of the proposed solutions here and in other places at least 10 different approaches , the only option that worked for me was: delete website and application pool on IIS re-create website and application pool on IIS in my case, everything exactly the same config as before PS: I am using VS and IIS 7.
I hope this saves someone else a few hours. Caio Campos Caio Campos 5 5 silver badges 9 9 bronze badges. I think this actually fixed it! I have been having this problem for a while now happening more and more often. This morning was happening each time I tried to debug even after a reboot.
I deleted the app pool and the site and all seems to be working now after re-adding. Thank you! Rizwan 4 4 silver badges 24 24 bronze badges. This is the only fix which worked for me. Except I ended WebDev. EXE instead. I have had this problem a couple times.
One time it was resolved by taking Guy's advice: If this is what's happening with you then a quicker solution than running iisreset is to hit Shift-F5 when in Visual Studio and this will terminate the current debug session. It sounds like you are probably hitting F5 in Visual Studio when you receive this error?
We use another way of debugging, we never use F5 anymore. The link is broken - anyone else got a sample macro? Edward Edward 21 1 1 bronze badge. I am using chrome. Mandeep Janjua Mandeep Janjua Murugan Murugan 1 1 silver badge 1 1 bronze badge. Graham Laight Graham Laight 4, 3 3 gold badges 28 28 silver badges 26 26 bronze badges.
0コメント