Unable to start debugging on the web server.  Unable to connect o the web server.

Posted on 2007-10-18
Medium Priority
Last Modified: 2013-11-26
I have a new XP box that I am trying to debug my ASP.NET applications on through Visual Studio 2005.  I have been able to debug Classic ASP apps (with the requisite steps taken in IIS) but when I try to debug my ASP.NET applications I get...
"Unable to start debugging on the web server.  Unable to connect o the web server.  Verify that the web server is running and that HTTP requests are not blocked by a firewall."

I have Windows FireWall turned on AND I have tried to add HTTP to the exceptions as well as Visual Studio IDE.  I have even turned the firewall complete off and tried and still get the message above.

I have my "application" in IIS set to use Integrated Windows authentification.  
I have done iisreset at the command prompt.

Do I have a port conflict?
Question by:Bruce
  • 2
LVL 26

Accepted Solution

Rejojohny earned 1500 total points
ID: 20103420
are you debugging on the server? are you running the application in VS 2005? if yes, VS creates a temp web server and works with that .. am nor sure why you should have a problem with that?

try switching of the firewall ..


Author Comment

ID: 20103706
Running on XP Pro SP2, hitting localhost.
Running in VS 2005 from Debug menu, Start Debugging

I have tried turning off the firewall completely, same message.

I can start the app via "Start without Debugging" but when I get a couple clicks into the app I get this message....

"Failed to access IIS metabase. "  <--researching this now.

Any ideas on that second message?


Author Comment

ID: 20104009
Got it.

****  I reinstalled the .NET 2.0 Framework and I'm running.  ****

Not sure why.  This machine was configured by our tech.  The .NET 3.0 Framework was installed also.  Not sure if that had anything to do with it.

I've seen posts where order of installation matters.


Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Suggested Courses
Course of the Month17 days, 2 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question