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 » MQQueueManager Constructor Error (C#)

Post new topic  Reply to topic
 MQQueueManager Constructor Error (C#) « View previous topic :: View next topic » 
Author Message
andylichey
PostPosted: Mon Oct 31, 2005 12:46 pm    Post subject: MQQueueManager Constructor Error (C#) Reply with quote

Newbie

Joined: 31 Oct 2005
Posts: 1

Hello,

I'm very new to MQSeries, but I've been tasked to write a web service based integration which involving reading and writing to MQSeries queues. Unfortunately, to make this tougher, I don't have access to anyone with any real experience using MQSeries.

What I'm trying to do now is to write xml that my service has received into a queue. The problem is, when I try to instantiate the MQQueueManager with the manager name, I get the following exception thrown:

CompCode: 2, Reason: 2063
"Error in the application."

Based on everything I can find, this is a security error, but that's about all I've been able to figure out.

My application is a C# web service. The web application is running under the \MUSR_MQADMIN user under IIS on a Windows XP server.

Here is the code that I'm executing to instantiate the MQQueueManager:

// put the xml received into the MQ Series queue
String qMgrName = "QM_integration";
String qName = "Integration_OUT";

MQQueueManager qMgr;
MQQueue queue;

try
{
qMgr = new MQQueueManager(qMgrName);
queue = qMgr.AccessQueue(qName, MQC.MQOO_OUTPUT);

MQMessage message = new MQMessage();
message.WriteString("inserted by IntegrationService");
message.Format = MQC.MQFMT_STRING;
queue.Put(message);

queue.Close();
qMgr.Disconnect();

The exception is thrown on @: qMgr = new MQQueueManager(qMgrName);

ANY help anyone could give would be immensly appreciated! Thanks!

Andy
Back to top
View user's profile Send private message
gunter
PostPosted: Mon Oct 31, 2005 1:18 pm    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

Did you read this?
http://www.mqseries.net/phpBB2/viewtopic.php?t=22294&highlight=2063+net
_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
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 » MQQueueManager Constructor Error (C#)
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.