Posted: Fri Aug 18, 2006 7:11 am Post subject: .NET Library 2010 Error
Novice
Joined: 02 Jul 2003 Posts: 11
Hi All,
I can PUT 10MB messages onto MQ, but when I go to retrieve I'm getting a 2010 MQRC_DATA_LENGTH_ERROR. I'm referencing the DLL (v1.0.0.3)found in the bin subdirectory of my MQ installation directory.
I've read that CSD7 was supposed to take fix the 4MB message limit, but I'm running into it (yes, I can GET messages < 4MB). I've also read that installing the DLL into the GAC helps, but this isn't a trust issue so I don't know that's relevant here.
I'm connecting to MQ using client libraries:
MQEnvironment.Hostname = hostName;
MQEnvironment.Channel = channelName;
mgr = new MQQueueManager(queueMgrName, queueMgrOpenOpt);
I believe you have to use a channel table and specify the client channel to have a greater limit as well. Otherwise at least one side defaults to 4 MB and you are stuck with it.
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