Articles in this section

Domain/subdomain/customer creation in Plesk for Windows fails: A specified logon session does not exist

Plesk for Windows

Applicable to:

  • Plesk for Windows

Symptoms

  • Creation of a domain/subdomain fails with the following error:

    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.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)\Parallels\Plesk\admin\bin64\websrvmng" --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:
  1. Connect to the server via RDP;

  2. Open Command Prompt as Administrator and execute the following command:

    C:\> plesk repair web -sslcerts

For specific domain:
  1. Log into Plesk.

  2. Go to Domains > example.com > Hosting Settings.

  3. Set Not selected in the Certificate drop-down and click Apply.

    Note: An error message similar to the initial one may appear.

  4. Select the necessary certificate in the Certificate drop-down and click OK or Apply.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.