Group: Awaiting Activation
Posts: 172,
Visits: 12K
|
I'm running into a slight problem with the deployment to a Dell XPS 12 with Windows 8 installed.
I've changed the User Access Control to Never
I've placed the following in the AppMain.cs for the main WinForms interface layer project:
using System.Security;
[assembly: AllowPartiallyTrustedCallers]
But I continue to get a System.MethodAccessException error.
Any clues ... other than to install Windows 7 Professional :-D.
Here is another clue:
Attempt by security transparent method 'SouthendCRMWin.AppMain.Main()' to access security critical method 'System.AppDomain.add_UnhandledException(System.UnhandledExceptionEventHandler)' failed.
This is the offending line of code:
// Add the event handler for handling non-UI thread exceptions to the event.
AppDomain.CurrentDomain.UnhandledException += CurrentDomainUnhandledException;
Just as a test I built an empty StrataFrame Windows Application and here is the error in the Event Viewer:
Fault bucket -311547793, type 5 Event Name: CLR20r3 Response: Not available Cab Id: 0 Problem signature: P1: TestApplication.exe P2: 1.0.0.0 P3: 5282cd1f P4: MicroFour StrataFrame UI P5: 1.7.6.0 P6: 5282b038 P7: 4b P8: 36 P9: System.MethodAccessException P10: Attached files: C:\Users\Todd Cahill\AppData\Local\Temp\WERC9DE.tmp.WERInternalMetadata.xml These files may be available here: C:\Users\Todd Cahill\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_TestApplication._5ed89756f454716c01e24f869d2487d34397fc1_71d2d649_1535ccdc Analysis symbol: Rechecking for solution: 0 Report Id: e00a819f-4bfd-11e3-8258-5c514f5008ec Report Status: 0 Hashed bucket: 3aefc0518904f554fb5a35a4579e44ab
Now here is the fun part ... if I run the application from my development machine by accessing the directory of install on the client machine ... it works just fine ... even over a wireless connection it is fast .. therefore, it has to be something with that dadblasted Windows 8.1 security nightmare!
Now
Charles T. Blankenship Senior Consultant Novant Consulting, Inc. 704.975.7152 http://www.novantconsulting.com
|