Sponsors of Wiimoteproject.com
IR Pens for Wiimote Whiteboard
Pages: [1]
Print
Author Topic: .NET Exception  (Read 4247 times)
0 Members and 1 Guest are viewing this topic.
*
Karma: +0/-0
Posts: 1
Offline Offline
View Profile Email
« on: January 22, 2008, 04:14:35 AM »

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?
Logged
Guru
*
Karma: +16/-0
Posts: 177
Offline Offline
atomriot@hotmail.com colbzilla View Profile
« Reply #1 on: January 22, 2008, 04:46:03 AM »

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
Logged

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
Posts: 26
Offline Offline
View Profile Email
« Reply #2 on: February 13, 2008, 02:46:41 AM »

do you run the program from a network share? Because i had the same problems when i ran the program directly from my server.
Logged
Guru
*
Karma: +16/-0
Posts: 177
Offline Offline
atomriot@hotmail.com colbzilla View Profile
« Reply #3 on: February 13, 2008, 02:51:36 AM »

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.
Logged

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

Pages: [1]
Print
Jump to:  

Clicky Web Analytics