Regasm - 无法找到输入组件

发布于 2024-11-25 21:02:51 字数 278 浏览 4 评论 0原文

我编写了一个 .NET 程序集并使用 Regasm 在本地计算机中成功注册了它,但是当我尝试在目标服务器中执行此操作时,出现以下错误。

Regasm:错误 RA0000:无法找到输入程序集“完整 dll 路径”或其依赖项之一。

我的本地机器是Windows XP 32位机器,服务器是32位Windows 2003 Server。

我正在使用以下命令进行高潮: Regasm“完整文件路径”/tlb:filename.tlb

有谁知道我在这里缺少什么?

谢谢。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

缺⑴份安定 2024-12-02 21:02:51

当我尝试在 64 位 Win 7 安装上注册 DLL 时,我遇到了这个问题,运行进程监视器后,我发现它正在 SysWOW64 文件夹以及 system32 中寻找 DLL,将 DLL 文件放置在这两个位置后我能够正确注册。

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.

全部不再 2024-12-02 21:02:51

我的猜测是你的路径可能有空格。
尝试将 dll 放置到一个简单的路径,例如“c:\FolderName\DllName”,然后执行。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文