OS Name/Version: Windows 10 Pro Build 19045
Product Name/Version: AMP Instance Manager v2.4.3 built 14/03/2023 23:16
Problem Description:
I’ve been trying to update AMP to 2.4.3. When I click the “Update” button in the web interface it simply stops responding, no matter how long I wait.
So I tried the CLI, and I get an unhandled exception there.
When I tried “ampinstmgr updateall” in the powershell I get the following error:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
--- End of inner exception stack trace ---
at InstanceManagerPlugin.LocalInstanceManager..ctor(ILogger log, IAuditLog audit, IPlatformInfo platformInfo, IRunningTasksManager tasks, IFeatureManager features, IAuthenticationProvider auth, IAMPInstanceInfo instance)
at InstanceManagerCLI.Core.<Run>d__41.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 InstanceManagerCLI.Program.<Main>()
Searching for this kind of error returns issues with library bindings when compiling the project.
I don’t think I can fix this as an end user.
Steps to reproduce:
- Step 1: run ampinstmgr in command line
Actions taken to resolve so far:
-Repaired amp manager with installer
-uninstalled and Reinstalled amp manager with the latest installer
Installed .Net Framework 4.8.1 ( 4.8 Already installed )