Author |
Message
|
javagals |
Posted: Mon Jan 05, 2009 7:09 am Post subject: Compatibility issue with VB/.NET dll with MQ server running |
|
|
Apprentice
Joined: 13 Aug 2008 Posts: 34
|
Hello,
I am having issue with one of the client connecting to MQ server using VB/.NET client. Following are the details.
Server details:
6.0.1.0 verstion on Redhat linux 4.
Client details
VB/.NET Client using VB/.NET dll downloaded (6.0.2.4)
Error at client end --> 2038
Error at server end --> During communication with the remote queue manager, the channel program detected a protocol error. The failure type was 10 with associated data of 50
OBSERVATIONS
VB/.NET client from client host can successfully connect to MQ (6.0.2.4) server running on Windows server.
VB/.NET client from client host fails to connect to MQ (6.0.1.0) server running on redhat linux 4.
Java client from client host successfully connects to MQ (6.0.1.0) server running on redhat linux 4.
Default MQ utility 'amqsputc" from client host successfully connects to MQ (6.0.1.0) server running on redhat linux 4.
Could you please kindly let me know why we cannot use VB/.NET client to connect to MQ server running on linux server? Is this a compatibility issue with VB/.NET dll and mq server? is there any known issue with VB/.NET connectiing to MQ server running on linux?
Regards, _________________ Sridhar Javagal
Solution design and delivery |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Jan 05, 2009 8:32 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Check out what a 2038 return code means. It has nothing to do with connectivity...you are already connected when you get that error! _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
javagals |
Posted: Wed Jan 07, 2009 4:01 am Post subject: |
|
|
Apprentice
Joined: 13 Aug 2008 Posts: 34
|
Apologies. The error code is 2059 (Queue manager is not available).
With java client I can connect to the same queue manager and with default "amqmputc" I can connect but, with VB client using amqmdnet.dll I get the above error.
amqmdnet.dll version is 1.0.0.3
Do you think there is a compatibility issue here? _________________ Sridhar Javagal
Solution design and delivery |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jan 07, 2009 4:09 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
javagals wrote: |
with VB client using amqmdnet.dll I get the above error.
amqmdnet.dll version is 1.0.0.3
Do you think there is a compatibility issue here? |
I think there's more likely to be a configuration issue. It sounds like the .NET is trying to establish a managed connection (resulting in a 2059) while the C & Java are making a "standard" connection and working. So I'd start with verifying the managed parameters then testing a VB app making a "standard" connection.
Also the versions are very close to be incompatable. Which of course is not proof of anything. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
javagals |
Posted: Wed Jan 07, 2009 8:17 am Post subject: |
|
|
Apprentice
Joined: 13 Aug 2008 Posts: 34
|
What is a standard connection and managed connection in terms of VB/.NET scenario. Please kindly explain and let me know how to identify and verify the type of connection. _________________ Sridhar Javagal
Solution design and delivery |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jan 07, 2009 8:23 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
javagals wrote: |
What is a standard connection and managed connection in terms of VB/.NET scenario. Please kindly explain and let me know how to identify and verify the type of connection. |
Check the .NET documentation for full details. A facility within .NET (which IIRC uses the dll in question) allows a managed connection to be set up within the application that doesn't use the standard client libs. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
javagals |
Posted: Wed Jan 07, 2009 9:00 am Post subject: |
|
|
Apprentice
Joined: 13 Aug 2008 Posts: 34
|
If I use amqmdnet.dll then, am I using managed connection? My connection works ok with "amqmputc" command but it fails with the VB/.NET client using amqmdnet.dll with 2059 error.
I am using 1.0.0.3 version of amqmdnet.dll. I see many copies of this dll with different size in IBM download site. How do I find out which one I need?
I am connecting to MQ server version 6.0.1.0 on Linux X86_64 box.
Please let me know abt it.
Regards, _________________ Sridhar Javagal
Solution design and delivery |
|
Back to top |
|
 |
|