本文介绍了无法连接IBM MQ通过ASP.NET - 无法加载DLL'amqxcs2.dll“:指定的模块找不到。 (异常来自HRESULT:0x8007007E)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想检查与积极IBM MQ的一个连接,但我得到这个错误..
无法加载DLL'amqxcs2.dll:指定的模块找不到。 (异常来自HRESULT:0x8007007E)
我使用下面的code ..
包括在宾amqmdnet.dll和amqmdxcs.dll并给出了相同的参考项目。

I am trying to check the connection with one of active IBM MQ’s but I am getting this error..Unable to load DLL 'amqxcs2.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)I am using the following code..Included amqmdnet.dll and amqmdxcs.dll in bin and gave the same reference to the project.

使用IBM.WMQ;
使用IBM.WMQ.PCF;

using IBM.WMQ;using IBM.WMQ.PCF;

此任何补救办法。
谢谢
Sreenath

Any remedy for this.ThanksSreenath

推荐答案

看来这个文件不是present,以确保库或者是当应用程序需要它是或图书馆是在GAC中。

Seems that the file is not present, make sure the library is either where the application needs it to be or the library is in the GAC.

如果该文件是present和错误仍然发生,确保文件不会被阻断。打开该文件的属性,并检查是否有在属性窗口的常规选项卡按钮解除阻止。如果是这样,它KLICK然后再试一次。这似乎当你从一个不可信源下载的存档下载库或提取出库的情况发生。

If the file is present and the error still occurs, make sure the file is not blocked. Open the file properties and check if there is a button "unblock" in the "General" tab of the properties window. If so, klick it and try again. This seems to happen when you download a library or extract a library from an archive downloaded from an untrusted source.

这篇关于无法连接IBM MQ通过ASP.NET - 无法加载DLL'amqxcs2.dll“:指定的模块找不到。 (异常来自HRESULT:0x8007007E)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 12:56