Error in Integration Event Viewer "System.Exception: Service not allowed to run for this erp"

Error in Integration Event Viewer "System.Exception: Service not allowed to run for this erp"

Version: 

Not Version-specific


Issue: 

Integration service is in running mode however records are not moving either-ways (neither from SAP to iVend nor from iVend to SAP).


Solution: 

During investigation it was found that there was error in Event Viewer log as below:


System.Exception: System.Exception: Service not allowed to run for this erp
   at ReplicationSBOIntegrationWinSer.Integrator.GetHeadOfficeSettings()
   at ReplicationSBOIntegrationWinSer.Integrator.MainStart(DateTime LastRetryAt, Boolean& Retried)
   at ReplicationSBOIntegrationWinSer.Integrator.LogError(IntegrationDirection IVENDSBO, Exception ex)
   at ReplicationSBOIntegrationWinSer.Integrator.MainStart(DateTime LastRetryAt, Boolean& Retried)


Please make sure that ERP system type is rightly selected as per the integration license  that you are using for your setup.

E.g. For an iVend- SAP B1 integration valid configuration, ERP  should be selected for SAP Business one. i.e ERP system type (under Administration >> System Initialization >> Enterprise >> Enterprise Setting) is set for SAP Business One in Enterprise Management Console. 


Below is the screenshot for the same:



If the above configuration is not set as stated above then this can be one of the reasons for this Integration issue.


So set the ERP system type as SAPBusinessOne to fix the issue.