Add-Type : Could not load file or assembly
Hi,
I am using the ps script to retrieve a file from the FTP server and i get the below error.
I do not have any block on my WinSCPnet.dll file. Please help.
Add-Type : Could not load file or assembly 'file://\\sapfilesrv03.csgsap.csg-it
.net\sap$\interfaces\PRD\BBG\Concur\Sourcecode\WinSCPnet.dll' or one of its
dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
At G:\SAP\RedwoodCPSLogFiles\jobs\7128\6970\script.ps1:3 char:1
+ Add-Type -Path $dllpath
I am using the ps script to retrieve a file from the FTP server and i get the below error.
I do not have any block on my WinSCPnet.dll file. Please help.
Add-Type : Could not load file or assembly 'file://\\sapfilesrv03.csgsap.csg-it
.net\sap$\interfaces\PRD\BBG\Concur\Sourcecode\WinSCPnet.dll' or one of its
dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
At G:\SAP\RedwoodCPSLogFiles\jobs\7128\6970\script.ps1:3 char:1
+ Add-Type -Path $dllpath