 |
BOOK: Beginning ASP.NET 4 : in C# and VB
 | This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB 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 6th, 2010, 08:17 AM
|
|
Registered User
|
|
Join Date: Nov 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hello World does run in browser -vista
Hi
Newbie just starting looking for help...
On my vista laptop the 1st program Hello World gives an std error screen in explorer 8, "Internet explorer cannot display the page" after the f5 key is pressed to run the application. I then tried it on my XP desktop and it works just fine. The asp.net development server icon is in the tray and when clicked shows the proper path to the saved project.
Also, what is up with "debugging not enabled" message? Should this be Run with debug disabled or enable it?
Moving on with XP machine for now.
Thanks for any help.....
Todp
|
|

November 6th, 2010, 08:21 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
Sounds like you have anti-virus or other security software on your machine that blocks the web server from starting up.
F5 starts the site in Debug mode. When debugging is not enabled yet, you get a message about enabling it. This is explained in detail in Chapter 18.
If you don't need to debug, use Ctrl+F5 instead.
Cheers,
Imar
|
|

November 6th, 2010, 12:57 PM
|
|
Registered User
|
|
Join Date: Nov 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar
Thanks for the reply. Both vista and XP machines have AVG virus protection. I disabled the virus protection on the vista machine and am still getting the explorer 8 "Internet explorer cannot display the page" after the f5 key is pressed to run the application. In the tray on both machines the ASP.Net Development server Icon is there. version 4.
This is all new stuff for me. Any other ideas I can check on?
Thanks for help.
Todp
|
|

November 7th, 2010, 02:54 AM
|
|
Registered User
|
|
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
There might be a problem with your installation procedure or IIS service.
|
|

November 7th, 2010, 05:32 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
You may want to take a look here: http://forums.asp.net/t/1235447.aspx as multiple solutions are discussed. I would try Arjen's solution first:
Quote:
My solution was removing the next line in the windows host file C:\Windows\System32\drivers\etc\hosts
::1 localhost
This is an IpV6 entry. Put a # in front of it.
|
You can comment out that line in your hosts file by putting a # in front of end. You may need to do this while running Notepad "As Administrator" on Vista.
Cheers,
Imar
|
|

November 7th, 2010, 11:34 AM
|
|
Registered User
|
|
Join Date: Nov 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks Imar!
Arjen's solution you suggested fixed the F5 running the browser correctly issue! Seems like magic to me at this point in the game.
Thanks again. Cool Community....
Todp
|
|

November 7th, 2010, 12:23 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
You're welcome. Have fun with the book.
Cheers,
Imar
|
|
 |
|