How do I diagnose this error? Program wont run...

T

trant

I have a program I distribute written w/ .NET 3.5 in Visual Studio 2008. It
is a Windows Form project.

I have had over a hundred users using it fine but a few have strange
problems running it.

One such user has Windows 7 64-bit, and all that happens is they get a "the
program has stopped" message when they attempt to launch my EXE. In the
OnLoad of my exe I immediately output to a log file that the program has
initialized (which incidentally is in a try/catch block so if it failed it
would not crash the program) but the point is this log file is not created.
So I am thinking the program fails even before it gets to this point.

I asked the user to look in his Event Viewer and he found this:

Fault bucket 934055668, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: hoi3 army organizer.exe
P2: 0.8.40.0
P3: 4b53c6ba
P4: System.Drawing
P5: 2.0.0.0
P6: 4a275e83
P7: 7af
P8: 6c
P9: System.ArgumentException
P10:

Attached files:
C:\Users\Doodelidoo\AppData\Local\Temp\WER2E17.tmp .WERInternalMetadata.xml

These files may be available here:
C:\Users\Doodelidoo\AppData\Local\Microsoft\Window
s\WER\ReportArchive\AppCrash_hoi3 army
organi_7d3e2f8bf551ebddbd1515dfd4a570fa7ca242b_150 12feb

Analysis symbol:
Rechecking for solution: 0
Report Id: 07487cf4-0482-11df-83ff-0018f3639d5d
Report Status: 0


How do I make sense of this error message? What should I look for when
trying to diagnose what is wrong?
 
M

Mr. Arnold

trant said:
I have a program I distribute written w/ .NET 3.5 in Visual Studio 2008. It
is a Windows Form project.

I have had over a hundred users using it fine but a few have strange
problems running it.

One such user has Windows 7 64-bit, and all that happens is they get a "the
program has stopped" message when they attempt to launch my EXE. In the
OnLoad of my exe I immediately output to a log file that the program has
initialized (which incidentally is in a try/catch block so if it failed it
would not crash the program) but the point is this log file is not created.
So I am thinking the program fails even before it gets to this point.

I asked the user to look in his Event Viewer and he found this:

Fault bucket 934055668, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: hoi3 army organizer.exe
P2: 0.8.40.0
P3: 4b53c6ba
P4: System.Drawing
P5: 2.0.0.0
P6: 4a275e83
P7: 7af
P8: 6c
P9: System.ArgumentException
P10:

Attached files:
C:\Users\Doodelidoo\AppData\Local\Temp\WER2E17.tmp .WERInternalMetadata.xml

These files may be available here:
C:\Users\Doodelidoo\AppData\Local\Microsoft\Window
s\WER\ReportArchive\AppCrash_hoi3 army
organi_7d3e2f8bf551ebddbd1515dfd4a570fa7ca242b_150 12feb

Analysis symbol:
Rechecking for solution: 0
Report Id: 07487cf4-0482-11df-83ff-0018f3639d5d
Report Status: 0
using

How do I make sense of this error message? What should I look for when
trying to diagnose what is wrong?

You ever try to verify that the program will run on Windows 7?

An argument is being passed to a method's signature as an example, and
either it's a wrong type of argument, too many arguments or too few
arguments are being passed.

That's the only error message that's coming out, because you may not
have proper error trapping in the solution to allow the error to bubble
back up to the UI and log the error with a program location -- method
and line number where the program is blowing using a stack track.
 
F

Family Tree Mike

I have a program I distribute written w/ .NET 3.5 in Visual Studio 2008. It
is a Windows Form project.

I have had over a hundred users using it fine but a few have strange
problems running it.

One such user has Windows 7 64-bit, and all that happens is they get a "the
program has stopped" message when they attempt to launch my EXE. In the
OnLoad of my exe I immediately output to a log file that the program has
initialized (which incidentally is in a try/catch block so if it failed it
would not crash the program) but the point is this log file is not created.
So I am thinking the program fails even before it gets to this point.

I asked the user to look in his Event Viewer and he found this:

Fault bucket 934055668, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: hoi3 army organizer.exe
P2: 0.8.40.0
P3: 4b53c6ba
P4: System.Drawing
P5: 2.0.0.0
P6: 4a275e83
P7: 7af
P8: 6c
P9: System.ArgumentException
P10:

Attached files:
C:\Users\Doodelidoo\AppData\Local\Temp\WER2E17.tmp .WERInternalMetadata.xml

These files may be available here:
C:\Users\Doodelidoo\AppData\Local\Microsoft\Window
s\WER\ReportArchive\AppCrash_hoi3 army
organi_7d3e2f8bf551ebddbd1515dfd4a570fa7ca242b_150 12feb

Analysis symbol:
Rechecking for solution: 0
Report Id: 07487cf4-0482-11df-83ff-0018f3639d5d
Report Status: 0


How do I make sense of this error message? What should I look for when
trying to diagnose what is wrong?

Do you have a dependency on something that cannot run in 64 bit
environment? In other words, does anyone have success that is running
64 bits?
 
T

trant

:
....

Yes, you are right.

I had thought I covered every possibility with trapping errors but then I
said what the heck and put a try catch block right in the Main() method
Program.cs and sure enough the user finally got a message which helps. The
message indicated a problem loading Arial font on his machine. All he did was
reinstall the font and the error stopped occurring. Never imagined a
'standard' font could cause problem.

so, thank you!!
 
Top