: [1]
: .NET Exception  ( 5325 )
0 and 1 Guest are viewing this topic.
*
Karma: +0/-0
: 1
Offline Offline
« : January 21, 2008, 07:14:35 PM »

When I try to run WiimoteWhiteboard.exe, I get Exception: System.Security.Permissions.SecurityPermission, then, "Application attempted to perform an operation not allowed by the security policy."...  I don't know what to do.  Any help?
Guru
*
Karma: +16/-0
: 177
Offline Offline
MSN Messenger - atomriot@hotmail.com AOL Instant Messenger - colbzilla
« #1 : January 21, 2008, 07:46:03 PM »

sounds like UAC (user access control) issue. Is this vista?

did you compile the app? is this from visual studio?

are you running it in debug mode or release mode? if its an express edition i think it runs default in debug mode but I'm not 100%

another thing is to step through it. set breakpoints (using F9 on a specific line) to see how far you can get and then step through with F10 until it tosses. when it throws the exception, go to a few lines before it and put a break point and then step into it with f11 as you go and see what specific line it has a problem with. then let us know

Details, details. Things to do. Things to get done. Don't bother me with details, just tell me when they're done.
--
James Lionel Price

*
Karma: +3/-0
: 26
Offline Offline
« #2 : February 12, 2008, 05:46:41 PM »

do you run the program from a network share? Because i had the same problems when i ran the program directly from my server.
Guru
*
Karma: +16/-0
: 177
Offline Offline
MSN Messenger - atomriot@hotmail.com AOL Instant Messenger - colbzilla
« #3 : February 12, 2008, 05:51:36 PM »

i think the error you get when you run a .net app from a UNC path is something about crossthreading. i could be wrong, but thats a good call. i didnt even think about that.

Details, details. Things to do. Things to get done. Don't bother me with details, just tell me when they're done.
--
James Lionel Price

: [1]
:  

Clicky Web Analytics