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 » General Discussion » Getting 2156 error in vb.net put message to remote queue

Post new topic  Reply to topic
 Getting 2156 error in vb.net put message to remote queue « View previous topic :: View next topic » 
Author Message
mike2315
PostPosted: Tue May 26, 2015 8:38 am    Post subject: Getting 2156 error in vb.net put message to remote queue Reply with quote

Newbie

Joined: 14 Apr 2004
Posts: 4
Location: New York

I intalled MQ 8 on Vertual server copied programs on new server getting 2156 error when put message into queue. Any Idea what can cause the error????
Thanks
Back to top
View user's profile Send private message MSN Messenger
bruce2359
PostPosted: Tue May 26, 2015 8:45 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9399
Location: US: west coast, almost. Otherwise, enroute.

Did you research ReasonCode 2156? From a $ or C: prompt, type 'mqrc 2156'. Or, go to google, and search for mq+2156. The explanations you will find there are clear.

What version of mq was the old server? Did the program work before?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
mike2315
PostPosted: Tue May 26, 2015 9:02 am    Post subject: Reply with quote

Newbie

Joined: 14 Apr 2004
Posts: 4
Location: New York

The old server 5.3 Windows 2003 server new Server is Windows 2012 R2 MQ version 8

I search google I found following but not sure what to do.

MQRC_RESPONSE_RECORDS_ERROR


Explanation

An MQOPEN or MQPUT1 call was issued to open a distribution list (that is, the RecsPresent field in MQOD is greater than zero), but the MQRR response records are not specified correctly. One of the following applies:• ResponseRecOffset is not zero and ResponseRecPtr is not zero and not the null pointer.
• ResponseRecPtr is not a valid pointer.
• ResponseRecPtr or ResponseRecOffset points to storage that is not accessible.

This reason code occurs in the following environments: AIX®, HP-UX, IBM® i, Solaris, Windows, plus IBM MQ clients connected to these systems.


Completion Code

MQCC_FAILED


Programmer response

Ensure that at least one of ResponseRecOffset and ResponseRecPtr is zero. Ensure that the field used points to accessible storage.
Back to top
View user's profile Send private message MSN Messenger
Vitor
PostPosted: Tue May 26, 2015 9:18 am    Post subject: Reply with quote

Grand High Poobah

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

mike2315 wrote:
The old server 5.3 Windows 2003 server new Server is Windows 2012 R2 MQ version 8


That's a big, big change in MQ versions. That's a fairly serious change in Windows architecture. I bet the VB.NET you're using isn't current either.

mike2315 wrote:
I search google I found following but not sure what to do.


I'd start with:

mike2315 wrote:

Programmer response

Ensure that at least one of ResponseRecOffset and ResponseRecPtr is zero. Ensure that the field used points to accessible storage.


I'd make sure the .NET assemblies match the new MQ not the old one. I'd make sure that the fields mentioned in the response are validly defined and initialized.

Basically I'd review the VB like it was brand new and bug fix. You've changed so much infrastructure it might as well be.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mike2315
PostPosted: Tue May 26, 2015 9:33 am    Post subject: Reply with quote

Newbie

Joined: 14 Apr 2004
Posts: 4
Location: New York

I am using MQ.dll on vb.net program to open and put message in the queue. Probably this dll is outdated. Any suggestions where to get most current dll for MQ 8 on Windows 2012

Thanks
Back to top
View user's profile Send private message MSN Messenger
Vitor
PostPosted: Tue May 26, 2015 10:08 am    Post subject: Reply with quote

Grand High Poobah

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

mike2315 wrote:
I am using MQ.dll on vb.net program to open and put message in the queue. Probably this dll is outdated. Any suggestions where to get most current dll for MQ 8 on Windows 2012


Should be part of the MQ 8 install on that server.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Getting 2156 error in vb.net put message to remote queue
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.