Microsoft Windows Vista Community Forums - Vistaheads
Driver Scanner 2009 - Free Scan Now



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Loveheart Dating - Find your Perfect Partner

Debugging VS2008 ASPNET Apps Under Vista

microsoft.public.windows.vista.networking sharing



Click On Your Flag for Translation
Simplified Chinese French Spanish Italian Portugeuse Japanese German Dutch
Reply
  #1 (permalink)  
Old 01-16-2008
Mark Olbert
 

Posts: n/a
Debugging VS2008 ASPNET Apps Under Vista
I've run into a bizarre problem that the Microsoft guy over on the vsnet.general forum said I should raise here because it looks
like it's a Vista-related issue.

I have Vista Ultimate installed on a desktop and a laptop. I use Visual Studio 2008 on each machine to develop, among other things,
ASP.NET websites. I use the internal development webserver in VS2008 (i.e., WebDev.WebServer), rather than IIS, as the hosting
environment.

Yesterday VS2008 on the desktop stopped being able to debug websites. Suddenly, IE7 refused to display the webpage being debugged
(this happened in the middle of a build/debug cycle; I hadn't added any new hardware or software). VS2005 was also unable to debug
websites. In addition, "attaching" WebDev.WebServer to a very simple site (i.e., just a single index.html file containing a simple
text string) didn't work either. The error message was always "Internet Explorer cannot display the webpage".

I also ran into problems when trying to use Firefox to access the test sites.

When VS debugs ASP.NET websites it addresses them in IE as http://localhost:<some port number>/<web page>. Walter (over on the
vsnet.general forum) suggested that I try substituting 127.0.0.1 for localhost. This fixed the problem, although it wasn't a
solution because I don't know of any way to configure VS to use an explicit loopback address rather than localhost.

But it got me thinking about a time when my hosts file was hijacked. In checking the hosts file I saw that it contained only two
lines (other than comments):

127.0.0.1 localhost
::1 localhost

Not being familiar with IPv6 loopback interfaces at the time, that second entry looked weird to me, so I commented it out.

Which then solved my problem; localhost mapped to 127.0.0.1, VS was able to debug and I was a happy camper again.

But I'm still concerned about >>why<< commenting out that line solved the problem, and why the problem occurred in the first place
(since both those entries are apparently part of the default hosts file on a Vista system). I've never done anything to the IPv6
configuration that was created when I installed Vista (as I mentioned, I know almost nothing about IPv6). So I've got a situation in
which some networking component "failed" (or at least changed) unexpectedly.

Why would a working resolver environment suddenly go bonkers?

- Mark

p.s. I just remember that I tend to install all recommended updates. On 1/12 I installed both a new Windows Defender definition file
(1.24.5399.0) and an update to the Marvell Yukon PCI-E Gigabit Ethernet Controller which was released back in December 2007. Is it
possible that one or both of these updates caused the problem I'm experiencing? I was successfully debugging sites after installing
both packages, which argues against them being involved.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
debugging vista shutdown camarkco@hotmail.com microsoft.public.windows.vista.general 4 09-21-2007 15:28
Vista SP1 Beta - VS2008 B2 issues & DirectX 10.1 BlogFeed Windows Vista Blogs Forum 0 07-31-2007 02:09
Vista SP1 Beta - VS2008 B2 issues & DirectX 10.1 Steve Windows Vista Blogs Forum 0 07-29-2007 16:32
Can Web Apps Ever Truly Replace Desktop Apps? Steve General Technology News 0 04-13-2007 20:41
Re: ASPNET.STATE.EXE problem on close down Gerry Cornell microsoft.public.windows.vista.general 0 02-28-2007 21:07


All times are GMT +1. The time now is 04:04.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119