< class="prominent-subhead ">

Fix Pack 9 does not complete installation and an error appears

This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.


Fix Pack 9 does not complete installation.


The following error in seen in the InstallerTrace log:

"1:0: ControlUtil.Execute: 13:05:47:>> Logged Error: Utility error: System.InvalidOperationException: Cannot start service K2 blackpearl Server on computer 'XXX'. ---> System.ComponentModel.Win32Exception: An instance of the service is already running
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.Start(String[] args)
at SourceCode.Install.Windows.Services.StartService(String sComputer, String sService, Int32 iMaxWaitTime, Int32 iMinWaitTime)
at SourceCode.Install.Package.Actions.StartService.Execute(ITarget target)
at SourceCode.Install.Package.Actions.ControlUtil.Execute(ITarget target)
1:0: ControlUtil.Execute: 13:05:47:>> Completed. Revert console binding."

Troubleshooting Steps

The issue could be caused by the K2 Service that was unable to start in a timely manner due to multiple SmartObject Service Endpoints that needed to be started. 

To resolve this, please disable the SmartObject Service Endpoints in K2HostServer.exe.config (smoServices enableEndpoints="false"). This will allow the FixPack to be installed successfully.