Unable to create a subscription: Error: Update FTP user failed: ftpmng failed: Class not registered

Created:

2016-11-16 12:43:03 UTC

Modified:

2017-08-08 13:30:03 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to create a subscription: Error: Update FTP user failed: ftpmng failed: Class not registered

Applicable to:

  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Symptoms

Creation of a subscription fails with error:

Error: Update FTP user failed: ftpmng failed: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) In Microsoft.Web.Administration module Exception type: System.Runtime.InteropServices.COMException at Microsoft.Web.Administration.Interop.IAppHostMethodInstance.Execute() at FtpCredentialsCacheElement.Flush() at IIS7FtpCredentialsCache.flush(IIS7FtpCredentialsCache* ) (Error code 1)

With enabled debug logging , the following error can be found in %plesk_dir%\\admin\\logs\\php_error.log :

[2015-06-13 17:32:28] PleskUtilException: "D:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin64\\ftpmng" --update-user "--ip-addresses=xxx.xxx.xxx.xxx" "--login=odintest" "--home=D:/Inetpub/vhosts/example.com" "--quota=0" failed with code 1.

stdout:
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
In Microsoft.Web.Administration module
Exception type: System.Runtime.InteropServices.COMException
at Microsoft.Web.Administration.Interop.IAppHostMethodInstance.Execute()
at FtpCredentialsCacheElement.Flush()
at IIS7FtpCredentialsCache.flush(IIS7FtpCredentialsCache* )

Cause

Corrupted files in %plesk_dir%admin\\bin64 folder.

Resolution

  1. Create a temporary folder, for example C:\\plesk-service-node-utilities .

  2. Download plesk-service-node-utilities.msi from autoinstall-win.pp.parallels.com to the folder above.

  3. Open command prompt and unpack plesk-service-node-utilities.msi :

    cd C:\\plesk-service-node-utilities
    msiexec /a plesk-service-node-utilities.msi /qb targetdir=C:\\plesk-service-node-utilities\\plesk\\
  4. Rename %plesk_dir%\\admin\\bin64 folder.

  5. Copy C:\\plesk-service-node-utilities\\plesk\\Program Files\\Parallels\\Plesk\\admin\\bin64 to %plesk_dir%admin

  6. Reinstall microupdates:

    "%plesk_bin%\\ai.exe" --select-product-id panel --select-release-current --reinstall-patch --install-component base
Have more questions? Submit a request
Please sign in to leave a comment.