This project is read-only.

Security Exception Running GPSDemo

Feb 9, 2011 at 11:04 AM

I am trying to get look at the GPS demo on a test machine, but every time I run it I get a security exception.

Attempt by security transparent method 'DotSpatial.Positioning.SerialDevice.get_AllowConnections()' to access security critical method 'DotSpatial.Positioning.Devices.get_AllowSerialConnections()' failed.

I suppose that this is a problem of allowing the application full trust, but I am unable to resolve the issue.  Is anyone else getting this error?  If I am going to install an application based detecting GPS devices on a bunch of mobile devices how can I ensure that the application has the correct privileges?

Thanks in advance.

Feb 22, 2011 at 6:49 AM
Edited Feb 22, 2011 at 7:42 AM

See the comments at the bottom of the DotSpatial.Positioning documentation

There is a thread here that might help...

Nov 14, 2012 at 8:06 AM

Apparently fixed in work item 421!