This article explains how to configure and troubleshoot the Connector for Sales, Marketing and Service.
Resolution
NOTE: Support for the Sales, Marketing & Services Connector ended on 31st March 2021. For all new integrations, the Qmulus Qnect Connector method should be used. For further information on this, please seethis article.
Before you can import records, you need to select the 'Display ERP Accounts' button. If this retrieves a table of records, the connection has been established successfully. If an error message is displayed, refer to the following points and check the setup where necessary.
Troubleshooting the connection
If an error message is displayed whilst attempting to import the initial set of records, refer to the table below and if necessary, carry out the steps required before trying again.
Error and possible cause | Resolution |
---|
Error: EnbuDataTranslator::GetADoObject, Error in Response Cause: Credentials for the Sage 200 Services user have not been entered within the Enbu Products Configuration section or are incorrect. | - Select Administration > Enbu Products Configuration > Change.
- In the Optional Auth. Logon box, enter the domain name and username of the Sage 200 Services user. For example, sage-server\S200Services.
- In the Optional Auth. Password box, enter the password of the Sage 200 Services user entered in the previous step.
- Select Save.
|
Error: WS : ConnectionScope. Error making connection to Sage200 Service for Object: CustomerLookup, using CompanyId : 1 (Logon failed due to unexpected error. Please check if the Sage200Configuration database is configured and running. (Message was: An anonymous identity cannot perform an impersonation.)) Cause: Anonymous Authentication has not been disabled for the EnbuGateway Application Pool within IIS. | - Within IIS, select Sites > Default Web Site > EnbuGateway.
- Select the Authentication from the Features panel.
- Right-click on Anonymous Authentication and choose Disable.
|
Error: WS : ConnectionScope. Error making connection to Sage200 Service for Object: CustomerLookup, using CompanyId : 1 (Cannot open database "Sage200Configuration" requested by the login. The login failed. Login failed for user 'NT AUTHORITY\SYSTEM'.) Cause: The identity of the EnbuGateway Application Pool has not been set correctly. By default, this is set to LocalSystem. This needs to be set as the Sage 200 Services user. | - Within IIS, select Application Pools.
- Right-click on EnbuGatewayAppPool > Advanced Settings...
- In the Identity field, select the
button > Custom Account > Set... - Enter the User name in the format of domain name\username. For example, sage-server\S200Services. Enter the password in the remaining fields > OK > OK > OK.
|
Error: WS : ConnectionScope. Error making connection to Sage200 Service for Object: CustomerLookup, using CompanyId : 1 (Logon failed due to unexpected error. Please check if the Sage200Configuration database is configured and running. (Message was: Could not establish trust relationship for the SSL/TLS secure channel with authority 'localhost:10443'.)) Cause: A secure connection is required between the two programs. The username to do this by default is localhost but this is not compatible with secure addresses. This needs to be set as the Sage CRM server name. | - On the CRM server, browse to the CRM installation directory. By default, this is C:\Program Files (x86)\Sage\CRM\CRM. Then select the WWWRoot folder.
Tip:If Sage CRM and Sage 200 Professional are not installed on the same server, the default path to browse to is C:\Program Files (x86)\Enbu Consulting\Sage CRM Connector. - Browse to CustomPages\Enbu\Framework\Server\EnbuGateway.
- Open the web.config file with Notepad. Search for the line that reads '< add key="ServiceBaseAddress" value=https://localhost:10443 />' . Change the word 'localhost' to the name of the CRM server. For example, "https://sage-server:10443".
- File > Save > File > Exit.
|
Error: WS : Error initialising Sage 200 Connection, check Sage 200 is correctly installed on server Cause: The correct path to the Sage 200 Professional installation has not been specified in the configuration file. | - On the CRM server, browse to the CRM installation directory. By default, this is C:\Program Files (x86)\Sage\CRM\CRM. Then select the WWWRoot folder.
Tip:If Sage CRM and Sage 200 Professional are not installed on the same server, the default path to browse to is C:\Program Files (x86)\Enbu Consulting\Sage CRM Connector. - Browse to CustomPages\Enbu\Framework\Server\EnbuGateway.
- Open the web.config file with Notepad. Search for the line that reads '< add key="S200 Install Path" value="C:\inetpub\Sage 200 App Services\Sage200Services\Bin" />' . Change the path so it points to the Bin folder on the Sage 200 Professional server.
Tip: This path is correct by default and rarely needs to be changed. If unsure, please refer to your IT support team. Note: If using Sage 200 Professional 2011, this path needs to be set as the Sage 200 installation directory instead. For example, C:\Program Files (x86)\Sage\Sage200. - File > Save > File > Exit.
|
Error: WS : ConnectionScope. Error making connection to Sage200 Service for Object: CustomerLookup, using CompanyId : 1 (Connection parameters are not entered. Please enter correct values to configuration file.) Cause: The correct path to the Sage 200 Professional credentials file has not been specified in the configuration file. | - On the CRM server, browse to the CRM installation directory. By default, this is C:\Program Files (x86)\Sage\CRM\CRM. Then select the WWWRoot folder.
Tip:If Sage CRM and Sage 200 Professional are not installed on the same server, the default path to browse to is C:\Program Files (x86)\Enbu Consulting\Sage CRM Connector. - Browse to CustomPages\Enbu\Framework\Server\EnbuGateway.
- Open the web.config file with Notepad. Search for the line that reads '< add key="credentialsFile" value="C:\sage\logon\credentials.xml" />' . Change the path so it points to the credentials file within the Sage 200 shared folder on the Sage 200 Professional server.
Tip: This path is correct by default and rarely needs to be changed. If unsure, please refer to your IT support team. - File > Save > File > Exit.
|
Error: WS : ConnectionScope. Error making connection to Sage200 Service for Object: Customer, using CompanyId : 1 (Invalid user name or password) Invalid details; please review and try again Cause: The credentials used to log in to Sage 200 Professional as the CRM user or the Sage share location in web.config are incorrect. | - In Sage 200 System Administration, select Users. Make a note of the nominated CRM user name and obtain the correct password associated to it.
Tip:If you have not yet set up a user name solely for use with CRM, please refer to the Installation and Deployment Guide for details on how to do this. - Browse to the CRM installation directory. Typically, this is C:\Program Files (x86)\Sage\CRM\CRM.
- Browse to WWWRoot > CustomPages > Enbu > Framework > Server > EnbuGateway.
- Open the web.config file with Notepad. Check the line that begins '' is pointing to the correct location of the credentials.xml file. This will need to be changed if you have changed the Sage share folder from the default location of C:\Sage\Logon.
- Search for the line that reads '< add key="Sage200UserName" value="xxx" />' (where xxx is the user name value) . Change the value so it reflects the correct user name if necessary.
Note: This step only applies if using Sage 200 Professional 2011. If you cannot locate this entry, please refer to the Deployment and Installation guide for details on how to add it. - Search for the line that reads '< add key="Sage200Password" value="xxx" />' (where xxx is the password value) . Change the value so it reflects the correct password if necessary.
Note: This step only applies if using Sage 200 Professional 2011. If you cannot locate this entry, please refer to the Deployment and Installation guide for details on how to add it. - File > Save > File > Exit.
|
Error: Warning. no Accounts found to display, your default Finance database may not be set correctly. Contact Administrator, Cause: This message is usually caused by incorrect setup with Sage 200 System Administration rather than Sage CRM. The company name detected on screen may also show as 'https://internal-kb.sage.com/solutionmanager'. | Check the following within Sage 200 System Administration. - Sage 200 Services user has been assigned to a role.
- Sage 200 Services user assigned to a role with sufficient features enabled.
- Sage 200 Services user must be assigned access to the relevant companies.
Note: This message also appears if you have made changes to the AccountMigration.asp file but have not reset IIS. |
Log files
If you continue to experience an issue with the connection, you will need to refer to the log files available for the Connector, the logs can be found in the following locations:
- C:\Program Files (x86)\Sage\CRM\CRM\WWWRoot\CustomPages\Enbu\Framework\S200\Logs.
- C:\Program Files (x86)\Sage\CRM\CRM\WWWRoot\CustomPages\Enbu\Framework\Server\EnbuGateway\Logs.
NOTE: The above paths reflect a typical CRM installation. If the software was installed to a different location, you should amend the start of the above paths accordingly. If using a split-server deployment, the second path is located at C:\Program Files (x86)\Enbu Consulting\Sage CRM Connector\CustomPages\Enbu\Framework\Server\EnbuGateway (on the Sage 200 server which was used to install the Connector).
Upgrading your licence
Need a little more room? To add extra companies, users, employees or more to your software licence, leave your details and we'll be in touch.
Leave your details