VS2012 ASP.Net error message unable to connect to the configured development web server

前端 未结 3 853
不知归路
不知归路 2021-01-14 17:25

I bought a new Windows 8 PC last week.

First I installed VS 2010 on it but then that wasn\'t working properly so I uninstalled VS 2010 and then installed VS 2012 pro

3条回答
  •  既然无缘
    2021-01-14 17:46

    I've run into the same general error message that you stated, but the details of my error included the following:

    Unable to connect to the configured development Web server.

    Failed to register URL “http://10.10.7.209:53553/“ for site “FooBarSite” application “/“. Error description: The format of the specified network name is invalid. (0x800704be)

    The fix for me was to make changes to the applicationhost.config file located in C:\Users\Jed\Documents\IISExpress\config

    Specifically, I had to update the bindingInformation for the site so that the IP Address matched the IP Address of my development computer.

    Instructions

    1. Run ipconfig to determine the IP Address of your computer
    2. Open C:\Users\Jed\Documents\IISExpress\config\applicationhost.config (in Notepad)
    3. Scroll down to , then find the that has the name of your project (in this example it was FooBarSite
    4. Update the bindingInformation so the IP Address matches the IP Address that was determined in ipconfig

    Example

    
     
      
     
    
    

提交回复
热议问题