ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » ActiveX API ReasonCode 6111 setting Correlation ID

Post new topic  Reply to topic
 ActiveX API ReasonCode 6111 setting Correlation ID « View previous topic :: View next topic » 
Author Message
feri
PostPosted: Thu Mar 08, 2007 2:29 am    Post subject: ActiveX API ReasonCode 6111 setting Correlation ID Reply with quote

Newbie

Joined: 27 Mar 2006
Posts: 5
Location: Austria, Vlbg, Dornbirn

Hi,

we are using MQ with the ActiveX API within Navision. This program is already running for some time without a problem.

Recently we added some functionality. We already had some problems mentioned here http://www.mqseries.net/phpBB2/viewtopic.php?t=33338&highlight=6111.
Btw, the problem with the dll to check the service status is solved. I got a different dll file from my colleague without a memory bug.

At the moment we test the new functionality of that program on all servers of our subsidiaries. On most of the servers it is working without a problem. Just on the Singapore server we get this error:
Code:

The call to member CorrelationId failed. mqax200 returned the following  message. MQAX200.MQMessage::SetCorrelationId CompletionCode = 2, ReasonCode 6111, ReasonName = MQRC_BINARY_DATA_LENGTH_ERROR


This is the code within Navision, where I set the Correlation ID.
Code:

// Set the ReplyMessage - CorrelationID with the MessageID from the RequestMessage
PutMessage.CorrelationId := RecMessage.MessageId();


I thougth about a multilanguage problem, but the MQ Server is installed in english.

I compared the MessageID from a working testmessage with the problematical message and I don't see a difference.

So maybe someone has an ideay?

Best Regards
feri
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Thu Mar 08, 2007 2:38 am    Post subject: Re: ActiveX API ReasonCode 6111 setting Correlation ID Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

feri wrote:

I thougth about a multilanguage problem, but the MQ Server is installed in english.


Both MessageId and CorrelationId are (or should be) defined as 24 byte binary arrays, one of the principle reasons being to ensure they're the same on all language platforms. It's therefore unlikely to be a language issue, especially as the error description refers to binary length error.

I would infer that the copy on that particular failing server is not setting a 24 byte area; possibly appending an extra null or something of that nature. This would mean that ids would look the same (depending on what you're using to examine them). I'd make a start by checking that the failing server has the same levels and software stack as the working servers.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
feri
PostPosted: Thu Mar 08, 2007 4:46 am    Post subject: Re: ActiveX API ReasonCode 6111 setting Correlation ID Reply with quote

Newbie

Joined: 27 Mar 2006
Posts: 5
Location: Austria, Vlbg, Dornbirn

Hi,

Vitor wrote:
(depending on what you're using to examine them)

I used "WebSphere MQ-Explorer" to get the MessageID.

Vitor wrote:
I'd make a start by checking that the failing server has the same levels and software stack as the working servers.

Thanks for the hint, I asked our MQ Server Admin to take a look.

Best Regards
feri
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » ActiveX API ReasonCode 6111 setting Correlation ID
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.