Error when opening Built-in Web Admin tool in V. Studio 2005

Last post 11-07-2007 2:03 PM by hillery. 20 replies.

Sort Posts:

  • Error when opening Built-in Web Admin tool in V. Studio 2005

    12-11-2005, 10:56 PM
    • Member
      35 point Member
    • blurnoob
    • Member since 11-30-2005, 8:28 AM
    • Posts 7
    under menu bar, whenever i clicked Web Site > ASP.NET Configuration, i will have these errors:

    ------------
    ASP>NET Development Server failed to start listening on port 2536
    Error message:
    An invalid argument was supplied

    ------------

    next about few seconds later, another error pop-up

    ------------
    Unable to connect to Visual Studio's Localhost Web Server
    ------------

    note: the port number is random, normally is in the range of 2xxx
    what's the reason i get these error and how can i solve this problem?

    by the way, i've just installed V.Studio 2005 in winXP pro sp2 with no prev v.studio installed. For better picture, you may also like to see my another unsolved problem; 'current identity does not have Write access to Temporary ASP.NET Files' which i posted at http://forums.asp.net/1127559/ShowPost.aspx

    your help is seriously needed and much appreciated. Thanks!
  • Re: Error when opening Built-in Web Admin tool in V. Studio 2005

    12-13-2005, 5:13 PM
    • Contributor
      4,570 point Contributor
    • danmor
    • Member since 11-04-2002, 9:48 PM
    • Bellevue, WA
    • Posts 910
    • AspNetTeam

    By default the port is a random system port, so that behavior is expected.

    The error about being unable to connect to Visual Studio's Localhost Web Server can be solved 90% of the time by opening the web site properties and turning off NTLM Authentication for the site.  If you are using IE and you rely on a proxy server, make sure that in IE Internet Options you check the option for 'bypass proxy for local addresses' in the LAN Settings page.

    -Dan
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Error when opening Built-in Web Admin tool in V. Studio 2005

    01-08-2006, 8:28 AM
    • Member
      210 point Member
    • brianwolters
    • Member since 01-05-2005, 1:56 PM
    • Cabot, Arkansas
    • Posts 42

    I am not on a proxy server, so the IE solution doesn't work for me.

    And NTLM is NOT checked. Other suggestions?

     

  • Re: Error when opening Built-in Web Admin tool in V. Studio 2005

    01-09-2006, 4:06 AM
    • Member
      15 point Member
    • wentao
    • Member since 07-04-2005, 7:49 AM
    • Posts 3

    encounter the same problem....

    everyone can help?

     

  • Re: Error when opening Built-in Web Admin tool in V. Studio 2005

    01-09-2006, 10:01 AM
    • Member
      20 point Member
    • Daddydug
    • Member since 12-28-2005, 3:38 PM
    • Posts 4
    You are not alone. I've run into the same problem and went so far as to turn off Windows firewall, and my other virus protection. Still does not work. I have the same setup XP SP2. Howevr I have no problem on my home version of XP, nor on WIN2K.
  • Re: Error when opening Built-in Web Admin tool in V. Studio 2005

    01-09-2006, 10:19 AM
    • Member
      210 point Member
    • brianwolters
    • Member since 01-05-2005, 1:56 PM
    • Cabot, Arkansas
    • Posts 42

    Well, let's hope we will find a fix for it. It works good at work on my PC but I would like to do some work at home...

     

  • Re: Error when opening Built-in Web Admin tool in V. Studio 2005

    01-12-2006, 3:46 AM
    • Member
      15 point Member
    • wentao
    • Member since 07-04-2005, 7:49 AM
    • Posts 3

    hello, guys

    I found someone report this "bug ?" to MSDN feedback center, the address is:

    http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=55e1d51c-ca5b-4343-8317-891ab94632cd

    you may go and check the status (under review now).

    hope the fix will be out soon...

     

  • Re: Error when opening Built-in Web Admin tool in V. Studio 2005

    01-13-2006, 3:19 PM
    • Contributor
      4,570 point Contributor
    • danmor
    • Member since 11-04-2002, 9:48 PM
    • Bellevue, WA
    • Posts 910
    • AspNetTeam

    I game several troubleshooting steps for this error in the following post

    http://forums.asp.net/1058543/ShowPost.aspx

    Keep in mind that the thread is more than one page.  The final solution in that thread was NTLM Auth, but there are other possibilities for that error.  Here are some things to check.  See the thread for more details.

  • Does the file webdev.webserver.exe exist in C:\Windows\Microsoft.NET\Framework\v2.0.xxxxx?
  • Is IE your default browser?  Make sure in Internet Explorer, Tools | Internet Options, Connections tab, LAN Settings, that you have 'bypass proxy server for local addresses' checked if you are using a proxy server.
  • If Windows Firewall is running check Windows Firewall settings. Turn ON the option on the Exceptions tab to "receive notifications when Firewall is running".  It's possible Firewall is blocking webdev.webserver.exe
  • What happens when you press Ctrl+F5 instead of F5 to run the site?  Ctrl+F5 is 'Run Without Debugging'
  • What do you see in your browser when you type the address http://localhost:80 
  • -Dan
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Error when opening Built-in Web Admin tool in V. Studio 2005

    01-14-2006, 1:30 AM
    • Member
      15 point Member
    • wentao
    • Member since 07-04-2005, 7:49 AM
    • Posts 3

    thanks a lot for your response

    1, Does the file webdev.webserver.exe exist in C:\Windows\Microsoft.NET\Framework\v2.0.xxxxx?    yes

    2,Is IE your default browser?  Make sure in Internet Explorer, Tools | Internet Options, Connections tab, LAN Settings, that you have 'bypass proxy server for local addresses' checked if you are using a proxy server.    IE is the only browser used. I am not using a proxy server, but join in a domain.

    3,If Windows Firewall is running check Windows Firewall settings. Turn ON the option on the Exceptions tab to "receive notifications when Firewall is running".  It's possible Firewall is blocking webdev.webserver.exe    I just turned off Windows Firewall

    4, What happens when you press Ctrl+F5 instead of F5 to run the site?  Ctrl+F5 is 'Run Without Debugging'    Same error message come out,  "ASP>NET Development Server failed to start listening on port 2536
    Error message:
    An invalid argument was supplied"
    , and a few second later, another error message, "Error Unable to connect to Visual Stutio's localhost web server"

    5,What do you see in your browser when you type the address http://localhost:80     IIS installed in my machine, localhost works fine, welcome message shows.

    When i use Windows command shell, try to launch webdev.webserver.exe manually:

    WebDev.WebServer.EXE /port:80 /path:"C:\Inetpub\wwwroot" /

    error message: "ASP>NET Development Server failed to start listening on port 2536
    Error message:
    An invalid argument was supplied"
      come out. it seems that asp.net development server does not start on my machine........

    more details about system on my machine: IE version 6.0.2900.2180; Windows XP Pro with SP2, IIS Version 5.1, I have both Framework 1.1 (v1.0.3705 & V1.1.4322.0) and Framework 2 (v2.0.50727)

    any help is much appreciated.

  • Re: Error when opening Built-in Web Admin tool in V. Studio 2005

    01-16-2006, 1:14 AM
    • Contributor
      4,570 point Contributor
    • danmor
    • Member since 11-04-2002, 9:48 PM
    • Bellevue, WA
    • Posts 910
    • AspNetTeam

    wentao, Do you see these error messages (Unable to connect to VS localhost web server...) even with a new file system web site?  And you made sure there is NO check in the checkbox for NTLM Authentication in web site properties?

    When you tried to launch it manually you said you used the arguments:

    WebDev.WebServer.EXE /port:80 /path:"C:\Inetpub\wwwroot" /

    which are missing the vpath argument.  You also tried to start the web server listening on port 80 which is already in use by IIS.  Try using VWD to create a new web site at the location C:\mySites\TestSite, make sure NTLM Auth is unchecked, and try a Ctrl+F5.  If it doesn't launch then try to launch manually with a port other than 80, such as 5020. The command line would look like

    WebDev.WebServer.EXE /port:5020 /path:"c:\mySites\TestSite" /vpath:/TestSite

    -Dan
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Error when opening Built-in Web Admin tool in V. Studio 2005

    01-16-2006, 2:57 PM
    • Member
      20 point Member
    • Daddydug
    • Member since 12-28-2005, 3:38 PM
    • Posts 4
    I found a solution to at least my situation. Our standard company XP build includes "Black Ice" from Proventia.  The buffer overflow intrusion protection was causing errors.  Verify that you do not have this or similar software running.
  • Re: Error when opening Built-in Web Admin tool in V. Studio 2005

    01-20-2006, 6:47 AM
    • Member
      68 point Member
    • norisk
    • Member since 01-11-2006, 11:22 AM
    • Posts 27

    I have this same problem, but not the same solution...

    I am running XP64. I have webdev.webserver.exe in the 32 bit framework but not in the 64 bit version. Might this be a problem with the distribution files for xp64? Or did I miss a file. I have tried reinstalling/repairing the install a couple of times now.

    Thanks,

    Bill Ross

    ---
    Bill Ross
    http://woundedego.com
  • Re: Error when opening Built-in Web Admin tool in V. Studio 2005

    01-20-2006, 4:19 PM
    • Contributor
      4,570 point Contributor
    • danmor
    • Member since 11-04-2002, 9:48 PM
    • Bellevue, WA
    • Posts 910
    • AspNetTeam

    Good question, norisk.  While there are two Framework versions installed on a 64-bit machine (32-bit and 64-bit native), there is only one ASP.NET Development Server: the 32-bit version.  Visual Studio 2005 itself is 32-bit (devenv.exe).  So no, you are not missing a file.

    ASP.NET Development server was tested throroughly on 64-bit machines and should work.  I'm on a 64-bit machine right now. I installed a new copy of Windows 2003 x64, and VS 2005 Pro yesterday and I can launch a file system web just fine.  The troubleshooting steps on a 64-bit machine are the same.  First, try run (not debug) a new web site with one page.  If that doesn't work, try running webdev.webserver.exe manually.  After that, follow all the troubleshooting steps above.

    -Dan
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Error when opening Built-in Web Admin tool in V. Studio 2005

    01-21-2006, 2:44 PM
    • Member
      68 point Member
    • norisk
    • Member since 01-11-2006, 11:22 AM
    • Posts 27

    Thanks for the clarification.

    To clarify my problem...it is not that I cannot develop or run websites, which I can do. What is a problem is choosing "Website" and then "ASP.NET Configuration." It is then I get the "unable to connect' message.

    Ok, I made 2 test websites of one page each - 1 using file system, the other using localhost. I was able to run from the command line and from the IDE but was not able to run ASP.NET configuration.

    Bill Ross

     

    ---
    Bill Ross
    http://woundedego.com
  • Re: Error when opening Built-in Web Admin tool in V. Studio 2005

    01-23-2006, 9:08 PM
    • Member
      15 point Member
    • jmenter
    • Member since 12-08-2005, 5:43 AM
    • Posts 3

    I too am having the same problem.  The same project works fine and allows the 'ASP.NET Configuration' option on a normal XP machine, but fails on a x64 machine.

    I used sysinternals filemon program to watch what devenv was doing when the option was chosen and I wrote a 'interceptor' that intercepted the call to execute the WebDev.Webserver.exe file and report the parameters.

    Basically on a x32 system, devenv executes WebDev.WebServer.exe twice, the first instance starts up the website as if you were debugging it:

    1st)  WebDev.WebServer.EXE /port:3119 /path:D:\WebProj\Websites\WebProj /vpath:/WebProj

    Then the second instance starts up the asp.net configuration website

    2nd) WebDev.WebServer.EXE /port:1310 /path:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\asp.netwebadminfiles /vpath:/asp.netwebadminfiles

    Now, on a x64 system, the 1st call to webdev.webserver.exe is executed correctly, but then the second call to start the configuration web site never occurs.  Instead the 32 bit version of aspnet_isapi.dll is loaded and right after that the "XP critical Stop" sound is played...

    Definately some kind of problem with running VS 2005 under x64...

Page 1 of 2 (21 items) 1 2 Next >