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 » Need help regard error 2035 and Userid

Post new topic  Reply to topic
 Need help regard error 2035 and Userid « View previous topic :: View next topic » 
Author Message
Rls65
PostPosted: Thu Jan 29, 2004 5:54 am    Post subject: Need help regard error 2035 and Userid Reply with quote

Newbie

Joined: 29 Jan 2004
Posts: 7

Hi,

I need some C# .NET samples of how to connect to a remote Queue manager who only accepts a scpecial userid.

The envoriment is following:

My program is running on a Windows 2000 enviroment with MQ Series 5.3 client (CSD05) installed. The software is connecting to a remote MQ Series queue manager located on an IBM OS/390. The MQ Series queue manager only allows a special UserID to connect.

If I logon on my Windows machine with that account name the program connects correctly but when I logon with another account name I get Error 2035 (Not authorized).

There are a lot of messages regarding this issue but I do not understand how I can set a UserID in my software and then connect to the Queue manager.

Could somebody please explain this to me and if possible give me an example in C# of how to solve this problem.
Someone mentioned QMCD and AlternateUserID but I cant find out how this works.


Please HELP!!!!!

Back to top
View user's profile Send private message
mqonnet
PostPosted: Thu Jan 29, 2004 6:05 am    Post subject: Reply with quote

Grand Master

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

"If I logon on my Windows machine with that account name the program connects correctly but when I logon with another account name I get Error 2035 (Not authorized). "

That's because you dont have a principal defined with the logon id of the other account on the remote system. It is as simple as creating a user with the same name(including case) on Os/390, if that is what you are trying to access.

As for Alternateuserid, you could use it by specifying the userid of your choice in the open itself.

Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rls65
PostPosted: Thu Jan 29, 2004 6:12 am    Post subject: Reply with quote

Newbie

Joined: 29 Jan 2004
Posts: 7

I know that I could add another userid on the IBM OS/390 but we would like to avoid to add a lot of different userids on the IBM OS/390.

Thats why I would like to add a static userID in my application so we don't have to maintain the userID list on the IBM side.

Any ideas about how to set a userID when connecting to a remote Queue Manager???????

Back to top
View user's profile Send private message
mqonnet
PostPosted: Thu Jan 29, 2004 6:18 am    Post subject: Reply with quote

Grand Master

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

http://www.mqseries.net/phpBB2/viewtopic.php?t=11247&highlight=alternateuserid

Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rls65
PostPosted: Thu Jan 29, 2004 7:46 am    Post subject: Reply with quote

Newbie

Joined: 29 Jan 2004
Posts: 7

Thanks looked at the link but still do not understand how to solve the problem in C#.
How do I access the AlternateUserID without creating a new instance of MQQueueManager??

Plzzzz HELP!!! Need an example in C#.
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 » Need help regard error 2035 and Userid
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.