Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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


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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.