Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

my installed app does not work

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

like image 730
Scorpio Avatar asked Aug 24 '26 07:08

Scorpio


1 Answers

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.

like image 191
Reed Copsey Avatar answered Aug 25 '26 22:08

Reed Copsey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!