Article ID: 257382 - Last Review: October 20, 2003 - Revision: 3.0

PRB: Visual Studio Analyzer Does Not Collect Performance Monitor Events

This article was previously published under Q257382
Expand all | Collapse all

SYMPTOMS

When you are using Visual Studio Analyzer 6.0 on Windows 2000, you cannot collect Performance Monitor events.

CAUSE

The Performance Monitor data on Windows 2000 is only available to interactive users and administrators. The user that the Visual Studio Analyzer server runs as does not have the necessary privileges to access the Performance Monitor data.

RESOLUTION

To resolve this problem, you can give permission to the user that Visual Studio Analyzer server runs as so it can access the Performance Monitor data.

You can use this procedure to find out the name of the Visual Studio Analyzer user:
  1. Run the Distributed COM Configuration file (Dcomcnfg.exe).
  2. On the Applications tab, select MSVSA Local Event Concentrator Class, and click Properties.
  3. On the Identity tab, note the user name in the This User edit box.

You can follow these steps to grant the Visual Studio Analyzer user access to the Performance Monitor data:
  1. Start the registry editor, Regedt32.exe.
  2. Select HKEY_LOCAL_MACHINE on Local Machine from the Window menu.
  3. Navigate to the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Perflib key.
  4. From the Security menu, select Permissions.
  5. Click Add and select the Visual Studio Analyzer user that you identified in the previous steps.
  6. Close the registry editor and reboot the computer.

STATUS

This behavior is by design.

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
257369  (http://support.microsoft.com/kb/257369/EN-US/ ) Visual Studio Analyzer Does Not Collect COM+ Events


APPLIES TO
  • Microsoft Visual Studio 6.0 Enterprise Edition, when used with:
    • the operating system: Microsoft Windows 2000
Keywords: 
kbeedition kbprb kbvsvisanalyzer KB257382
 

Article Translations

 

Related Support Centers