Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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
Reply With Quote
  #2 (permalink)  
Old November 6th, 2010, 08:21 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 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!
Reply With Quote
  #3 (permalink)  
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
Reply With Quote
  #4 (permalink)  
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.
Reply With Quote
  #5 (permalink)  
Old November 7th, 2010, 05:32 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 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!
Reply With Quote
  #6 (permalink)  
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
Reply With Quote
  #7 (permalink)  
Old November 7th, 2010, 12:23 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 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!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:39 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.