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 » 2035 errors with mqopen/put

Post new topic  Reply to topic
 2035 errors with mqopen/put « View previous topic :: View next topic » 
Author Message
gvsagar
PostPosted: Wed May 08, 2002 10:37 am    Post subject: Reply with quote

Newbie

Joined: 30 Apr 2002
Posts: 8

I am trying to connect to a queue and put a message in it, the target queue and Manager resides on a remote machine.
I am using C++ MQI in my client program, to do I did the Channel definition in my program by giving, remote machine's IP, port number, channel name, user id and password. The problem is when I am trying to connect my requet going with my local machines user identity (MY NT login ID), not with the specified user id in the channel, so I am getting 2035 not authorized error.
I really don't know how to bypass my NT login ID to connect the remote queues.
Can any body please help me.
Thanks in advacne.
Sagar
Back to top
View user's profile Send private message
mqonnet
PostPosted: Fri May 10, 2002 3:51 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

You never specified which is the other platform. In any case, you need to have a principal defined with the same userid as your NT userid and assign appropriate permissions to access objects of the specified QM. This way you would be granted access at the other end.

Alternatively, if you want this userid to be granted all permissions, you could hardcode the userid to "mqm" within the useridentifier field. This way the userid that goes over to the remote machine would be "mqm" and not your NT userid. Refer to the manuals to achieve the same. Need to Open and put with context.

Cheers.
Kumar

_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail 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 » 2035 errors with mqopen/put
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.