|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Urgent Help, MQAX200.dll |
« View previous topic :: View next topic » |
Author |
Message
|
rliang |
Posted: Sun Jul 28, 2002 3:10 pm Post subject: Urgent Help, MQAX200.dll |
|
|
Novice
Joined: 12 Aug 2001 Posts: 14
|
My application is running on Win2k using MQSeries ActiveX object (MQAX200.dll) connecting to Win2k MQ server v5.2. Both client and Server are applied csd004.
I am getting error whenI try to put message to the Q, the return code is different everytime (a big number 34234234 something like that, reason code is 0), and the error cause the application stop immediately if I try to trap the error event. Althought the MQPut function seems like fail, But the messge still appear in the Q.
The following is the VBScript I used to reproduce the problem.
gQMgrName = "QM1"
gQName = "Test"
set oSession = CreateObject("MQAX200.MQSession")
set oQM = oSession.AccessQueueManager(gQMgrName)
set oQ = oQM.AccessQueue(gQName, 16)
Call oQ.Open
set oMsg = oSession.AccessMessage
set oPMO = oSession.AccessPutMessageOptions
oMsg.MessageData = "Test messsage"
oPMO.Options = 4
on error resume next
oSession.ExceptionThreshold = 1
call oQ.Put(oMsg, oPMO)
msgbox err.description
msgbox oSession.ReasonCode & " -- " & oSession.ReasonName
When I check the NT event log, in the server I saw
Error on receive from host xxx.xx.xx.xx
An error occurred receiving data from xx.xxx.xx.xx over TCP/IP. This may be due to a commuication failure. The return code from the TCP/IP (recv) Call was 10054 (x2746). Record these values and tell the system administrator. |
|
Back to top |
|
 |
vjsony |
Posted: Sun Jul 28, 2002 8:54 pm Post subject: |
|
|
 Apprentice
Joined: 01 Aug 2001 Posts: 45
|
Hi rliang,
If the reason code is 0, that means the MQPUT operation was successful.
What's the return code you're referring to?
Regards,
VJ |
|
Back to top |
|
 |
rliang |
Posted: Mon Jul 29, 2002 4:35 pm Post subject: |
|
|
Novice
Joined: 12 Aug 2001 Posts: 14
|
vjsony wrote: |
Hi rliang,
If the reason code is 0, that means the MQPUT operation was successful.
What's the return code you're referring to?
Regards,
VJ |
The reason code is looks like a memory address (somthing like 3423444) but different every time. What I think is the MQAX200.dll did not trap the actural error somehow. |
|
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
|
|
|
|