I have a .NET 4.0 application deployed on the local network via ClickOnce. It is a C# x86 application built in Visual Studio 2013.
When the ClickOnce setup.exe is run it installs and immediately launches the application which works as expected.
After trying to launch the application each additional time it throws an error:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: getpricescustomlookup.exe
Problem Signature 02: 2.2.1075.0
Problem Signature 03: 57ea7f5a
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.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
This application has been running without issue for many users on many different PC's for over a year. I have tried with multiple users logged in on the problem-PC and it behaves the same. The PC has been just wiped with a fresh copy of Windows 7 Pro 64-bit installed on it.
Does anybody have any thoughts on what may be going on here and how to fix it?