Serial Port GPS Error

Discussion created by shaun_weston-eagle-co-nz-esridist on Jul 17, 2012
Running into an issue with reading GPS coordinates from a GPS receiver on a COM port. My application crashes at this point:

// Specifiy the COM port that the GPS receiver is connected to
locationWatcher = new SerialPortGpsCoordinateWatcher()
PortName = ConfigurationManager.AppSettings["gpsPort"]
gpsLayer.GeoPositionWatcher = locationWatcher;

And I have debugged the application to find this error:

"System.ArgumentOutOfRangeException: The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset"