Posted: Thu Apr 27, 2006 11:49 am Post subject: Error Running XMS.NET Sample App VS 2005
Newbie
Joined: 27 Apr 2006 Posts: 4
I keep getting the following error runing the sample VS.Net app can any help me?
Enter '?' for help with any question.
Desired mode to run this sample application [simple]:
Enter connection type [wpm]: wmq
Enter connection mode [client]:
Enter queue manager (optional): UTQM
Enter hostname [localhost]: xxx04-242.xxxxxxx.com(141x)
Enter destination URI [queue:///SYSTEM.DEFAULT.LOCAL.QUEUE]: XXXXX.TESTQ
Your message (optional): Test.Net
Connection Factory created.
Connection created.
Session created.
Exception caught: System.AccessViolationException: Attempted to read or write pr
otected memory. This is often an indication that other memory is corrupt.
at IBM.XMS.WMQ.WmqQueue.SetupQueueName(String name)
at IBM.XMS.WMQ.WmqQueue..ctor(String name, WmqSession s)
at IBM.XMS.WMQ.WmqSession.CreateQueue(String queueName)
at IBM.XMS.Samples.XMSApp.MyCreateDestination(ISession session) in C:\Program
Files\IBM\Message Service Client for .NET\tools\samples\src2005\SampleCommon\XM
SApp.cs:line 241
at IBM.XMS.Samples.SampleProducer.SendMessages() in C:\Program Files\IBM\Mess
age Service Client for .NET\tools\samples\src2005\SampleProducer\SampleProducer.
cs:line 136
at IBM.XMS.Samples.SampleProducer.Main(String[] args) in C:\Program Files\IBM
\Message Service Client for .NET\tools\samples\src2005\SampleProducer\SampleProd
ucer.cs:line 94
Sample execution FAILED!
Press return key to continue...
A quick check suggests you should have "queue:/// XXXXX.TESTQ" rather than "XXXXX.TESTQ". _________________ I am *not* the model of the modern major general.
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