Applicable to:
- Plesk for Windows
Symptoms
-
After:
- Adding a new domain to the existing subscription with mail support;
- Adding a Webmail service to an existing domain;
- Selecting a certificate in Subscriptions > example.com > Mail > Mail Settings > example.com > SSL/TLS certificate for webmail
A following, or similar error is shown in Plesk:
PLESK_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.Binding.AddSslCertificate(Byte[] certificateHash, String certificateStoreName)
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 2713)
at updateWebMailLinks()(WebServerManager::updateWebMailLinks line 2716)
at execute console command --update-webmail-links(vconsoleapp::start line 122)
at execute "C:\Program Files (x86)\Parallels\Plesk\admin\bin64\websrvmng.exe" --update-webmail-links "--config=tmpB2DD.tmp"(vconsoleapp::run line 139)
(Error code 1) -
The following error can be found in %plesk_dir%\admin\logs\php_error.log:
CONFIG_TEXT: ERR [panel] 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* )
(Error code 1)Or the following error can be found in Event Viewer:
CONFIG_TEXT: 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 deleteAlias(alias.example.com, example.com)(WebServerManager::deleteAlias line 494)
at execute console command --remove-alias(vconsoleapp::start line 122)
at execute "C:\Program Files (x86)\Parallels\Plesk\admin\bin64\websrvmng" --remove-alias "--domain-name=example.com" "--alias-name=alias.example.com" --web "--web-mail=mewebmail"(vconsoleapp::run line 139)
Execute file name: C:\Program Files (x86)\Parallels\Plesk\admin\bin64\websrvmng.exe
Cause
An incorrect binding for Webmail with HTTPS support exists in MailEnable entry in IIS.
Resolution
-
Connect to the server via RDP.
-
Go to IIS Manager > Server_name > Sites > MailEnable WebMail / webmail(smwebmail) > Bindings.
-
Check all records related to Port 443 via webmail.example.com > Edit.
Note: All bindings must have valid certificates.
If any of them has Not selected entry in SSL Certificate field, then Default Certificate/Parallels Panel certificate should be set.
Comments
0 comments
Please sign in to leave a comment.