Microsoft KB Archive/243758

= FIX: MSMQ: Queue Created by a Service with IsWorldReadable=True Can't be Deleted by the Service =

Article ID: 243758

Article Last Modified on 11/17/2003

-

APPLIES TO


 * Microsoft Message Queue Server 1.0
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition

-



This article was previously published under Q243758



SYMPTOMS
A service running on Windows NT 4.0 that logs on as LocalSystemAccount uses the Microsoft Message Queue (MSMQ) ActiveX components to create a queue with the IsWorldReadable parameter set to TRUE and is not be able to delete the queue.



CAUSE
The MSMQ automation components call MQCreateQueue with a Security Descriptor for LocalSystemAccount, however on the MSMQ server it is translated to anonymous. This translation causes the problem.



RESOLUTION
Do not use IsWorldReadable when creating queues. The default MSMQ security on a new queue is full access for everyone, and thus it is readable by everyone as well.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This problem does not occur on Windows 2000 and only occurs on Windows NT 4.0 when the service in question is running under the Local System Account.

Additional query words: MSMQ Service Delete Queue

Keywords: kbbug kbfix KB243758

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.