Hi folks, I'm running in a bit of a problem here and I've been looking for a solution for a long time and I couldn't find one. Hopefully one of you guys can help.
Here is the deal:
In an attempt to solve an issue with IIS and one of my applications, I accidentally deleted keys from MachineKeys directory (C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys). This is a Windows Server 2008 with IIS 7.0.
Now, when I try to set the Identity property (inside advanced settings) of my application pools to MYDOMAIN\Administrator, I get the following error:
"Keyset does not exist (Exception from HRESULT: 0x80090016)."
If I set the account to one of the built-in accounts, it works fine. But they aren't what I need.
I want to resort to IIS reinstall as a last option, as there are working applications on it that I can't simply shut down.
I tried pretty much everything I could imagine. Even copied the MachineKeys directory from another server (renamed all of them to the GUID corresponding to this server) to this server. I googled more than anyone on earth and nothing.
Do you guys know what I can do here? How can I recover this lost MachineKey? How to create a new one or ultimately how to solve this issue?
I appreciate any help you guys can give me. If you need more information please say so and I will post them here promptly.
Thanks!
Fábio