FIX: Access Violation in Cqmgr.cpp When Admin API Is Used (280089)



The information in this article applies to:

  • Microsoft Message Queuing 2.0

This article was previously published under Q280089

SYMPTOMS

An application that uses the Microsoft Message Queuing (MSMQ) Admin API call to the MQMgmtGetInfo function may return with errors or cause an access violation (AV) in the MSMQ service.

CAUSE

This problem is caused by incorrect testing of an internal proxy queue object used by remote read.

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date          Time   Version       Size  File name
   --------------------------------------------------
   28-Feb-2001   17:54  5.0.0.720    273KB  Mq1repl.dll
   28-Feb-2001   17:47  5.0.0.720     14KB  Mq1sync.dll
   28-Feb-2001   17:47  5.0.0.733     70KB  Mqac.sys
   28-Feb-2001   17:54  5.0.0.721    210KB  Mqads.dll
   28-Feb-2001   17:47  5.0.0.720     22KB  Mqbkup.exe
   28-Feb-2001   17:54  5.0.0.720     29KB  Mqcertui.dll
   28-Feb-2001   17:54  5.0.0.720     49KB  Mqclus.dll
   28-Feb-2001   17:54  5.0.0.720     30KB  Mqdbodbc.dll
   28-Feb-2001   17:54  5.0.0.720     74KB  Mqdscli.dll
   28-Feb-2001   17:54  5.0.0.720     41KB  Mqdssrv.dll
   28-Feb-2001   17:47  5.0.0.720     96KB  Mqmig.exe
   28-Feb-2001   17:54  5.0.0.720    258KB  Mqmigrat.dll
   28-Feb-2001   17:54  5.0.0.720    219KB  Mqoa.dll
   28-Feb-2001   17:54  5.0.0.720      8KB  Mqperf.dll
   28-Feb-2001   17:54  5.0.0.733    406KB  Mqqm.dll
   28-Feb-2001   17:54  5.0.0.720      9KB  Mqrperf.dll
   28-Feb-2001   17:54  5.0.0.733     90KB  Mqrt.dll
   28-Feb-2001   17:54  5.0.0.720     69KB  Mqsec.dll
   28-Feb-2001   17:54  5.0.0.720    391KB  Mqsnap.dll
   28-Feb-2001   17:48  5.0.0.720     14KB  Mqsvc.exe
   28-Feb-2001   17:54  5.0.0.720     24KB  Mqupgrd.dll
   28-Feb-2001   17:54  5.0.0.720    106KB  Mqutil.dll
   28-Feb-2001   17:54  5.0.0.720     64KB  Msmq.cpl
   28-Feb-2001   17:54  5.0.0.720    156KB  Msmqocm.dll
				

WORKAROUND

To work around this problem, check whether the queue is a proxy queue before you check whether it is valid and skip the loop for proxy queues.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack Service Pack 3.

Modification Type:MajorLast Reviewed:10/11/2002
Keywords:kbbug KB280089