当前位置:编程学习 > 网站相关 >>

type initializer for 'IBM.WMQ.MQQueueManager'.

我在自己的电脑上装了Websphere MQ client(7.0.1),用c#写了个应用程序去连接在另一台电脑上的Websphere MQ Server(7.0)。在程序中已经引用了C:\Program Files\IBM\WebSphere MQ\bin\amqmdnet.dll。
连接代码是这样写的:
MQEnvironment.Host =computer name;
MQEnvironment.Channel=channel name;
MQEnvironment.Port = 1414;
MQQueueMangeer qmgr = new MQQueueMangeer("qmgr name");//在这里抛出了type initializer for 'IBM.WMQ.MQQueueManager' exception.

调试很久都不行,请大家帮忙想想原因,谢谢!

  --------------------编程问答-------------------- 楼主这个问题解决了吗? --------------------编程问答-------------------- 我也遇到该问题,实在是郁闷呀。楼主这个问题解决了吗?
补充:企业软件 ,  中间件
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,