SQL Gateway – “The ‘Configured_Service’ expected status was Running, but the actual status is StartPending.” error

  • 14 December 2023
  • 0 replies
  • 6 views

Userlevel 2
Badge

This error message indicates the service failed to start within the expected timeframe (default of 30 seconds). When you start the service within the Gateway, it attempts a Test Connection against the driver. Sometimes this will take longer than the timeout leading to the failure.  

 

 

 

Most commonly, this indicates that we haven’t established any connection in our ODBC Data Sources or it may be lost to inactivity with this source. 

We can overcome this issue by some simple steps 

  1. Firstly, open your CData SQL Gateway, and select your "Configured_Service" service and edit it.  

  1. In the following Service Configurator window click Edit.  

 

 

 

 

  

By doing so, we will redirect to the ODBC Configuration screen, so we must set up our properties and press “Test Connection”. After doing so the driver will complete the whole authentication process, and you will get the following screen: 

 

 

 

 

 

Please note that you should press “OK” at each of the following windows in order to register the tokens in the registry successfully. 

  

The last step would be to just start the service, and you will be good to go. 

 

 

--- 

 

If this does not resolve the issue, you may simply need to increase the timeout for starting the service, which you can do by following Microsoft’s guide here: 

 

https://learn.microsoft.com/en-us/troubleshoot/windows-server/system-management-components/service-not-start-events-7000-7011-time-out-error 

 

If any issues persist, please reach out to CData Support at support@cdata.com.


This topic has been closed for comments