Unable to debug

H

Hans Ruck

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

Guest

The first thing I'd check is the <compilation> tag in your web.config file.
Make sure the "debug" attribute is set to "true".
 
C

Chennai Pirate

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.

Did you attach the process to the VS debugger ?
 
J

James Crosswell

Hans said:
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.

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/a...ng-of-ASP.NET-applications-on-IIS7-Vista.aspx


Best Regards,

James Crosswell
Microforge.net LLC
http://www.microforge.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top