Reputation: 49
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.
Upvotes: 4
Views: 19379
Reputation: 81
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.
Upvotes: 8
Reputation: 163
My guess is your path might be having spaces. Try placing the dll to a simple path like "c:\FolderName\DllName" and then execute.
Upvotes: 1