• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Cannot activate domain!

hkykl

New Pleskian
When I try to activate the suspended domain on subscription, but is failed and show error like this:

Some of the selected subscriptions were not activated.

Execution failed. Command: ftpmng Arguments: Array ( [0] => --install-vhost [1] => --soft [2] => --vhost-name=abc.com ) Details: Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config Error: Cannot write configuration file In module Exception type: System.Runtime.InteropServices.COMException at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.CommitChanges() at Microsoft.Web.Administration.ConfigurationManager.CommitChanges() at Microsoft.Web.Administration.ServerManager.CommitChanges() at CInternalUtils.Commit() at CIIS7ServerManagerBase.Commit(CIIS7ServerManagerBase* )

And on the log is show:

PleskUtilException: C:\Parallels\Plesk\/admin/bin/ftpmng --install-vhost --soft "--vhost-name=abc.com" failed with message: Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config
Error: Cannot write configuration file
In module
Exception type: System.Runtime.InteropServices.COMException
at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.CommitChanges()
at Microsoft.Web.Administration.ConfigurationManager.CommitChanges()
at Microsoft.Web.Administration.ServerManager.CommitChanges()
at CInternalUtils.Commit()
at CIIS7ServerManagerBase.Commit(CIIS7ServerManagerBase* )
file: C:\Parallels\Plesk\admin\plib\common_func.php3
line: 1130
code: 0
trace: #0 C:\Parallels\Plesk\admin\plib\common_func.php3(1065): util_exec('ftpmng', Array, 'msg', 'C:\Parallels\Pl...')
#1 C:\Parallels\Plesk\admin\plib\Os.php(21): smart_exec('ftpmng', Array, 'msg')
#2 C:\Parallels\Plesk\admin\plib\Os.php(32): Os::exec('ftpmng', Array, 'msg')
#3 C:\Parallels\Plesk\admin\plib\Webspace.php(728): Os::execEx('ftpmng', Array)
#4 C:\Parallels\Plesk\admin\plib\Webspace.php(719): Webspace->_turnOnSitesFtp(Object(BsDomain))
#5 C:\Parallels\Plesk\admin\plib\Webspace.php(657): Webspace->_turnOnSites()
#6 C:\Parallels\Plesk\admin\plib\Webspace.php(744): Webspace->setStatus(0)
#7 C:\Parallels\Plesk\admin\plib\api-rpc\AgentWebSpace.php(1466): Webspace->turnOn(16)
#8 C:\Parallels\Plesk\admin\plib\api-rpc\AgentHosting.php(919): AgentWebSpace->setDomainStatus(Object(BsDomain), '0')
#9 C:\Parallels\Plesk\admin\plib\api-rpc\AgentWebSpace.php(686): AgentHosting->setGenSetup(Object(BsDomain), Array)
#10 C:\Parallels\Plesk\admin\plib\api-rpc\AgentWebSpace.php(954): AgentWebSpace->setGenSetup(Object(BsDomain), Array)
#11 C:\Parallels\Plesk\admin\plib\api-rpc\AgentWebSpace.php(1244): AgentWebSpace->doSet(Object(BsDomain), Array)
#12 C:\Parallels\Plesk\admin\plib\api-rpc\AgentWebSpace.php(1310): AgentWebSpace->act(Object(PleskAPICommandFilter), 'doSet')
#13 C:\Parallels\Plesk\admin\plib\api-rpc\PleskAPIOperator.php(133): AgentWebSpace->processCmdSet(Object(ParserIterator))
#14 C:\Parallels\Plesk\admin\plib\api-rpc\PleskAPIOperator.php(76): PleskAPIOperator->executeOperatorMethod(Object(ParserIterator), 'processCmdSet')
#15 C:\Parallels\Plesk\admin\plib\api-rpc\Agent.php(530): PleskAPIOperator->processQuery(Object(ParserIterator))
#16 C:\Parallels\Plesk\admin\plib\api-rpc\PleskAPIOperator.php(133): Agent->executeOperator(Object(ParserIterator))
#17 C:\Parallels\Plesk\admin\plib\api-rpc\PleskAPIOperator.php(76): PleskAPIOperator->executeOperatorMethod(Object(ParserIterator), 'executeOperator')
#18 C:\Parallels\Plesk\admin\plib\api-rpc\Agent.php(235): PleskAPIOperator->processQuery(Object(ParserIterator))
#19 C:\Parallels\Plesk\admin\htdocs\enterprise\control\agent.php(22): Agent->run()
#20 {main}


How to resolve the issue?
 
Last edited:
This issue may occur if there is not enough disk space on the server. The error means that IIS has failed to write to one of its configuration files ('C:\Windows\system32\inetsrv\config\applicationHost.config' in the above example).
Check it at least.
 
Hello IgorG

I check my server, this have 20GB disk space on the server, and the domain service plan is unlimited.

Also this domain have use 4.12GB.
 
Do you have any antivirus software installed on this server? Try to disable it. Also it would be useful to restart IIS and check permissions with Plesk reconfigurator.
 
Hello IgorG,

This server have not install any antivirus software, and I will tried to restart IIS and check permissions with Plesk reconfigurator..

But how to check permissions with Plesk reconfigurator?
 
Back
Top