Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

Unable to debug

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hans Ruck - 16 Oct 2007 19:11 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.