Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 9th, 2008, 11:40 PM
Authorized User
 
Join Date: Jun 2006
Location: , , .
Posts: 47
Thanks: 0
Thanked 2 Times in 2 Posts
Default unable to connect to asp.net development server

hello frnds,
I am facing a problem in my local pc.
I am working on .net 2008 but it is not debugging the website and wenever i run the project it gives error like "unable to connect to asp.net development server"

I tried by reinstalling it again. Problem is getting solved for 2 days but again same problem
I have tried almost all the solutions pl help.
Without debugging i cant work.

Komila Kalia
Software Developer
Reliance engineering Associates (P) Ltd.
__________________
Komila Kalia
Software Developer
Reliance engineering Associates (P) Ltd.
The Following User Says Thank You to Komila For This Useful Post:
  #2 (permalink)  
Old October 13th, 2008, 11:28 PM
Registered User
 
Join Date: Oct 2008
Location: blr, ka, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

did u able to figure out the issue behind this?


Quote:
quote:Originally posted by Komila
 hello frnds,
I am facing a problem in my local pc.
I am working on .net 2008 but it is not debugging the website and wenever i run the project it gives error like "unable to connect to asp.net development server"

I tried by reinstalling it again. Problem is getting solved for 2 days but again same problem
I have tried almost all the solutions pl help.
Without debugging i cant work.

Komila Kalia
Software Developer
Reliance engineering Associates (P) Ltd.
  #3 (permalink)  
Old October 25th, 2008, 03:01 AM
Registered User
 
Join Date: Oct 2008
Location: Karachi, , Pakistan.
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to shekhani
Default

Step 1: Select the “Tools->External Tools” menu option in VS or Visual Web Developer. This will allow you to configure and add new menu items to your Tools menu.


Step 2: Click the “Add” button to add a new external tool menu item. Name it “WebServer on Port 8010” (or anything else you want).


Step 3: For the “Command” textbox setting enter this value: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebD ev.WebServer.EXE (note: this points to the web-server that VS usually automatically runs).


Step 4: For the “Arguments” textbox setting enter this value: /port:8010 /path:$(ProjectDir) (or any port you like)


Step 5: Select the “Use Output Window” checkbox (this will prevent the command-shell window from popping up.



Once you hit apply and ok you will now have a new menu item in your “Tools” menu called “WebServer on Port 8010”. You can now select any web project in your solution and then choose this menu option to launch a web-server that has a root site on port 8010 (or whatever other port you want) for the project.


You can then connect to this site in a browser by simply saying http://localhost:8010/. All root based references will work fine.




Step 6: The last step is to configure your web project to automatically reference this web-server when you run or debug a site instead of launching the built-in web-server itself. To-do this, select your web-project in the solution explorer, right click and select “property pages”. Select the “start options” setting on the left, and under server change the radio button value from the default (which is use built-in webserver) to instead be “Use custom server”. Then set the Base URL value to be: http://localhost:8010/



Obviously I don't know if this is the problem you had but definitely it is something similar, essentially the problem should be that the same port used by your Development Server is not available because it is already used by another web server.



The Following User Says Thank You to shekhani For This Useful Post:
  #4 (permalink)  
Old September 8th, 2009, 03:21 PM
Registered User
 
Join Date: Sep 2009
Posts: 3
Thanks: 0
Thanked 3 Times in 2 Posts
Default

The best solution of unable to connect to asp.net development server is to just log on to http://www.amitbpit.blogspot.com in just two steps..thanx n enjoy.
The Following User Says Thank You to Amitbpit For This Useful Post:
  #5 (permalink)  
Old July 15th, 2012, 01:56 PM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default i am not getting it by this solution,its showing error that the command is invalid.

Quote:
Originally Posted by shekhani View Post
Step 1: Select the “Tools->External Tools” menu option in VS or Visual Web Developer. This will allow you to configure and add new menu items to your Tools menu.


Step 2: Click the “Add” button to add a new external tool menu item. Name it “WebServer on Port 8010” (or anything else you want).


Step 3: For the “Command” textbox setting enter this value: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebD ev.WebServer.EXE (note: this points to the web-server that VS usually automatically runs).


Step 4: For the “Arguments” textbox setting enter this value: /port:8010 /path:$(ProjectDir) (or any port you like)


Step 5: Select the “Use Output Window” checkbox (this will prevent the command-shell window from popping up.



Once you hit apply and ok you will now have a new menu item in your “Tools” menu called “WebServer on Port 8010”. You can now select any web project in your solution and then choose this menu option to launch a web-server that has a root site on port 8010 (or whatever other port you want) for the project.


You can then connect to this site in a browser by simply saying http://localhost:8010/. All root based references will work fine.




Step 6: The last step is to configure your web project to automatically reference this web-server when you run or debug a site instead of launching the built-in web-server itself. To-do this, select your web-project in the solution explorer, right click and select “property pages”. Select the “start options” setting on the left, and under server change the radio button value from the default (which is use built-in webserver) to instead be “Use custom server”. Then set the Base URL value to be: http://localhost:8010/



Obviously I don't know if this is the problem you had but definitely it is something similar, essentially the problem should be that the same port used by your Development Server is not available because it is already used by another web server.
::::::::::::::::::::::::
i am not getting it by this solution,its showing error that the command is invalid.why this is so???
  #6 (permalink)  
Old April 15th, 2013, 11:48 PM
Registered User
Points: 12, Level: 1
Points: 12, Level: 1 Points: 12, Level: 1 Points: 12, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

that is really good informative piece of writing..
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to connect to asp.net development server Komila ASP.NET 3.5 Basics 4 April 15th, 2011 08:57 AM
ASP.NET development server angshujit ASP.NET 2.0 Basics 4 January 18th, 2007 05:07 AM
IIS and ASP.NET Development Server conflict ASPNewbie2 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 December 28th, 2006 08:23 AM
[000] Unable to connect to server 'SERVER\SQL'; SQ ctanchan SQL Server 2000 1 August 15th, 2003 07:18 AM



All times are GMT -4. The time now is 09:24 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.