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 June 27th, 2010, 01:12 AM
Registered User
 
Join Date: Jun 2010
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default First project

I can not get the initial project to load. I am on a PC running Vista and using Visual Studio Premium. The browser (IE 8) says it can not display the page and when I click in the "Diagnose" button I am told that I should speak with my ISP. Is that really where I should start to track down a localhost issue (a guess).
 
Old June 27th, 2010, 05:40 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,

No, I don't think your ISP will be able to help you out as this is probably all local.

It sounds like a permission or configuration issue to me. Do you have security software running such as anti-virus or firewall software? Does temporarily stopping these programs fix the problem?

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 June 27th, 2010, 10:52 AM
Registered User
 
Join Date: Jun 2010
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

I tried turning off the Windows Firewall. My antivirus is Nod32. I do not know where to look for anything controling ports. I tried to ping localhost and the address was ::1 I just installed VS 2010 and updated Windows the previous day to get any web services installed. 10 years ago I seem to remember having a host file, but, where does it go on a 64 bit Vista PC, and what would I have in it?
 
Old June 27th, 2010, 10:56 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

The host file is located here: C:\Windows\System32\drivers\etc

However, you probably don't need it.

The ip "address" you get may be an IP V6 address. Is IP V4 installed as well?

And how did you create and browse to this site in VWD?

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 June 27th, 2010, 11:06 AM
Registered User
 
Join Date: Jun 2010
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yes, IP V4 is installed as well as IP V6. I let VS create the site as I followed your instructions in the book and left the site location to the default.
 
Old June 27th, 2010, 11:11 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You said you have anti-virus software, but did you try disabling it? You should be able to choose File | New Website, store the site on a local disk and hit Ctrl+F5 to run it. If that doesn't work, something is blocking this operation.

What happens when you try to browse with a different browser? E.g. right-click Default.aspx, choose Browse With and browse for Firefox for example.

If all else fails, you may want to consider contacting Microsoft supporrt. VS / VWD is a fully supported product so they should be able to help you out,

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 June 27th, 2010, 11:15 AM
Registered User
 
Join Date: Jun 2010
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

OK. Thanks. I'll install another browser and see about disabling my antivirus and then, if still not working, call MS.
 
Old June 27th, 2010, 11:26 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Good luck and feel free to post follow up questions you may have about this book in this forum. I try to help as many readers as I can with questions, but these type of problems are almost impossible for me to resolve remotely.

If you find a solution, please consider posting an update here as it might help others in the future.

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 July 12th, 2010, 05:26 PM
Registered User
 
Join Date: Jun 2010
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default solution

First off, Microsoft would not provide support for this problem.
Next, after 1.5 hours bouncing from one department to another, I arrived back at MSDN support where I had started. The problem was solved, after burning a support case, by changing the host file from an IPv6 address of ::1 to an IPv4 address of 127.0.0.1
The Following User Says Thank You to broot For This Useful Post:
Imar (July 18th, 2010)
 
Old July 18th, 2010, 10:59 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Glad it got sorted out, and thanks for posting an update here.

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
Website project vs Web Application Project... thenoseknows ASP.NET 2.0 Professional 0 January 14th, 2007 09:47 PM
How do i Call one project to another project kau_shuk VS.NET 2002/2003 8 December 5th, 2006 10:02 AM
UserControl of One Project in Other Project gadhiav ASP.NET 1.0 and 1.1 Professional 2 February 18th, 2006 07:51 AM
Add report of one project into another project tejaswibv Crystal Reports 0 July 13th, 2005 04:40 AM
From 1 project to get access to another project hplim18 Pro VB.NET 2002/2003 0 March 30th, 2004 10:33 PM





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