Key missing / Invalid identification

Note. I found several questions similar here, but the one that was resolved did not work for me. So I decided to open a new question.

I rebooted our 2012 server, which hosts our new .net applications. After that, I started getting error 503. In research, this seemed like an identity problem.

Before moving on, I must say that this account has been working for several months. I rebooted earlier and everything started fine.

So, I get (rather common) errors 5059, 5057 and 5021 in the log. They come down to the following:

The application pool identity SVFileUpload is not valid. The username or password provided for identification may be incorrect or the user may not have the right to enter the system. If the identity is not corrected, the application pool will be disconnected when the application pool receives its first request. If batch login permissions cause a problem, the identifier in the IIS configuration store must be changed after the permissions have been granted before Windows Activation Service (WAS) can log in again. If the identifier remains invalid after processing the first request of the application pool, the application pool will be disconnected. The data field contains the error number.

I thought I was just going to check the password and account, so I go to the application pool, select identity-> custom and ensure that it is configured correctly. I get an error message:

An error occurred while performing this operation. Details: Keyset does not exist (exception from HRESULT: 0x80090016)

It was strange for me, so I tried setting up the application pool on the built-in account, and it worked fine. I get this error anytime when I try to set up a user account. In addition, application pools that use user accounts will not be launched.

I searched Google a bit, I don’t know which error was the one I needed to track. I tried:

  • register an account on the command line using the aspnet_ tool
  • , IIS_IUSRS.
  • C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys

, Google, .

, . 1) 2)

-Edit
, . , . : - "keyset does not exist".

+6
6

, .

c:\windows\system32\inetsrv\config\applicationHost.config configProtectedData.

% ALLUSERSPROFILE%\Microsoft\Crypto\RSA\MachineKeys

iissetup.exe/install SharedLibraries inetsrv, "Failed = 0x80070005"

, .

. https://techcommunity.microsoft.com/t5/IIS-Support-Blog/Keyset-does-not-exist-exception-from-HRESULT-0x8009000D-or-or/ba-p/342955 .

+16

, " ".

, " ".

IIS , "" "", " " - .

, - , .

+2

, . I RDP , Identity IIS .

+1

iisreset,

0

rsa, C:\Users\usernamn\AppData\\Microsoft\Crypto\RSA

-1

Source: https://habr.com/ru/post/1546893/


All Articles