Hello.
I'm trying to transfer old vscript (wsh) to new server, from 2008R2 to 2022.
I downloaded WinSCP assembly, registered DLL's by this commands:
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe "C:\Program Files\WinSCP\WinSCPnet.dll" /codebase /tlb:WinSCPnet32.tlb
%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe "C:\Program Files\WinSCP\WinSCPnet.dll" /codebase /tlb:WinSCPnet64.tlb
After all, I'm trying to run script, and get error:
Cannot add reference: {A0B93468-D98A-4845-A234-8076229AD93F}
(see attached file)
/comregistration
shows than everything is OK...
Just don't have any idea what to do else.