program crash

  • Thread starter Thread starter Norvin Laudon
  • Start date Start date
N

Norvin Laudon

Hi,

I'm deploying a program I have written in C#, with a Setup program created
in VS.NET 2003.
Installs no problem on the client machine, but when I run it, it crashes
(generates an CLR debugging services error - "Application has generated an
Exception that could not be handled")

The same program runs fine when deployed on various other machines.

How can I get more information about which module is causing the crash? I
have put a messagebox in the constructor of the main form, but it never even
reaches this point. Which means to me it either can't load some module, or
it's a permissions thing? (I've granted all zone's "Full Trust" to rule this
out...

I'd appreciate any pointers...

Norvin
 
But a try catch around your Application.Run, and catch the exception, throw
a messagebox with a Ex.ToString()
 
Back
Top