Error Message
PNG
Console
Returned exception from API call ADSModule/UpdateTargetInfo
FileLoadException
[0] (FileLoadException) : Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at SQLiteNetExtensions.Extensions.TextBlob.Serializers.JsonBlobSerializer.Serialize(Object element) at SQLiteNetExtensions.Extensions.TextBlob.TextBlobOperations.UpdateTextBlobProperty(Object element, PropertyInfo relationshipProperty) at SQLiteNetExtensions.Extensions.WriteOperations.RefreshForeignKeys(Object element) at SQLiteNetExtensions.Extensions.WriteOperations.UpdateWithChildren(SQLiteConnection conn, Object element) at GSMyAdmin.Providers.SQLiteDataProvider.Update[T](T obj) at ADSModule.RemoteADSController.UpdateInfo(Guid InstanceId, String FriendlyName, Uri Url, String Description, List`1 Tags) at ADSModule.WebMethods.UpdateTargetInfo(Guid Id, String FriendlyName, Uri Url, String Description, List`1 Tags) at GSMyAdmin.WebServer.WebAttributes.InvokeMethod(String MethodName, JObject Data, IHttpRequest request, IWebSession Session, WebMethodsBase MethodsClass, String RawRequest) at GSMyAdmin.WebServer.APIService.InvokeAPI(IHttpRequest request, IWebSession Session, JObject Data, String RequestModule, String RequestMethod, String RawRequest)
The Problem
Targets won’t update.
Trobblesuting
- restarting the controller server
- checking the connection
- As, @Mike Mike suggested doing this
- Following @Mike Instructions on the old Thread
Server & Version information
Server
Controller Hybrid Mode
Windows 10 Enterprise
64GB RAM
40TB storage
Target 1
Windows 10 Enterprise
32GB RAM
8TB Storage
Target 2
Ubuntu 20.04
16GB RAM
2TB Storage
AMP
AMP Release “Triton”
v2.3.4.4, built 26/07/2022 20:08
All on The Same Version
Problems with assembly mHttp
When trying to reconfigure the instance to the main controller
This is the error after running the command
ampinstmgr RepairAuth
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error] at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error] at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error] at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error] at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error] at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error] ReflectionTypeLoadException
[Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
[Error] at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName)