Greetings, everyone.
I am relatively new to Lazarus, and I am currently developing a desktop application in Windows 10 using Lazarus v1.8.4. I have finished most parts of the application, including SQL Server database-related modules, using the adequate information and help included in the forum and wiki, as well as the great components and libraries Lazarus has. However, one day, as I was testing my application, I encountered an exception stating the following message:
Project [Project Name] raised exception class 'EMSSQLDatabaseError' with message:
DBConnection: Error 20002:
Adaptive Server connection timed out (IP)
Adaptive Server connection failed (IP)Upon further testing, it was determined that the error occurs whenever the application attempts to connect to the database as follows:
DBConnection.Connected := True;
Prior to this, I believe no code was altered and every module performs as expected.
How do I resolve this issue?
Thank you very much.