471,342 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,342 software developers and data experts.

Application fails

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
Aug 27 '08 #1
1 919
On Aug 27, 10:04*am, "Ronny" <ro...@john.comwrote:
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.
Aug 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Guinness Mann | last post: by
1 post views Thread by Guinness Mann | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.