This document can also be viewed at https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.TEC1906605.html
When trying to connect to Agile Designer through Datamaker, I am receiving an 'Unable to connect to Service Layer' and 'Error getting context for id_id =0^ ' error message.
Steps to reproduce issue:
1. From within Datamaker click on the 'Data Design' tab in the top toolbar. 2. Choose 'Launch Agile Designer' from the list. 3. You should receive a message saying 'Connecting to Service Layer'. Expected result: Once Datamaker connects to the Service Layer, Agile Designer is launched. Actual result: You receive the error messages: 'Error getting context for id_id =0^' and 'Unable to connect to Service Layer'.
CA Test Data Manager (TDM)-Datamaker and CA Agile Requirements Designer (ARD)- Agile Designer
This error message means that either your SOAP web service layer has not been set up correctly, meaning the services have not been started, or these services have not been configured at all. The service layer is used primarily for the Test Data on Demand (TDoD) feature, and for connecting you to other products from with Datamaker, such as Agile Designer.
Another reason you may get this message is if the service layer did not start successfully because the repository database is down or not completely started. This can be an issue when the repository is located on the same server as Datamaker.
The easiest workaround is to open CA Agile Requirements Designer separately from Datamaker. You can do this by launching the 'AgileDesigner.exe' file (by default located at C:\Program Files\Grid-Tools\AgileDesigner) or double click the icon located on your desktop.
If you do not intend to configure the service layer for your environment and would like to disable the 'Unable to connect service layer' message during startup, perform the following steps. You will need to have Administrator privileges in Datamaker to do this. Refer to knowledge document TEC1766582 for steps on how to do this: https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec1766582.html
The most common way to resolve this issue is to start your CA Test Data Manager, TDoD, and Remote Publish Services.
If the issue is still not fixed, please refer to knowledge document TEC1766582 for all resolutions: https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec1766582.html
If you experience any more issues after following the resolution steps in this document and TEC1766582, please open a support case on https://support.ca.com/irj/portal/newhome or call 1-800-225-5224.