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

Posted on 2007-10-18
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
    LVL 26

    Accepted Solution

    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 ..

    LVL 1

    Author Comment

    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?

    LVL 1

    Author Comment

    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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
    Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
    This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in… provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now