Hi,
I installed the VS2005 and the IIS on the same machine. Then I have
created a new ASP.NET project with a simple page and attempted to
debug it. VS fails with this message: "Unable to start debugging on
the web server. The underlying connection was closed: An unexpected
error occurred on a send".
On the other hand, loading the page in the web browser is very
successful
Is there anything to be set that I forgot about? The problem never
happened with the old VS2003.
Keith - 16 Oct 2007 20:09 GMT
The first thing I'd check is the <compilation> tag in your web.config file.
Make sure the "debug" attribute is set to "true".
> Hi,
>
[quoted text clipped - 9 lines]
> Is there anything to be set that I forgot about? The problem never
> happened with the old VS2003.
Chennai Pirate - 19 Oct 2007 07:52 GMT
> Hi,
>
[quoted text clipped - 9 lines]
> Is there anything to be set that I forgot about? The problem never
> happened with the old VS2003.
Did you attach the process to the VS debugger ?
James Crosswell - 19 Oct 2007 12:10 GMT
> Hi,
>
[quoted text clipped - 9 lines]
> Is there anything to be set that I forgot about? The problem never
> happened with the old VS2003.
I ran into this running in Vista. It turns out you need to patch visual
studio AND run it as the admin user, under vista, in order to be able to
debug ASP.NET apps. I got this link from another post in this ng:
http://mvolo.com/blogs/serverside/archive/2006/12/28/Fix-problems-with-Visual-St
udio-F5-debugging-of-ASP.NET-applications-on-IIS7-Vista.aspx
Best Regards,
James Crosswell
Microforge.net LLC
http://www.microforge.net