The program spits up one of those boxes saying an unhandled exception has occurred and the application must quit. The only clue I get to solve the problem is this in the event log:
Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 5000 Date: 1/9/2009 Time: 8:47:44 AM User: N/A Computer: DADIEHL Description: EventType clr20r3, P1 crm.client.exe, P2 1.0.1.0, P3 49667f61, P4 mscorlib, P5 2.0.0.0, P6 471ebc5b, P7 c35, P8 59, P9 system.formatexception, P10 NIL.
So I added the following code to program.cs:
try
{
Application.Run(new WindowContainer());
}
catch (Exception exc)
{
new DialogException(exc).ShowDialog();
}
Just so I could catch any exception, but the users are still getting the same message that says the app has to quit. I cannot reproduce this on my computer and thus can't use the debugger to narrow it down. Does anyone know of a way to collect more information or have any ideas what the issue is?