 |
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
|
|
|
|
|

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

June 27th, 2010, 05:40 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

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

June 27th, 2010, 10:56 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

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

June 27th, 2010, 11:11 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

June 27th, 2010, 11:15 AM
|
|
Registered User
|
|
Join Date: Jun 2010
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
|
|
OK. Thanks. I'll install another browser and see about disabling my antivirus and then, if still not working, call MS.
|
|

June 27th, 2010, 11:26 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

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

July 18th, 2010, 10:59 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Glad it got sorted out, and thanks for posting an update here.
Cheers,
Imar
|
|
 |
|