BUG: Performance counters may have inaccurate results when a user without permission runs the ASP.NET worker process (841554)
The information in this article applies to:
- Microsoft Common Language Runtime (included with the .NET Framework 1.1)
- Microsoft Windows XP Professional
- Microsoft Windows Server 2003, Standard Edition
- Microsoft Windows Server 2003, Enterprise Edition
- the operating system: Microsoft Windows 2000, Server
- the operating system: Microsoft Windows 2000, Professional
SYMPTOMSImportant 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
CAUSEThis problem occurs when the worker process of ASP.NET runs as a user without sufficient security permissions.RESOLUTIONTo 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:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASP.NET_1.1.4322\Names - 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:
- Query Value
- Set Value
- Create Subkey
- Enumerate Subkeys
- Notify
- Read Control
- Click OK, and then quit Registry Editor.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.MORE INFORMATIONTo reproduce this problem, create a user with the default permission values. Use that user to run the ASP.NET worker process.
Modification Type: | Major | Last Reviewed: | 5/20/2004 |
---|
Keywords: | kbfix kbbug KB841554 kbAudDeveloper |
---|
|