954,518 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Wpf Application has stopped working on client

Hello all,

I have created a wpf application and have run into a couple of problems... :-(

I have published my project, copied the (published ClickOnce installer) files to another computer, installed my app and it stops working as soon as I launch...
My problem seems to occour only on client machines, the solution runs just fine inside the IDE on my dev machine.

My question is how can I find out exactly what caused my application to crash on the client?
I have JIT debugging on my development machine, however on the client all I get is 'MyApp has stopped working' close program dialog.

Merci, Leigh

KillerOfDN
Junior Poster in Training
51 posts since Apr 2008
Reputation Points: 3
Solved Threads: 1
 

On the client maches you need to write the stderr and stdout to a text file. If an app crashes before Application.Run() it will write out the diagnostic info:

AppName.exe >> debug.txt 2>&1


After the app crashes take a look at debug.txt and it should indicate your problem

sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You