N-central Troubleshooting
ERROR *** AMP execution failed with error: Exception calling ""LoadFrom"" with ""1"" argument(s): ""Could not load file or assembly 'file:///C:\Program Files (x86)\N-able Technologies\Windows Agent\bin\PSLogging.DLL' or one of its dependencies.
Last Modified
Wed Oct 31 14:53 GMT 2018
Description
- Partner has a AMP based service that is in a misconfigured state .
ERROR:
Error Message: Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///C:\Program Files (x86)\N-able Technologies\Windows Agent\bin\PSLogging.DLL' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded." Error StackTrace: at com.nable.agent.AMPBasedMonitoring.AMPBasedMonitoringScanDetails.ExecuteAMPAndCollectData(AMPBasedMonitoringModuleParams moduleParams, Dictionary`2 thresholdParamList, IAgentLog logger)
Error Message: Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///C:\Program Files (x86)\N-able Technologies\Windows Agent\bin\PSLogging.DLL' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded." Error StackTrace: at com.nable.agent.AMPBasedMonitoring.AMPBasedMonitoringScanDetails.ExecuteAMPAndCollectData(AMPBasedMonitoringModuleParams moduleParams, Dictionary`2 thresholdParamList, IAgentLog logger)
Environment
- N-able N-central
Solution
- The issue is caused by a problem with usage of -File and -Directory parameters in get-childitem command as these are not supported in lower version of PowerShel
- To resolve the issue, upgrade the PowerShell of the affected device to version 3.0 or newer.
- Please take note that upgrading PowerShell to V3 for Windows SBS 2011 will encounter issues: LIN