Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Regasm - Unable to locate input assembly

Tags:

.net

com

regasm

I wrote a .NET assembly and registered it successfully in my local machine using Regasm but when I try to do that in the target server, I am getting the following error.

Regasm :error RA0000 : Unable to locate input assembly "full dll path" or one of its dependencies.

My local machine is a Windows XP 32 bit machine and the Server is a 32 bit Windows 2003 Server.

I am using the following command for regasm: Regasm "full file path" /tlb:filename.tlb

Does anyone know what I am missing here?

Thanks.

like image 289
Srinivasan Avatar asked Jan 19 '23 04:01

Srinivasan


1 Answers

I had this issue when I was trying to register a DLL on a 64Bit Win 7 install, after running process monitor I found out it was looking for the DLL in the SysWOW64 folder as well as system32, after placing the DLL file in both locations I was able to register it correctly.

like image 55
Paul Knight Avatar answered Jan 31 '23 20:01

Paul Knight