I get the above error when I try to run my project. Any ideas what the configuration of the computer needs to be in order to run VS2005's local web server?
![]() |
0 |
![]() |
Ok, the problem is that I apparently don't have the executable on my machine. Does anyone know how I can reinstall this executable? I've tried to repair my .NET studio installation, but no luck.
![]() |
0 |
![]() |
I accidentally hit my firewall program to block the web server application. When I figured out that it had to be that - after hours - I permitted the application and worked fine. Maybe try todisable the firewall and try to run it.
2 wrongs don't make a right - but three lefts do
![]() |
0 |
![]() |
hi,Echo88,
the same problem happened to me, and i solved it using the same method.
appreciate your help.
struggling for ever
![]() |
0 |
![]() |
WebDev.WebServer.exe file is probably corrupted. Copy this file from another machine running vs2005 and replace the corrupt copy on your machine. Otherwise reinstall. WebDev.WebServer.exe can be found in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
xHydra Networks
![]() |
0 |
![]() |
************************************************** Unable to connect to Visual Studio's Localhost Web Server ************************************************** Here is the solution below. Check it. ************************************************** The Visual Studio's localhost Web Server (or) Default Web Server is the file "WebDev.WebServer.exe". You can find it in the folder "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727" for Windows xp/2000/2003 (OR) in "C:\WINNT\Microsoft.NET\Framework\v2.0.50727" for Windows NT Servers.
Check out whether this file exists in your framework folder to verify whether it was accidentally deleted. If it is not there, try to get a copy of this file from any another system which contains vs2005 installed and paste it the frameworks folder of your system.
Keep a backup of this file "WebDev.WebServer.exe".
Note: "WebDev.WebServer.exe" does not come with dotnet framework but with Visual Web Developer which is part of Visual Studio. Since it is in the framework's folder, dont' think that it came with dotnet framework file "dotnetfx20.exe".
If not solved.
Try to end any previous instances of WebDev.WebServer.exe still running using Task Manager.
(or)
Host your web application manually using WebDev.WebServer.exe. Type WebDev.WebServer.exe/? in Command Prompt (before doing this you to change the directory to framework folder or add the framework folder to PATH in console.
The syntax is : WebDev.WebServer.EXE /path:$rpath /port:$port /vpath:$vpath
Where path is for physical path location of your application's root directory, port is the port number your application uses, you can assign any free or unused port number and vpath is the virtual directory name for your application's root directory
Example: WebDev.WebServer.exe /path:f:\myprojects\webapps\website1 /port:1036 /vpath:website1 (physical path and virtual path need not be same as in this case 'website1')
Now you will see the icon in the tray which you usually see when you run a webapplication from visual studio ide.
and now you can accesss your application from any browser by simply typing for the above example as
http://localhost:1036/website1
Note: Here instead of localhost you can use your computer fullname.
(or)
Try this: In the frame work folder 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727' Run the following files..
'aspnet_regiis -i' : to register asp.net with Internet Information Server (IIS) and
'iisreset' : to restart IIS
If the problem still exists try to call me om my mobile.
Regards,
Sriram Naresh
cybernaresh@yahoo.com
cybernaresh@hotmail.com
+91-9989697948
![]() |
0 |
![]() |
The Visual Studio's localhost Web Server (or) Default Web Server is the file "WebDev.WebServer.exe". You can find it in the folder "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727" for Windows xp/2000/2003 (OR) in "C:\WINNT\Microsoft.NET\Framework\v2.0.50727" for Windows NT Servers.
Check out whether this file exists in your framework folder to verify whether it was accidentally deleted. If it is not there, try to get a copy of this file from any another system which contains vs2005 installed and paste it the frameworks folder of your system.
Keep a backup of this file "WebDev.WebServer.exe".
Note: "WebDev.WebServer.exe" does not come with dotnet framework but with Visual Web Developer which is part of Visual Studio. Since it is in the framework's folder, dont' think that it came with dotnet framework file "dotnetfx20.exe".
If not solved.
Try to end any previous instances of WebDev.WebServer.exe still running using Task Manager.
(or)
Host your web application manually using WebDev.WebServer.exe. Type WebDev.WebServer.exe/? in Command Prompt (before doing this you to change the directory to framework folder or add the framework folder to PATH in console.
The syntax is : WebDev.WebServer.EXE /path:$rpath /port:$port /vpath:$vpath
Where path is for physical path location of your application's root directory, port is the port number your application uses, you can assign any free or unused port number and vpath is the virtual directory name for your application's root directory
Example: WebDev.WebServer.exe /path:f:\myprojects\webapps\website1 /port:1036 /vpath:website1 (physical path and virtual path need not be same as in this case 'website1')
Now you will see the icon in the tray which you usually see when you run a webapplication from visual studio ide.
and now you can accesss your application from any browser by simply typing for the above example as
http://localhost:1036/website1
Note: Here instead of localhost you can use your computer fullname.
(or)
Try this: In the frame work folder 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727' Run the following files..
'aspnet_regiis -i' : to register asp.net with Internet Information Server (IIS) and
'iisreset' : to restart IIS
Regards,
Sriram Naresh
cybernaresh@yahoo.com
cybernaresh@hotmail.com
+91-9989697948
![]() |
0 |
![]() |
The Visual Studio's localhost Web Server (or) Default Web Server is the file "WebDev.WebServer.exe". You can find it in the folder "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727" for Windows xp/2000/2003 (OR) in "C:\WINNT\Microsoft.NET\Framework\v2.0.50727" for Windows NT Servers.
Check out whether this file exists in your framework folder to verify whether it was accidentally deleted. If it is not there, try to get a copy of this file from any another system which contains vs2005 installed and paste it the frameworks folder of your system.
Keep a backup of this file "WebDev.WebServer.exe".
Note: "WebDev.WebServer.exe" does not come with dotnet framework but with Visual Web Developer which is part of Visual Studio. Since it is in the framework's folder, dont' think that it came with dotnet framework file "dotnetfx20.exe".
If not solved.
Try to end any previous instances of WebDev.WebServer.exe still running using Task Manager.
(or)
Host your web application manually using WebDev.WebServer.exe. Type WebDev.WebServer.exe/? in Command Prompt (before doing this you to change the directory to framework folder or add the framework folder to PATH in console.
The syntax is : WebDev.WebServer.EXE /path:$rpath /port:$port /vpath:$vpath
Where path is for physical path location of your application's root directory, port is the port number your application uses, you can assign any free or unused port number and vpath is the virtual directory name for your application's root directory
Example: WebDev.WebServer.exe /path:f:\myprojects\webapps\website1 /port:1036 /vpath:website1 (physical path and virtual path need not be same as in this case 'website1')
Now you will see the icon in the tray which you usually see when you run a webapplication from visual studio ide.
and now you can accesss your application from any browser by simply typing for the above example as
http://localhost:1036/website1
Note: Here instead of localhost you can use your computer fullname.
(or)
Try this: In the frame work folder 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727' Run the following files..
'aspnet_regiis -i' : to register asp.net with Internet Information Server (IIS) and
'iisreset' : to restart IIS
If the problem still exists try to call me om my mobile.
Regards,
Sriram Naresh
cybernaresh@yahoo.com
cybernaresh@hotmail.com
+91-9989697948
![]() |
0 |
![]() |
Dude I gave a short and concise answer and you had to repeat it three times ??
anyway thanks for the greater detail
xHydra Networks
![]() |
0 |
![]() |
The basic requirment for VS2005 is minimum of 256mb Ram and above 2 GB Hard disk space, The CPU speed above 1.7 Ghz
Shane
![]() |
0 |
![]() |
sorry guys, maybe an old story, but i just had the same problem and loked around.
I am running Visual studio 2008 professional and tried Microsoft Visual Web Developer 2008 Express Edition - just for fun and evaluation - then suddently my VS2008 stopped connecting to localhost developer web server when testing my projects. After a vhile i was lucky to solve it in 5 minutes - maybe som one could use my experience.
- when testing a webapplication i tried to substitute localhost with 127.0.0.1 - then things worked again
- 'ping localhost' showed me that localhost did not longer point to loopback adress 127.0.0.1 - don't know why
- edited the file 'hosts' in \%systemrpoot%\system32\drivers\etc\ (i don't have my own DNS server so i do static hostmappings)
- corrected the corrupt localhost entry to: 127.0.0.1 localhostthats all - works fine again, no need for reinstalling and so on
hope u can use it - /Kim Steffensen
![]() |
0 |
![]() |
THNX! It helped.
![]() |
0 |
![]() |
@page { margin: 0.79in } P { margin-bottom: 0.08in } -->
Commented out the line
::1 LocalHost
with a # in the hosts file and it now works.
or
remove the next line in the windows host file C:\Windows\System32\drivers\etc\hosts
::1 localhost
This is an IpV6 entry. Put a # in front of it. "
Instead of commenting this IpV6 entry adding the following IpV4 entry above this line also helps:
127.0.0.1 localhost
You cannot teach a man anything; you can only help him to find it within himself.
![]() |
0 |
![]() |