Microsoft KB Archive/841554

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

Article ID: 841554

Article Last Modified on 5/20/2004

-

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)
 * Microsoft Windows 2000 Enterprise Edition
 * Microsoft Windows 2000 Professional Edition

-



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.  Click Start, and then click Run. In the Open box, type regedit, and then click OK to start Registry Editor. Locate the following registry key:

 Right-click Names, and then click Permissions. Click Advanced. 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. 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: <ul> Query Value</li> Set Value</li> Create Subkey</li> Enumerate Subkeys</li> Notify</li> Read Control</li></ul> </li> Click OK, and then quit Registry Editor.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_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.

Keywords: kbbug kbfix KB841554

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.