Plesk Error Adding Domain: A specified logon session does not exist. It may already have been terminated

When adding a domain in Plesk the following error is displayed.

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(WebServerManager::updateWebMailLinks line 2725)
at updateWebMailLinks()(WebServerManager::updateWebMailLinks line 2728)
at execute console command –update-webmail-links(vconsoleapp::start line 122)
at execute “C:\Program Files (x86)\Parallels\Plesk\admin\bin64\websrvmng” –update-webmail-links “–config=tmpB5E3.tmp”(vconsoleapp::run line 139)
(Error code 1)

Solution

This error may be caused by an non-existent SSL binding.

1. Go to IIS Manager > <Server_name> > Sites > MailEnable WebMail / webmail(smwebmail) > Bindings;
2. Check all records related to Port 443 via webmail.example.com

All bindings must have valid certificates.
If any of them has Not selected entry in SSL Certificate field, then Default Certificate should be set.

Posted in Plesk.

Leave a Reply