Unable to connect to ASP.Net Development Server issue

前端 未结 20 1136
借酒劲吻你
借酒劲吻你 2020-11-27 07:02

I am debugging codeplex simple project. I am using

  • VSTS 2008
  • C#
  • Windows Vista x86 Enterprise.

I have not modified any code

相关标签:
20条回答
  • 2020-11-27 07:44

    hi Just change the asp.netweb development server port from automatic to a specific port e.g 8010 That's what worked for me

    0 讨论(0)
  • 2020-11-27 07:50

    That is very odd! I hate to suggest something as simple as restarting Visual Studio...but that is what sounds like the best first place to start. Also, check your project settings. As you said that you just downloaded this and tried to run it...perhaps the solution/project is not set up to use the Casini server that is shipped with Visual Studio?

    0 讨论(0)
  • 2020-11-27 07:50

    --Problem Definition

    ------ whenever we debug our project (either by pressing ctrl+f5 or only f5) the first .exe which is called by VS is called WebDev.WebServer.EXE which got corrupted may be n number of reasons

    --Solution

    ------ We need to replace this file

    ------Step 1 ---

        go location C:\Program Files\Common Files\Microsoft Shared\DevServer\9.0
    
        You will find this file
    

    -------Step 2 ---

        download WebDev.WebServer.rar file from
    
        http://www.2shared.com/file/11532086/a7f9858a/WebDevWebServer.html
    

    -------Step 3 ---

        NOTE :  You will need password for extraction this downloaded .rar file
    
        Password : optimusprime
    

    ------ Step 4 ---

        Copy the downloaded WebDev.WebServer.EXE  file and replace in this below path
    

    "C:\Program Files\Common Files\Microsoft Shared\DevServer\9.0 "

    --------step 5------

    run the program

    0 讨论(0)
  • 2020-11-27 07:50

    Go to Run >> type >> cmd >> type taskkill /IM webdev.webserver20.exe and then try to re run the program

    0 讨论(0)
  • 2020-11-27 07:50

    In my case I was using Windows 8 and Windows Firewall was blocking WebDev.WebServer.EXE

    So I went to the settings of Windows Firewall > Allow an app through Windows Firewall > Add new and browse to C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\11.0 Then select WebDev.WebServer to allow.

    0 讨论(0)
  • 2020-11-27 07:52

    It cause the already that project port server is running in the current thread. You need to end process using task manager.

    Follow below step:

    1. Pres Ctrl+Alt+Delete (Task Manager)

    2. find the asp.net server like WebDev.WebServer40.exe for VS2010 and press end process.

    3. Now u continue with vs2010 run button

    0 讨论(0)
提交回复
热议问题