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

Article translations Article translations
Close Close
Article ID: 968727 - View products that this article applies to.
Expand all | Collapse all
Source: Microsoft Support

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.

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.

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.

 

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.

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.

Properties

Article ID: 968727 - Last Review: March 6, 2009 - Revision: 1.0
APPLIES TO
  • Microsoft Message Queue Server 1.0
  • Windows Vista Ultimate
  • Windows Vista Home Premium
  • Windows Vista Enterprise
  • Windows Vista Business
  • Windows Server 2008 Standard
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Datacenter
Keywords: 
kbnomt kbrapidpub KB968727

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com