PRB: Visual Studio Analyzer Does Not Collect Performance Monitor Events (257382)



The information in this article applies to:

  • Microsoft Visual Studio, Enterprise Edition 6.0, when used with:
    • the operating system: Microsoft Windows 2000

This article was previously published under Q257382

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 Visual Studio Analyzer Does Not Collect COM+ Events



Modification Type:MajorLast Reviewed:10/20/2003
Keywords:kbEEdition kbprb kbVSVisAnalyzer KB257382