Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
I'm trying to test a c# application so I'm leaving it running as far as it can. The problem is that, radomly, it crashes without any exception on windows server 2003. When running it on windows 7, it works perfectly. No crash till now. On windows xp, it does not crash too. The only way to get a feed back is to look at the event viewer and I get the following error:

Event Type: Error
Event Source:   .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID:   1000
Date:       <date>
Time:       <date>
User:       N/A
Computer:   <machine name="">
Description:
Faulting application <application name="">, <application version="">, stamp 4ce54d0f, faulting module mscorwks.dll, version 2.0.50727.1433, stamp 471ef729, debug? 0, fault address 0x000f675b.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.</application></application></machine></date></date>


Is there anyone that encountered the problem?

Thanks in advance.
Posted

1 solution

"The only way to get a feed back is to look at the event viewer"

This is incorrect. You wrote the code and are in complete control. There is nothing stopping you from adding instrumentation and/or logging to monitor conditions in your code. Like professionals develop software.

Also like professional software an application should handle exceptions, including UnhandledException, and not crash outright.
 
Share this answer
 
Comments
Mehdi_S 29-Nov-10 3:19am    
Everything in my code is into a try/catch and I'm logging every exception ==> Nothing is written in log files.
I'm also subscribed to both "Application.ThreadException" and "AppDomain.CurrentDomain.UnhandledException" ==> No one was triggered.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900