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?
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: