Configure website in Plesk for Windows fails: A specified logon session does not exist

Refers to:

  • Plesk for Windows

Created:

2016-11-16 12:45:04 UTC

Modified:

2017-02-16 10:53:34 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Configure website in Plesk for Windows fails: A specified logon session does not exist

Symptoms

  1. It is not possible to create a domain in Plesk or upload new certificate. A specified logon session does not exist error message is displayed.

  2. Plesk upgrade fails with the following error:

    MSI: Error! Critical action 'Configure Parallels Panel site...' failed:
    Command "C:\\Program Files (x86)\\Parallels\\Plesk\\\\admin\\bin\\websrvmng.exe" --configure-plesk-website failed with code 1.
    Output:
    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.BindingTransaction.Commit()
    at Microsoft.Web.Administration.BindingManager.Save()
    at Microsoft.Web.Administration.ServerManager.CommitChanges()
    at ServerManagerFactory.commit()
    at IISServerManager.commit(IISServerManager* )

    Action '<install-msi-package command-line="ADDLOCAL=ALL ALLUSERS=1 ARPSYSTEMCOMPONENT=1 REBOOT=R AUTOINSTALLER=1" />' failed with error 1603(0x00000643)

Cause

The IIS Server SSL certificate was corrupted/expired.

Resolution

  1. Go to IIS7 manager > IIS server > IIS > Server Certificates :

    Server Certificates

  2. Confirm that the Default Plesk certificate is there

  3. Remove the certificate

  4. Recreate the certificate by running Plesk Reconfigurator ( C:\\Program Files (x86)\\Parallels\\Plesk\\\\admin\\bin\\reconfigurator.exe ) > Repair Plesk Installation and choosing Plesk Services only.

If the issue persists, perform the following:

  1. Remove all expired certificates using Plesk that found in IIS7 manager > IIS server > IIS > Server Certificates
  2. Make sure that these certificates are removed from IIS, if not, remove them manually.

Note: If Default Certificate is also expired, create new one in Tools & Settings > SSL Certificates , make it default, use it to secure the panel and remove the expired one from Plesk and IIS.

Have more questions? Submit a request
Please sign in to leave a comment.