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 / .NET Framework / CLR / December 2005

Tip: Looking for answers? Try searching our database.

Unhandled exception in .NET runtime

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arulvendan - 23 Dec 2005 11:59 GMT
We have developed a windows service in .NET 1.1 that uses Serviced components
for handling transactions. Some times, the service stops unexpectedly by
logging the following information in the Event log.

Common Language Runtime Debugging Services: Application has generated an
exception that could not be handled.

I understand that there can be a number of conditions that could have caused
this exception. How do I debug/trace the cause of this kind of exceptions?

Thanks,
arul


Naveen - 28 Dec 2005 15:22 GMT
There are few  ways of debugging the unhandled exceptions

1)Sign for AppDomain.UnhandledException in your main method and log the
exception so that you can view the stack trace.
2)The other one is using the adplus.vbs (part of the windows debugger)
. use the adplus.vbs and the dump the memory using the "-crash"
option and investigate for the exception and the stack trace of the
exception.

.

Rate this thread:







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.