|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
a big problem in run sample xms .net application |
« View previous topic :: View next topic » |
Author |
Message
|
ehsan |
Posted: Wed Nov 04, 2009 5:29 am Post subject: a big problem in run sample xms .net application |
|
|
Newbie
Joined: 26 Oct 2009 Posts: 8
|
Hi
I download Message Service Client for .NET and it shipped sample projects with the installed files but when I run this applications for example SampleProducerCS.exe it has error. can anuone help me?
additionally i use wmq 6.2 and i want test the application localy. |
|
Back to top |
|
 |
zpat |
Posted: Wed Nov 04, 2009 5:32 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
If you don't give details of the error, then no. |
|
Back to top |
|
 |
ehsan |
Posted: Wed Nov 04, 2009 5:43 am Post subject: |
|
|
Newbie
Joined: 26 Oct 2009 Posts: 8
|
ok. this is all action that I do after run the application:
Enter '?' for help with any question.
Desired mode to run this sample application [simple]: advanced
Enter administered object directory (optional):
Enter connection type [wpm]: help
- Incorrect value for this option.
- Valid values are: wpm, wmq, or rtt.
- Default value is: wpm.
Enter connection type [wpm]: wmq
Enter connection mode [client]: client
Enter queue manager (optional): QM
Enter hostname [localhost]:
Enter port [1414]:
Enter channel [SYSTEM.DEF.SVRCONN]:
Enter destination URI [queue:///SYSTEM.DEFAULT.LOCAL.QUEUE]: queue
Enter user (optional):
Enter delivery mode [non-persistent]:
Enter message type [text]: ehsan
- Incorrect value for this option.
- Valid values are: base, bytes, map, object, stream, or text.
- Default value is: text.
Enter message type [text]: text
Your message (optional): ehsan
Enter number of messages [infinite]: 1
Enter interval between messages in seconds [1]:
Exception caught: System.TypeInitializationException: The type initializer for '
IBM.XMS.Client.WMQ.WmqConnectionFactory' threw an exception. ---> System.TypeLoa
dException: Could not load type 'IBM.WMQ.Nmqi.NmqiPropertyHandler' from assembly
'amqmdnet, Version=1.0.0.3, Culture=neutral, PublicKeyToken=dd3cb1c9aae9ec97'.
at IBM.XMS.Client.WMQ.WmqConnectionFactory..cctor()
--- End of inner exception stack trace ---
at IBM.XMS.Client.WMQ.WmqConnectionFactory..ctor(XmsPropertyContext props)
at IBM.XMS.Client.WMQ.WmqFactoryFactory.CreateProviderConnectionFactory(XmsPr
opertyContext properties)
at IBM.XMS.Client.Impl.XmsConnectionFactoryImpl.SetProviderFactory()
at IBM.XMS.Admin.Objects.MQConnectionFactory..ctor()
at IBM.XMS.Admin.Objects.WmqXmsFactory.CreateConnectionFactory()
at IBM.XMS.Client.Impl.XmsFactoryFactoryImpl.CreateConnectionFactory()
at IBM.XMS.Samples.XMSApp.MyCreateConnectionFactoryWMQ() in C:\Program Files\
IBM\Message Service Client for .NET\tools\dotnet\samples\cs\SampleCommon\XMSApp.
cs:line 161
at IBM.XMS.Samples.XMSApp.MyCreateConnectionFactory() in C:\Program Files\IBM
\Message Service Client for .NET\tools\dotnet\samples\cs\SampleCommon\XMSApp.cs:
line 88
at IBM.XMS.Samples.SampleProducer.SendMessages() in C:\Program Files\IBM\Mess
age Service Client for .NET\tools\dotnet\samples\cs\SampleProducer\SampleProduce
r.cs:line 124
at IBM.XMS.Samples.SampleProducer.Main(String[] args) in C:\Program Files\IBM
\Message Service Client for .NET\tools\dotnet\samples\cs\SampleProducer\SamplePr
oducer.cs:line 94
Sample execution FAILED!
Press return key to continue... |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 04, 2009 7:11 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
This sounds like a near double post of this _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 04, 2009 7:13 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
and also this, though in this one you say you've switched to using WMQv7.
Double posting is considered rude, and in this case confusing.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|