Topic "Error Registering 32 Bit Assembly"

Author Message
madwizard78
[View user's profile]

Joined: 2017-01-19
Posts: 2
Location: So. Cal
When I attempt to register the 32 bit option I get the error message:

RegAsm : error RA0000 : Unable to locate input assembly 'c:\windows\system32\WinSCPnet.dll' or one of its dependencies.

The command I run is:

%WINDIR%\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe c:\windows\system32\WinSCPnet.dll /codebase /tlb:WinSCPnet32.tlb

But when I do the 64 bit version, it works properly:

%WINDIR%\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe c:\windows\system32\WinSCPnet.dll /codebase /tlb:WinSCPnet64.tlb

This is on an older server (windows Server 2003 R2) but 2 other servers it worked. I did just notice that the one not working is x64 Edition. Could that be it and any ideas?

Thanks very much in advance.
madwizard78
[View user's profile]

Joined: 2017-01-19
Posts: 2
Location: So. Cal
Well I'll reply to my own. I got it resolved. I moved the file from the c:\windows\system32 folder into c:\windows\syswow64 and registered it with it there and it had no issues.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26504
Location: Prague, Czechia
On 64-bit systems, the c:\windows\system32 is a magic folder that cannot be access by 32-bit applications.
Advertisements

You can post new topics in this forum






Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License