Hy, I am trying to publish my first application. In the debugging mode everything works fine, on my computer it also works without a problem, but on the other computer I can't get it to work. When I try to run it I get the message ""application" has stopped working" . When I click on view problem details I get this:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: robnoknjigovodstvo.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 51cac5f7
Problem Signature 04: System.Data
Problem Signature 05: 4.0.30319.17929
Problem Signature 06: 4ffa5def
Problem Signature 07: 1de2
Problem Signature 08: 5f
Problem Signature 09: System.InvalidOperationException
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1050
Additional Information 1: aa76
Additional Information 2: aa76315143599a541a5fa1df4fbde453
Additional Information 3: 0709
Additional Information 4: 0709e632ea855b8ded4d7d20096b20d8
On the computer I developed the application I have 32 bit windows, and on the other one is 64bit version and I tried to change platform target but it didn't help
Check this out: Debugging "Application.exe has stopped working" with .NET.
Check if you have permissions to write or read if you are accessing the file system.
Also, make sure the other system has the adequate .NET framework installed.
Change the target to Any CPU.
Also, a good idea would be to wrap your code in a try-catch block and write the error to disk (on a location for which you have write permissions).
maybe , you did not included all dll in your project
Related
I have an application developed in C# which runs fine on my Windows 7 x64 PC but when I try to run the same application on my Windows Server 2012 R2 VPS, I get an error that "(TheApplicationName" Has stopped working)
When I click on the view problem details, I get the following information
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: application.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 582aa3a2
Problem Signature 04: Application
Problem Signature 05: 1.0.0.0
Problem Signature 06: 582aa3a2
Problem Signature 07: 1
Problem Signature 08: 77
Problem Signature 09: System.IO.FileNotFoundException
OS Version: 6.3.9600.2.0.0.272.7
Locale ID: 1033
Additional Information 1: 5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: 6ee2
Additional Information 4: 6ee2432e64e99bdcea5e4be767a3b1a2
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=280262
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
Could anyone kindly advise what the problem is here
Many thanks
It seems that your application references a binary (.dll) not found on target machine. Please go through all (non-System) referenced binaries in your project and make sure they reside within the same folder as your application.
I have built an application in Visual Studio 2012 Express, on C# .NET 4.5 on Windows Server 2008R2 64 bit. When I compiled, I made sure in build properties, platform target is set to x86.
When I copy the files from Release folder to my Windows 7 32, it crashes.
Here is error my system is throwing:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: fileupload.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 53b63c5a
Problem Signature 04: FileUpload
Problem Signature 05: 1.0.0.0
Problem Signature 06: 53b63c5a
Problem Signature 07: c
Problem Signature 08: 6
Problem Signature 09: System.IO.FileNotFoundException
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
It is a file-not-found exception, could be as simple as forgetting to copy a file or not specifying the full path name.
Don't guess at this, implement a handler for the AppDomain.CurrentDomain.UnhandledException event and log or display the value of e.ExceptionObject.ToString(). It tells you where your code bombed.
I managed to find a work around for this problem. Went into References in the Solution Explorer and for each of the items, I made sure I set "Copy Local" property to True. I ended up with a lot of DLL files in the Release folder, but it ran in Windows 7.
I have made my own tool/Loading bar in my Solution called CustomPbar.
I have a Form application with this tool in the designer.
When I copy the program to another location it gives me an error,
Problem Event Name: CLR20r3
Problem Signature 01: raidzer0.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 519888ba
Problem Signature 04: RaidZer0
Problem Signature 05: 1.0.0.0
Problem Signature 06: 519888ba
Problem Signature 07: 1
Problem Signature 08: 6
Problem Signature 09: System.IO.FileNotFoundException
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 3081
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
I believe this is because the custom ProgressBar/Pbar is not attached to the form?
How do I resolve this issue?
It is clearly shown in your error:
Problem Signature 09: System.IO.FileNotFoundException
Which means it is not able to find the dll for your tool. What you need to do is:
Either create the same folder structure in your target machine, where the tool exist in your original machine, or move the tool to a common folder and reference it from there.
investigate this link
Windows Error Reporting and CLR integration
and these SO threads
c#, problem running compiled app on other systems
C# windows appication Event: CLR20r3 on application start
I'm having an Issue when I install My C# winform App in C:\ProgramFiles everytime I try to Run it, I get the usual "App has stopped working" error with the 3 options, Close, Debug, check for online solutions.
Now I'm Pretty sure that I got all my Dlls and Requirements in the InstDir. I'm Sure of this cuz If I copy/paste the InstDir to another location, say desktop for example, The App works !!
how to solve this ???
error looks like this
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: typingfreak.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 5029e51b
Problem Signature 04: mscorlib
Problem Signature 05: 4.0.0.0
Problem Signature 06: 4ba1da6f
Problem Signature 07: 3dab
Problem Signature 08: 13c
Problem Signature 09: System.UnauthorizedAccess
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 12297
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Please, Any Help
Your application is raising System.UnauthorizedAccess. Given the description of what's happening when you copy and paste to another folder, my guess is that it's trying to write data into the local folder.
If you're installing into Program Files, this won't be allowed (unless you run it as administrator), since that isn't writable by your user.
Try to run it as an administrator - if it works - your app is probablly accessnig some area in the system that the user is not permitted to access - (usually a directory). check your file accessing methods
Based on the line of your error:
Problem Signature 09: System.UnauthorizedAccess
I'd speculate that you're either running from a directory that you do not have the proper permissions needed for the application or that you copied the application from a network location (or the web) and did not mark it as safe.
After verifying the Windows permissions for the directory, I'd recommend that you right-click the executable, select properties, and look for a button labeled "Unblock" on the dialog. Click it. You may or may not need to repeat for the DLLs.
My WPF application works fine on a number of machines, but now I get a report about this error on a user machine:
Description:
Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: mysoftware.exe
Problem Signature 02: 1.0.0.1
Problem Signature 03: 4bbcd9d9
Problem Signature 04: PresentationFramework
Problem Signature 05: 3.0.0.0
Problem Signature 06: 4a174fbc
Problem Signature 07: 624f
Problem Signature 08: e1
Problem Signature 09: System.Windows.Markup.XamlParse
OS Version: 6.1.7600.2.0.0.256.48
Locale ID: 1033
I was trying to catch Exception using Application DispatcherUnhandledException but this didn't help. And warping Window1 constructor in try/catch block too.
.NET Framework 3.5 is installed on that machine.
How can I figure out the reason of crashing: log this error, debug, ...?
Just verify you have installed .Net Framework 3.5sp1.
The fact that there is a mention of XAML parsing would lead me to check whether the XAML is corrupt on that particular machine. The easiest way to check it is well formed is to rename it to .xml and open it with Internet Explorer. (Even if it is well formed it could still have a problem of some sort.)
If it is a ClickOnce deployed app, I would suggest clearing the local cache of the application and relaunching to see if this clears the problem up.
I think the main issue is the fact that the XAML file cannot be loaded.
That can stem from several problems:
Is the file meant to be deployed alongside the dll? Is it present
Is the client using a different UI culture than the others? Are there any satellite assemblies?
What version of the .Net framework is installed? Is it perchance a Client Profile only install?
Cheers!