Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

MSMQ: �Data Collector Set was not found� when running MQTrace Utility


View products that this article applies to.

Source: Microsoft Support

↑ Back to the top


Rapid publishing

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

↑ Back to the top


Symptom



When you �run the MQTrace Utility on Microsoft Windows Vista or Microsoft Windows Server 2008 systems, you may receive the following error: �

�Data Collector Set was not found�



The MQTrace Utility may fail to create a trace file in the default location of C:\Windows\debug resulting in the following error being displayed on-screen.



C:\Windows\Debug>mqtrace -query

mqtrace 1.4 - Manage MSMQ Release Bits Tracing.

Querying msmq trace session...



Error:

Data Collector Set was not found.

This issue may happen when you use the MQTrace utility and while tracing is started, the MSMQ service is stopped and restarted.

↑ Back to the top


Cause





This is caused because the debug folder does not have the necessary permissions set to allow the program to create the log file.



Without the necessary permissions, the NetworkService account does not have the permission to control the tracing session.� The �-start� trace command fails as it needs to create the log file.�� Since the context is executed using NetworkService, the �-start� trace command fails without the necessary rights.

↑ Back to the top


Resolution



To work through this issue, modify the permissions to allow the log file to be created in the Debug folder.� To do this, follow these steps:



1.������ �Navigate to the C:\Windows\debug folder

2.������ Right-click on the Debug folder, and then click Properties.�

3.������ Under the �Security� tab, grant the NetworkService account �Modify� permissions on the folder.



Once permissions are granted that allow the NetworkService account to write in the C:\Windows\debug folder, the tracing is started when the MSMQ (Message Queueing) service starts.

↑ Back to the top


Disclaimer

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE �MATERIALS�) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

↑ Back to the top


Keywords: KB968727, kbrapidpub, kbnomt

↑ Back to the top

Article Info
Article ID : 968727
Revision : 1
Created on : 3/6/2009
Published on : 3/6/2009
Exists online : False
Views : 275