After installation of Enkompass while configuring the server at “Initial Setup Wizard” when you press Next on Second Step it throws following Error

Problem Code: Unknown Type: WebAppAPIException
Exception of type ‘cPanel.Web.Exceptions.WebAppAPIException’ was thrown.

Method ‘GetServerSmtp Could not connect to net.tcp://127.0.0.1:2098/ServerAdministratorInterface. The connection attempt lasted for a time span of 00:00:01.0153305. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:2098. ‘ from contract ‘IServerAdministratorService’ failed.

OR you get following error:

Problem Code: Unknown Type: WebAppAPIException
Exception of type ‘cPanel.Web.Exceptions.WebAppAPIException’ was thrown.

Method ‘GetServerSmtp Could not connect to net.tcp://127.0.0.1:2098/ServerAdministratorInterface. The connection attempt lasted for a time span of 00:00:01.0153305. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:2098. ‘ from contract ‘IServerAdministratorService’ failed.

The problem can be with EnkompassWcfService. To fix this issue you can by restarting EnkompassWcfService from Enkompass Panel or from Remote Desktop.

Restarting EnkompassWcfService from Enkompass Panel

1) Login to WHM using Admin Details.

2) Navigate to WHM > Server Configuration > Service Manager

3) Select the Server ID from Drop down.

4) Select “Restart” next to that EnkompassWcfService option.

Restarting EnkompassWcfService from Remote Desktop

1) Login into the server using RDP

2) Start > run > type “services.msc” > enter or Start > Control Panel > Administrative tools >> Services

3) Search “EnkompassWcfService”

4) Right Click on it and “Restart”

Try to run “Initial Setup Wizard” now.