I am new to MQSeries and I need to connect a web service created in vb.net to a MQSeries queue running on as/400. I have been trying the code below and have been getting the following errors on my client machine MQRC_Q_MGR_NOT_AVAILABLE - reason code 2059, and when I copy this same code to my application server i get the following error MQRC_UNKNOWN_OBJECT_NAME - reason code 2085. I am totally stumped on this one and all of our IBM programmers and MQ specialists are clueless to the .net world so I need your help. I have read most of the posts dealing with MQseries.net and vb and have tried everything, including Koblans MQSeries.NET program and the MQAX200.dll. Any ideas on what I need to do, thanks.
I also have MQSeries Client installed on my machine and the application server. The environment variables are also set up on both machines and when I run them in DOS they connect to the queue just fine, it just the vb.net code that they error out in.
Todd
Code:
Dim mqSession As New MQSession
Dim mqManager As MQQueueManager
Dim mqQueue As MQQueue 'Queue Object
Dim mqMessage As MQMessage
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum