Answer the question
In order to leave comments, you need to log in
How to find out the reason for the crash of a .NET program on a remote server?
On a remote server, using vbscript, a C# console application is constantly launched at intervals. Sometimes it crashes. Exceptions are handled wherever possible, there is even a global handler
AppDomain.CurrentDomain.UnhandledException += Enviroment.Exit(0);
Answer the question
In order to leave comments, you need to log in
one.
AppDomain.CurrentDomain.UnhandledException
+= (_, e) => Environment.FailFast("", e.ExceptionObject as Exception);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question