 |
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
 | This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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
|
|
|
|
|

August 2nd, 2010, 08:59 AM
|
|
Registered User
|
|
Join Date: Jul 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Problem Viewing Pages
Hi All,
I am using Ms Visual Studio 2008 (because I already do some programming in C#) under XP and using IE8 to teach myself ASP.NET.
My problem is that, when I try to display a page (c/F5), first the browser comes up with a blank page. If I then close this browser, another browser comes up saying 'can not display the web page'. When I compare the address in the browser (eg http://localhost:2473/Default.aspx) with the port number of the internal server in the system tray (Port 2475), the port numbers are always a few numbers different. Manually changing the address in the browser to http://localhost:2475/Default.aspx solves the problem and displays the page correctly.
How, please, can I get it to (a) not show a blank page and (b) call up the same port number as the internal server? Not fatal but very frustrating!
David
|
|

August 2nd, 2010, 10:16 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi David,
Does it help when you assign a static port number on the web site's Properties dialog and set Use Dynamic Ports to false?
Imar
|
|

August 3rd, 2010, 10:25 AM
|
|
Registered User
|
|
Join Date: Jul 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Omar,
No, whatever port number I enter, it says that the port is busy.
David
|
|

August 3rd, 2010, 10:39 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Omar? Who's Omar?
Do you have security software on your machine such as anti-virus or a firewall?
Imar
|
|

August 6th, 2010, 04:57 AM
|
|
Registered User
|
|
Join Date: Jul 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Imar,
Many apologies - Currently dealing with a lawyer in Jordan called Omar - confusing for a bear of small brain - explanation but not an excuse!
Yes, I have the Eset anti-virus software and, armed with your suggestion, found a reference on Google to the problem. By excluding VS2008 from the active browser filtering, the port problem is solved. Thanks for that.
However, I still receive this blank page following c/F5. Only when I close this does the page display.
Regards, David
|
|

August 6th, 2010, 05:11 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Quote:
|
Currently dealing with a lawyer in Jordan called Omar - confusing for a bear of small brain - explanation but not an excuse!
|
Haha, no problem.... ;-)
I've seen the problem you describe on a developer's machine once, but never saw if, and how, it was fixed. Google has a few reference though.
These two suggest disabling addons in Intenet Explorer:
http://connect.microsoft.com/VisualS...page-ie8-first
http://stackoverflow.com/questions/1...ick-start-with
More info in case this doesn't fix it:
http://www.google.com/#hl=en&source=...882c49a45bf057
Hope this helps,
Imar
|
|

August 8th, 2010, 11:04 AM
|
|
Registered User
|
|
Join Date: Jul 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Have tried all of this without success. However, it works fine with Debug (F5) as opposed to c/F5. Probably a bit slower but time to move on. At least I have got rid of the 'wrong port number' problem.
Thanks for your suggestions.
|
|
 |