The resource Argument_UTCOutOfRange was not found in mscorlib Parameter name: offset

Nov 25, 2011 at 9:23 AM

             Hey guys, I have used FakeGPS.cs class in my project which is Location Service based. I have used instance of IGeoPositionWatcher . But when the control get entered in void _timer_Tick(object sender, EventArgs e) method, it throws an run time exception:-

       "The resource Argument_UTCOutOfRange was not found in mscorlib                    Parameter name: offset"


Any idea why??? Please help me out. Thanx in advnc.

Jul 25, 2012 at 10:56 AM

In the code replace:

_lastUpdate = DateTime.MinValue; by _lastUpdate = DateTime.Now

It has no effect on the outcomes.