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 / New Users / May 2008

Tip: Looking for answers? Try searching our database.

Is there any way to tell why a program is dying?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jmDesktop - 27 May 2008 16:28 GMT
Not sure where to post this, but I have a vbscript that is dying and I
do not know why.  It runs for a while then disappears (dies.)  I know
that vbscript has no decent error handling, but that I can do if
err.number >0 ...., It isn't a problem with the script, however, and I
believe it is dying because of something outside of it - in the OS or
some other conflict.

Is there any way to build a .NET program that monitors and logs why
the program dies and not just that it died?  I'm not sure how to
proceed.

Thanks for any help.
Alvin Bruney [ASP.NET MVP] - 28 May 2008 03:22 GMT
have a look at your machine logs (eventvwr) look for anything suspicious.
script is typically difficult to debug. If you can modify the script you may
want to place output information every couple of lines so that you can
follow the output in a log file to narrow down where in the script it is
dying.

Signature

Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
-------------------------------------------------------

> Not sure where to post this, but I have a vbscript that is dying and I
> do not know why.  It runs for a while then disappears (dies.)  I know
[quoted text clipped - 8 lines]
>
> Thanks for any help.

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.