17-04-2019, 05:22 PM
Hi,
This message is a continuation of an earlier post regarding PowerShell errors occurring immediately upon the launch of the ASG-RD PowerShell console.
This is the error:
import-module : Could not load file or assembly 'CloudAdminAPI, Version=11.0.6104.1, Culture=neutral,
PublicKeyToken=8dc24a72506dc878' or one of its dependencies. The system cannot find the file specified.
At line:1 char:56
+ [reflection.assembly]::loadFrom('.\ASGRD-PSAPI.dll') | import-module
+ ~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
The named DLL is indeed in the path: C:\Program Files\ASG-Remote Desktop 2019 (X64)
The .dll library in question has been re-registered on the Windows 10 Build 1803 system (fully patched).
I have tried launching the shell from a PS script that has all the pathing information hard-coded. That too does not work.
Error messages and application log content have been sent previously.
Please help to rectify this issue as there is an active project to automate credential retrieval from Thycotic PCS and it relies on PowerShell and REST API working through ASG-RD PowerShell.
This message is a continuation of an earlier post regarding PowerShell errors occurring immediately upon the launch of the ASG-RD PowerShell console.
This is the error:
import-module : Could not load file or assembly 'CloudAdminAPI, Version=11.0.6104.1, Culture=neutral,
PublicKeyToken=8dc24a72506dc878' or one of its dependencies. The system cannot find the file specified.
At line:1 char:56
+ [reflection.assembly]::loadFrom('.\ASGRD-PSAPI.dll') | import-module
+ ~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
The named DLL is indeed in the path: C:\Program Files\ASG-Remote Desktop 2019 (X64)
The .dll library in question has been re-registered on the Windows 10 Build 1803 system (fully patched).
I have tried launching the shell from a PS script that has all the pathing information hard-coded. That too does not work.
Error messages and application log content have been sent previously.
Please help to rectify this issue as there is an active project to automate credential retrieval from Thycotic PCS and it relies on PowerShell and REST API working through ASG-RD PowerShell.