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 Installation/Configuration Support » C# Client on Server Machine

Post new topic  Reply to topic
 C# Client on Server Machine « View previous topic :: View next topic » 
Author Message
xgnitesh
PostPosted: Tue Sep 06, 2005 9:12 am    Post subject: C# Client on Server Machine Reply with quote

Novice

Joined: 06 Sep 2005
Posts: 19

Hi All

I am trying to make a C# program to put and get messages into a queue. I have a MQServer (5.3) running on a machine and I am trying to install the client on the same machine to develop my C# client program. The install of client fails saying that "server componenets are already installed". But the server component does not have .NET libraries.

I downloaded the client from http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg24006105&loc=en_US&cs=utf-8&lang=en

Now when I try to use amqmdnet.dll that I got from above link from C# code directly (without installation), I get the following error:

An unhandled exception of type 'System.EntryPointNotFoundException' occurred in amqmdnet.dll
Additional information: Unable to find an entry point named xcsDetachThread in DLL amqxcs2.dll.

I took another machine with exactly same setup as above and this time I get a null exception error when I try to create the QManager object.

My Objective is to be able to use .net client library from server machine as well as an independent client machine (for production). I am not sure what is going wrong.

But probably the steps I am going thru for installation are not correct.

Can someone pls guide me on:
1. Where do I get the .NET libraries that I can use on Client and Server both. The MQServies CD does not contain the .net libraries.
2. What are the steps involved in setting up this system.

The C# program I am using is the one that came with the package from the above link.

Thanks in advance for your help.

Thanks & regards

Nitesh Gupta
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jefflowrey
PostPosted: Tue Sep 06, 2005 9:17 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to, instead of using the client, use the server installation.

Then change/modify the install, and select the Client feature from the custom options.

The .NET libraries needed will be included with the SDK custom install feature - and everything needed to bind against the client or a server libraries will be installed on all machines. But the client or the server libraries may not be installed - depending on what the machine is set up for.

Have you looked at the Quick Beginnings Guide? The Using .NET guide?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
xgnitesh
PostPosted: Tue Sep 06, 2005 10:55 am    Post subject: Reply with quote

Novice

Joined: 06 Sep 2005
Posts: 19

Hello jefflowrey

Thanks very much for your reply.
I read the docs and finally installed CSD11 and my problem is solved. I did this on the server machine.

I am hoping I won't face any problem on client machine.

Thanks again,

regards,
Nitesh
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » C# Client on Server Machine
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.