Regasm - Unable to locate input assembly

15,264

Solution 1

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.

Solution 2

My guess is your path might be having spaces. Try placing the dll to a simple path like "c:\FolderName\DllName" and then execute.

Share:
15,264
Admin
Author by

Admin

Updated on June 09, 2022

Comments

  • Admin
    Admin almost 2 years

    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.