Page 1 of 1

Windows Service is not starting up after upgrading to 8.2.1 version

Posted: Thu 04 Mar 2021 10:57
by MohanRajeshK
We have a windows service using this DbExpress Driver for SQL Server 8.2.1. Previously this service used to start and work normally now it is not starting and not uninstalling also.
When I try to start the service it is throwing the below error

A timeout was reached (30000 milliseconds) while waiting for the TIPQA Server service to connect.
The TIPQA Server service failed to start due to the following error:

The service did not respond to the start or control request in a timely fashion.

When I try to uninstall it is saying

0xc00007b “the application was unable to start correctly.
We have this dll dbexpsda40.dll at the exe location

Service is developed on Delphi XE6

Any help would be appreciated.

Re: Windows Service is not starting up after upgrading to 8.2.1 version

Posted: Thu 04 Mar 2021 13:34
by Stellar
Does the driver connect to the server on service startup? We need to find out what exception causes the error. Could you create an exception handler and save the message to a file on disk?

Re: Windows Service is not starting up after upgrading to 8.2.1 version

Posted: Fri 12 Mar 2021 09:43
by MohanRajeshK
After some research we expect this to be a dll version issue, In the registry, we can see the dll version as 7.3.5.0 but it is pointing to the dll with version 8.2.1.0, So we are trying to unregister the old dll to register the new dll, But we are getting some errors
Image


How to fix this issue, Can someone, please help

Re: Windows Service is not starting up after upgrading to 8.2.1 version

Posted: Tue 16 Mar 2021 12:32
by Stellar
To solve the issue of updating dbExpress Driver for SQL Server, please try the following:
- close Delphi;
- uninstall dbExpress Driver for SQL Server;
- remove all the files dbexpsda40.dll, dbexpsda30.dll and dbexpsda.dll from your computer (please make sure that there are no such files on your computer);
- install dbExpress Driver for SQL Server;
Please follow our recommendations and inform us about the result.