VS2005 - Cannot debug webs on Vista

Tech-Archive recommends: Fix windows errors by optimizing your registry



I set up multiple web sites on my new Vista pc. So far VS2005 web debugging
for an IIS web application only works against localhost.
If I attempt to run VS2005 debugger for a web app any other web site I
receive the following:
"Unable to start debugging on the web server. An authenticaiton
error occureed while communicating with the web server"
All asp.net apps run fine in release mode on all the web sites.
My questions is: How do I get debugging to work on the web sites other than
localhost?

To give some background:
My PC network adapter has one static ip address, which connects to the
corporate domain, and multiple non-routable ip addresses on the same
adapter for use with the web sites (i.e. 192.168.0.20). localhost binds to
"unassigned" ip addresses, while the rest of my ip addresses bind to the
192.168.0.x series.
These have all been added to the Hosts file too, so my Hosts file looks
something like this (names changed to protect the innocent):
127.0.0.1 localhost
192.168.0.10 ecommerce
192.168.0.11 intranet
192.168.0.12 internet
192.168.0.13 webservicehost

To make sure I'm testing the same on the different web sites, I first
created a simple asp.net WAP (web application project) called Test under
localhost: the web app just has a default.aspx page. Debug of Test from
VS2005 works..

I copied this web app to another one of the web sites under IIS7 (on same
Vista cleint). If I attempt to debug I receive the same "Unable to start
debugging".

Now someone is bound to say this setup with the adapter using one static ip
and the multiple non-routable ip address should not work.....but this whole
setup works great on my win2003 server pc, which is what I am trying to
migrate from. In fact the only reason my "old" workstation OS is win2003 is
for being able to run multiple web sites...and I just want to get the same
thing working under Vista/IIS7

One notable change I've had to make on Vista: I have disabled Kerberos
authentication in IIS because IE would not authenticate. I set IIS to use
only NTLM using cscript adsutil.vbs set w3svc/NTAuthenticationProviders
"NTLM"
I'm still working on this issue to find out why Kerberos is not working.


Brad


.



Relevant Pages

  • Re: VS2005 - Cannot debug webs on Vista
    ... Interesting...In IIS, if I change web site Authentication: ... Enable Windows Authentication then debugging works (Forms ... All asp.net apps run fine in release mode on all the web sites. ...
    (microsoft.public.vsnet.debugging)
  • Re: What is wrong with my Windows XP Pro?!
    ... you are getting debugging errors while visiting ... different web sites. ... turn off debugging in the Internet Explorer ...
    (microsoft.public.windowsxp.general)
  • Re: What is wrong with my Windows XP Pro?!
    ... you are getting debugging errors while visiting ... different web sites. ... turn off debugging in the Internet Explorer ...
    (microsoft.public.windowsxp.general)
  • Re: What is wrong with my Windows XP Pro?!
    ... you are getting debugging errors while visiting ... different web sites. ... turn off debugging in the Internet Explorer ...
    (microsoft.public.windowsxp.general)
  • RE: localhost will not browse to website.
    ... Sounds like you have the correct config. ... when I ping localhost as well ... The issue is that Windows is not resoviing localhost correctly ... Expand local computer, select web sites, mouse over on ...
    (microsoft.public.windowsxp.general)