• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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