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 » IBM.WMQ.MQException: CompCode: 2, Reason: 2035

Post new topic  Reply to topic
 IBM.WMQ.MQException: CompCode: 2, Reason: 2035 « View previous topic :: View next topic » 
Author Message
malai
PostPosted: Thu Dec 04, 2003 5:03 am    Post subject: IBM.WMQ.MQException: CompCode: 2, Reason: 2035 Reply with quote

Newbie

Joined: 04 Dec 2003
Posts: 8

I installed MA7P supportPac(.Net classes for MQ Series) and got the sample code .When i run the vmqsput.vb file(to put messages over the queue),its working fine.but the same when i try to implement in Asp.Net application i am getting the Error Message.
IBM.WMQ.MQException: CompCode: 2, Reason: 2035
Hope its a security problem........
Any body can give a solution for this...
thanks in advance...

MAlai.v
Back to top
View user's profile Send private message
JasonE
PostPosted: Thu Dec 04, 2003 8:34 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

2035 == security exception. What userid is the ASP page running under?
What o/s? Also any FDC's or messages in the QMgr error log?
Back to top
View user's profile Send private message
malai
PostPosted: Thu Dec 04, 2003 9:27 pm    Post subject: Reply with quote

Newbie

Joined: 04 Dec 2003
Posts: 8

thanks in advance.....

i am using win2000.
I have tried logged in as administrator and our used id created by our organisation..it doesnt work out...
Do i need to do anything in mqm group.... i mean do i need to add aspnet account to mqm group ....or somethihng else..
The Error log details are as follows:
------------------------------------------------------------------------------
Entity 'aspnet' has insufficient authority to access object 'QM_dt490_thiru'.

The specified entity is not authorized to access the required object.
The following requested permissions are unauthorized: connect

Ensure that the correct level of authority has been set for this entity
against the required object, or ensure that the entity is a member of a privileged group.
--------------------------------------------------------------------------------
Back to top
View user's profile Send private message
malai
PostPosted: Thu Dec 04, 2003 9:41 pm    Post subject: thanx Reply with quote

Newbie

Joined: 04 Dec 2003
Posts: 8

The Problem resolved by adding Aspnet account to mqm group...
Back to top
View user's profile Send private message
JasonE
PostPosted: Fri Dec 05, 2003 1:53 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

To explain the cause - ASP apps are another instance of where the userid you run things under may not be the same as the userid connecting into MQ.

As you saw, from Windows at least you get a useful error message saying which userid failed and for what reason.
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 » IBM MQ API Support » IBM.WMQ.MQException: CompCode: 2, Reason: 2035
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.