大网数据广告活动
Web服务器与PHP

Can't change identity of application pool

· 52CE 我爱测

Fixes a problem where you can't change the identity of an application pool using Internet Information Services Manager from a remote computer.

This article resolves the Keyset does not exist error. The error occurs when you change the identity of an application pool by using Microsoft Internet Information Services (IIS) Manager from a remote computer.

Original product version:   Windows Server 2008, Windows Server 2008 R2
Original KB number:   977754

Symptoms

Consider the following scenario:

  • On a server that is running Windows Server 2008 or Windows Server 2008 R2, you enable remote management for IIS.
  • The server has more than one application pool configured in IIS.
  • One of the application pools is configured to use custom user identity.
  • You use IIS Manager to connect to the server as an administrator from a remote computer.

In this scenario, when you to try to change the identity of any application pool, you receive the following error message:

There was an error while performing this operation.
Details:
Keyset does not exist (Exception from HRESULT: 0x80090016)

Cause

The LOCAL SERVICE account is the service account of the IIS Web Management Service (also known as WMSvc). This problem occurs because the LOCAL SERVICE account doesn't have Read access on the iisWasKey key that is located in the %ALLUSERSPROFILE%\Microsoft\Crypto\RSA\MachineKeys folder.

Here's the file name of the iisWasKey key:
76944fb33636aeddb9590521c2e8815a_GUID

Resolution

To resolve this problem, follow these steps:

  1. Locate the %ALLUSERSPROFILE%\Microsoft\Crypto\RSA\MachineKeys folder.
  2. Right-click the 76944fb33636aeddb9590521c2e8815a_GUID file, and then select Properties.
  3. Select the Security tab, and then select Edit. If you're asked whether you want to continue the operation, select Continue. Then, the list of group names and user names that have access to this key file appears in the Permissions dialog box.
  4. Select Add. Then, the Select Users, Computers, Service Accounts, or Groups dialog box appears.
  5. Type LOCAL SERVICE, and then select Check Names.
  6. Select OK.
  7. In the Group or user names list, select LOCAL SERVICE. Make sure that the Read check box is checked in the Permissions for LOCAL SERVICE list.
  8. Select OK.

More information

This problem is fixed in Windows Server 2008 Service Pack 2.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 03/23/2020
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。