Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| 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 November 7th, 2008, 11:55 AM
Registered User
 
Join Date: Nov 2008
Location: Fountain Valley, CA, USA.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default localhost

I have been doing all the exercises up until Ch. 8 Adding User Controls to a Content or Master Page. When I tried to launch it in the browser, it is trying to find the localhost on the internet instead of locally. The address is now http://www.localhost.com:3199/Default.aspx instead of a address without the www. and .com. As far as I know I haven't changed any thing. Similar thing happens when I try to launch a page from the Demos folder which has unrelated code?
  #2 (permalink)  
Old November 7th, 2008, 01:09 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

Check out Website | Start Options in VWD. What do you have in the Start action and Server sections?

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
  #3 (permalink)  
Old November 7th, 2008, 05:38 PM
Registered User
 
Join Date: Nov 2008
Location: Fountain Valley, CA, USA.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,
Thanks for the quick reply. Under Start Options, I have:
Start action = Use current page
Server = Use default Web server

The current error in Firefox reads:
The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection. Please try again.

In IE, I get a correct looking localhost URL but the error say
IE cannot display the webpage.

When I look at the ASP.NET Development server in the system tray
should I see the virtual path as: /

I was thinking about uninstalling VWD and reinstalling? Will this reconfigure the local servers?

Thanks again,
Keith










  #4 (permalink)  
Old November 8th, 2008, 03:54 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Yeah, you could try reinstalling and see if that helps.

What happens if you click the link on the Development Web Server (which sits in the tray). Do you get the correct page then?

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
  #5 (permalink)  
Old November 8th, 2008, 11:16 AM
Registered User
 
Join Date: Nov 2008
Location: Fountain Valley, CA, USA.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
Imar,
Clicking on the Dev Web Server only open an info box. I did a little more investigation and found that I could open the default.aspx file from the source code provide in the download so it is not a system wide setting but an error I coded. I kind of remember setting a property or something to an "/" or "\" or changing ~ to / or something in a line of code. If all else fails, can I replace my default.aspx file with the Ch. 7 (one ch. earlier) default.aspx and start anew on ch 8 or do I need to copy more files with it?
Thanks again,
Keith

  #6 (permalink)  
Old November 8th, 2008, 02:09 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Difficult for me to tell, as I don't know what else you changed. Just try copying Default.aspx and see if it fixes the problem. If it does, compare you version with mine to see what the problem is. Otherwise, try copying more files to see if that help.

Cheers,

Imar
 


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
can't connect to localhost dmlocke Beginning PHP 1 October 16th, 2006 01:29 PM
do not want to use localhost p2ptolu Classic ASP Databases 1 September 15th, 2005 06:03 PM
localhost problems sdfharkin BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 3 October 26th, 2004 07:27 PM
Localhost Yee Dreamweaver (all versions) 6 October 21st, 2004 09:21 AM



All times are GMT -4. The time now is 06:43 PM.


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