Posted: Tue Sep 06, 2005 9:12 am Post subject: C# Client on Server Machine
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.
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.
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.
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