Symptoms
-
Creation of a domain/subdomain fails with the following error:
Error: A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520)
In Microsoft.Web.Administration module
Exception type: System.Runtime.InteropServices.COMException
at Microsoft.Web.Administration.Interop.IAppHostMethodInstance.Execute()
at Microsoft.Web.Administration.BindingManager.Save()
at Microsoft.Web.Administration.ServerManager.CommitChanges()
at ServerManagerFactory.commit()
at IISServerManager.commit(IISServerManager* )
at Commit common changes(WebServerAdapter::configHosting line 346)
at configHosting(example1.example.com)(WebServerAdapter::configHosting line 493)
at configHosting(example1.example.com)(WebServerManager::configHosting line 2941)
at execute console command --install-vhost(vconsoleapp::start line 93)
at execute "C:Program Files (x86)ParallelsPleskadminbin64websrvmng" --install-vhost "--vhost-config=iahFD2F.tmp"(vconsoleapp::run line 110)
(Error code 1) -
The main domain is secured with an SSL certificate in Domains > example.com > Hosting Settings > Certificate.
Cause
Incorrectly applied SSL certificate for the main domain.
Resolution
For all domains:
-
Connect to the server via RDP;
-
Open Command Prompt as Administrator and execute the following command:
C:> plesk repair web -sslcerts
For specific domain:
-
Go to Domains > example.com > Hosting Settings.
-
Set Not selected in the Certificate drop-down and click Apply.
Note: An error message similar to the initial one may appear.
-
Select the necessary certificate in the Certificate drop-down and click OK or Apply.