Post a reply

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


wsh script error

Thanks! :)

WSH script error: Cannot add reference: {A0B93468-D98A-4845-A234-8076229AD93F}

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.