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

Re: program crash by Sahil

Sahil
Sat Jun 12 01:29:02 CDT 2004

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

--
- Sahil Malik
Independent Consultant
You can reach me thru my blog at -
http://www.dotnetjunkies.com/weblog/sahilmalik/



"Norvin Laudon" <nospamnorvinll@molinospamenergy.com> wrote in message
news:Ozmc6nAUEHA.3528@TK2MSFTNGP12.phx.gbl...
> 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
>
>