Regasm - Unable to locate input assembly

Srinivasan picture Srinivasan · Jul 20, 2011 · Viewed 14.2k times · Source

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.

Answer

Paul Knight picture Paul Knight · Feb 28, 2017

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.