VS2005 - Cannot debug webs on Vista
- From: "Brad" <lane@xxxxxxxxxxxxxxxx>
- Date: Wed, 13 Dec 2006 10:26:04 -0800
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
.
- Follow-Ups:
- Re: VS2005 - Cannot debug webs on Vista
- From: Brad
- Re: VS2005 - Cannot debug webs on Vista
- Prev by Date: Re: VS 2005 Hangs with Microsoft Visual Studio Is Busy message
- Next by Date: VS2005/IE 7.0 hangs on symbol loading
- Previous by thread: VS 2005: cannot start debugging
- Next by thread: Re: VS2005 - Cannot debug webs on Vista
- Index(es):
Relevant Pages
|