Wrox Programmer Forums
|
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
 
Old November 6th, 2010, 08:17 AM
Registered User
 
Join Date: Nov 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
 
Old November 6th, 2010, 08:21 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old November 6th, 2010, 12:57 PM
Registered User
 
Join Date: Nov 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old November 7th, 2010, 02:54 AM
Registered User
 
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There might be a problem with your installation procedure or IIS service.
 
Old November 7th, 2010, 05:32 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old November 7th, 2010, 11:34 AM
Registered User
 
Join Date: Nov 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old November 7th, 2010, 12:23 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You're welcome. Have fun with the book.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot display Hello World correctly in a browser Tofog BOOK: Professional ASP.NET 4 : in C# and VB 1 May 23rd, 2010 05:12 AM
I have vista, IIS 7 But can't load ASP.NET codes in browser skhan BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 June 12th, 2009 03:12 PM
Can any one tell how to run chtml code in browser? frnd4u_dotnet ASP.NET 2.0 Professional 0 November 6th, 2007 10:02 AM
run a software from web browser jun99 PHP How-To 1 December 28th, 2005 09:50 AM





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