Unable to update admin's email: Class not registered (COM Error 80040154)

Created:

2016-11-16 13:01:01 UTC

Modified:

2017-04-24 12:00:15 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to update admin's email: Class not registered (COM Error 80040154)

Applicable to:

  • Plesk 11.5 for Windows
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Windows

Symptoms

An attempt to set Plesk Administrator information fails with the following error:

Error: Unable to update administrator information: Unable to update admin's email. Execute dnsmng UPDATE * failed with error code 1: Class not registered (COM Error 80040154)
at allow recursion
at (dnsmng::msdns::MsDnsManager::commitChanges line 201)
at execute C:\\Parallels\\Plesk\\admin\\bin\\dnsmng.exe UPDATE *(vconsoleapp::run line 107)
at (execUtil line 145)
at Execute C:\\Parallels\\Plesk\\admin\\bin\\dnsmng.exe UPDATE *(execUtil line 150)
at execute C:\\Parallels\\Plesk\\/admin/bin/ch_admin_email install email@domain.tld(vconsoleapp::run line 107)

Error

The following error can be obsered in the %plesk_dir%\\admin\\logs\\php_error.log :

[18-Apr-2014 22:25:32 Europe/Helsinki] PleskUtilException: C:\\Parallels\\Plesk\\/admin/bin/ch_admin_email install email@domain.tld failed with message: Execute dnsmng UPDATE * failed with error code 1: Class not registered (COM Error 80040154)
at allow recursion
at (dnsmng::msdns::MsDnsManager::commitChanges line 201)
at execute C:\\Parallels\\Plesk\\admin\\bin\\dnsmng.exe UPDATE *(vconsoleapp::run line 107)
at (execUtil line 145)
at Execute C:\\Parallels\\Plesk\\admin\\bin\\dnsmng.exe UPDATE *(execUtil line 150)
at execute C:\\Parallels\\Plesk\\/admin/bin/ch_admin_email install email@domain.tld(vconsoleapp::run line 107)
file: C:\\Parallels\\Plesk\\admin\\plib\\common_func.php3
line: 198
code: 0
trace: #0 C:\\Parallels\\Plesk\\admin\\plib\\common_func.php3(139): util_exec('ch_admin_email', Array, 'msg', 'C:\\Parallels\\Pl...')
#1 C:\\Parallels\\Plesk\\admin\\plib\\ClientBase.php(1710): smart_exec('ch_admin_email', Array)
#2 C:\\Parallels\\Plesk\\admin\\plib\\Client.php(102): ClientBase->_updateAdminEmail()
#3 C:\\Parallels\\Plesk\\admin\\htdocs\\server\\admin_ed.php(107): Client->update()
#4 C:\\Parallels\\Plesk\\admin\\htdocs\\server\\admin_ed.php(141): admin_ed(Array, Array)
#5 {main}

Manual execution of DNSMng.exe or ch_admin_email fails with the same issue:

"%plesk_bin%\\DNSMng.exe" --help
Class not registered (COM Error 80040154) at allow recursion

"%plesk_bin%\\ch_admin_email.exe" install email@domain.tld
Execute dnsmng UPDATE * failed with error code 1: Class not registered (COM Error 80040154)
at allow recursion
at (dnsmng::msdns::MsDnsManager::commitChanges line 201)
at execute C:\\Parallels\\Plesk\\admin\\bin\\dnsmng.exe UPDATE *(vconsoleapp::run line 107)
at (execUtil line 145)
at Execute C:\\Parallels\\Plesk\\admin\\bin\\dnsmng.exe UPDATE *(execUtil line 150)
at execute ch_admin_email.exe install email@domain.tld(vconsoleapp::run line 107)

Cause

Incorrect %SystemRoot%\\System32\\DNS\\dns.log file.

Resolution

Renamed %SystemRoot%\\System32\\DNS\\dns.log file and replaced with the one from the %SystemRoot%\\System32\\DNS\\\\backup

Alternatively install Bind via autoinstaller:

"%plesk_bin%\\ai.exe" --console

and switch DNS server to Bind:

"%plesk_bin%\\defpackagemng.exe" --set --type=dnsserver --default=bind
Have more questions? Submit a request
Please sign in to leave a comment.