BUG: Performance counters may have inaccurate results when a user without permission runs the ASP.NET worker process

Article translations Article translations
Article ID: 841554 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
When you run Microsoft ASP.NET Web applications, you may experience unexpected results with the following counters for the ASP.NET Applications performance object:
  • Anonymous requests per second
  • Requests per second
  • Cache API hit ratio

CAUSE

This problem occurs when the worker process of ASP.NET runs as a user without sufficient security permissions.

RESOLUTION

To work around this problem in Microsoft Windows Server 2003, add the user to the IIS_WPG group.

To work around this problem in Microsoft Windows XP and Microsoft Windows 2000, modify the security settings of the user who will run the ASP.NET worker process with Registry Editor:

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
  1. Click Start, and then click Run.
  2. In the Open box, type regedit, and then click OK to start Registry Editor.
  3. Locate the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASP.NET_1.1.4322\Names
  4. Right-click Names, and then click Permissions.
  5. Click Advanced.
  6. In the Permission entries list, click and then edit the user who will run the ASP.NET worker process. If the user in not in the Permission entries list, click Add, and then add the user.
  7. In the Apply onto list, click This key only, and then click to select the Allow check boxes that are next to the following terms:
    • Query Value
    • Set Value
    • Create Subkey
    • Enumerate Subkeys
    • Notify
    • Read Control
  8. Click OK, and then quit Registry Editor.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

To reproduce this problem, create a user with the default permission values. Use that user to run the ASP.NET worker process.

Properties

Article ID: 841554 - Last Review: May 20, 2004 - Revision: 1.2
APPLIES TO
  • Microsoft Common Language Runtime (included with the .NET Framework 1.1)
  • Microsoft Windows XP Professional
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • the operating system: Microsoft Windows 2000, Server
  • the operating system: Microsoft Windows 2000, Professional
Keywords: 
kbfix kbbug KB841554

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