Problems with .NET and MQ 5.3

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I was hoping that someone could help me out with a problem that I am having. To give you some more info I have installed MQ 5.3 on a Win 2K machine with .NET ver 1.1 using amqmdnet.dll. When I try to create the queue manager I get following error message..

The type initializer for \"IBM.WMQ.MQTrace\" threw an exceptio

STACK TRACE -> " at IBM.WMQ.MQTrace.Entry(UInt32 component, UInt32 module)\r\n at IBM.WMQ.MQBaseObject.trEntry(UInt32 module)\r\n at IBM.WMQ.MQQueueManager.Connect(String queueManagerName)\r\n at IBM.WMQ.MQQueueManager..ctor(String queueManagerName)\r\n at test.Form1.button1_Click(Object sender, EventArgs e) in c:\\projects\\test\\form1.cs:line 106

But when I port the source code over to an XP machine with everything else the same I am able to connect to the queue manager. I can't seem to be able to find anything out there on the internet. Any assistance on this would be greatly appreciated

Thanks.
 
Do you have WMQ v5.3 + CSD05 on the machine?

I think IBM certifies amqdnet.dll to work only with CSD05 or above.

There is an mqseries forum that may be of help. www.mqseries.net
-Dino


Jason said:
I was hoping that someone could help me out with a problem that I am
having. To give you some more info I have installed MQ 5.3 on a Win 2K
machine with .NET ver 1.1 using amqmdnet.dll. When I try to create the
queue manager I get following error message...
The type initializer for \"IBM.WMQ.MQTrace\" threw an exception

STACK TRACE -> " at IBM.WMQ.MQTrace.Entry(UInt32 component, UInt32
module)\r\n at IBM.WMQ.MQBaseObject.trEntry(UInt32 module)\r\n at
IBM.WMQ.MQQueueManager.Connect(String queueManagerName)\r\n at
IBM.WMQ.MQQueueManager..ctor(String queueManagerName)\r\n at
test.Form1.button1_Click(Object sender, EventArgs e) in
c:\\projects\\test\\form1.cs:line 106"
But when I port the source code over to an XP machine with everything else
the same I am able to connect to the queue manager. I can't seem to be able
to find anything out there on the internet. Any assistance on this would be
greatly appreciated!
 
Back
Top