Avatar

Error after update of GeoTab nuGet packet to 5.7.1901

0

After updating to the latest GeoTab nuGet packet, I am getting the following error when attempting to call your API:

'Geotab.Checkmate.Web.WebServerInvoker' threw an exception.

Help please?

Thanks,

Jose

Jose Jara

Please sign in to leave a comment.

2 comments

0
Avatar

Hello Jose,

Can you please provide some more information on the exception that you are getting?

A code snippet of the call that you are making along with a detailed exception trace would be helpful to understand what the problem is.

Shivansh Singla 0 votes
0
Avatar

Here is the entire exception trace.  Thank you so much.

This happens just in authentitcation, or any call with the API.{anything}

Exception thrown in Sync() line 1045: System.TypeInitializationException: The type initializer for 'Geotab.Checkmate.Web.WebServerInvoker' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'System.Runtime.InteropServices.RuntimeInformation, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at Geotab.Checkmate.Web.WebServerInvoker..cctor()
--- End of inner exception stack trace ---
at Geotab.Checkmate.Web.WebServerInvoker..ctor(String url, Nullable`1 timeout, HttpMessageHandler overrideHttpMessageHandler)
at Geotab.Checkmate.API.<AuthenticateImplAsync>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Geotab.Checkmate.API.<CallImplAsync>d__54`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Geotab.Tasks.TaskExtension.EndWait(Task task)
at Geotab.Tasks.TaskExtension.ThrowTaskExceptionIfFaulted(Task task)
at Geotab.Tasks.TaskExtension.IsTaskStatusComplete(Task task, CancellationToken token)
at Geotab.Tasks.TaskExtension.TryWaitSync(Task task, TimeSpan timeout, CancellationToken token)
at Geotab.Tasks.TaskExtension.WaitSync(Task task, TimeSpan timeout, CancellationToken token)
at Geotab.Tasks.TaskExtension.WaitSync[TResult](Task`1 task, TimeSpan timeout, CancellationToken token)
at Geotab.Checkmate.API.Call[T](String method, Type type, Object parameters)
at ManagerPlus.Plugin.GeoTab.GeoTabWorker.Sync() in E:\nightSrc\Integration\ManagerPlus.Plugin.GeoTab\GeoTabWorker.cs:line 1023

Jose Jara 0 votes