This article has been archived. It is offered "as is" and will no longer be updated.
Source: Microsoft Support
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.
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.
mqtrace 1.4 - Manage MSMQ Release Bits Tracing.
Querying msmq trace session...
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.
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.
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.
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.
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