A while ago I tried installing a certificate into IIS7 on an new Windows 2008 server at work. The import went well but when I tried to bind a site to use the new certificate I got a dialog box with the following message:
There was an error while performing this operation.
A specified logon session does not exist.
It may already have been terminated.
(Exception from HRESULT: 0x80070520)
I managed to find a workaround (and blogged about it). Explicitly checking the "Allow this certificate to be exported" checkbox made the problem go away. I'm a bit anxious though since I think I'd rather not have the private key be exportable.
Besides my blog entry there's a couple of references to this problem but none specify a clear solution as to why this problem occurs.
Does anyone know why this is?