 |
| 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
|
|
|
|

November 7th, 2008, 11:55 AM
|
|
Registered User
|
|
Join Date: Nov 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|
|

November 7th, 2008, 05:38 PM
|
|
Registered User
|
|
Join Date: Nov 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

November 8th, 2008, 11:16 AM
|
|
Registered User
|
|
Join Date: Nov 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

November 8th, 2008, 02:09 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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 |
|
 |