Application fails

  • Thread starter Thread starter Ronny
  • Start date Start date
R

Ronny

I copy my release version executables and dlls to a production PC. It fails
to run causing an error message with the following text: "Application" has
encountered a problem and needs to close...
My question-
Is there a way to find out by this massage what is the error source
or to produce a more friendly message?

Regards
I. Lesher
 
I copy my release version executables and dlls to a production PC. It fails
to run causing an error message with the following text: "Application" has
encountered a problem and needs to close...
My question-
Is there a way to find out by this massage what is the error source
or to produce a more friendly message?

Regards
I. Lesher

First question

Is .Net runtime available on the target machine?

If available, place a try catch block, covering the Main function and
display a message of the generic exception (Exception) caught. This
must give you some way to go forward.

-Srinivas.
 
Back
Top