Database Server Issues and Error Messages


Possible issues related to the database server and the Application Server are listed below, along with information about their possible causes and how to resolve them.

Issue:

I get the following message in the Management Tool: "The connection with MS SQL database has been lost. Please check that the database is accessible and try again."

The Application Server has lost the connection to the MS SQL server. Make sure that the MS SQL Server is running and that it is online and accessible. To check that the MS SQL Server computer is accessible, enter the following command in the Windows command line: ping <the name of the MS SQL Server computer>

The connection to the MS SQL server is blocked by the firewall. Try disabling the firewall on the MS SQL Server side.


Issue:

I get the following error while trying to clean up the database: Error occurred while cleaning up the database. Please try again.

The program encountered an unexpected error while trying to clean up the database. Try cleaning up the database again.

Make sure the Application Server service is running.

There was a problem with the connection to the database. Make sure that the computer on which the database is installed is online and accessible. To check that the computer is accessible, enter the following command in the Windows command line:

ping <the name of the computer with the database installed>

If the issue is still not resolved, please send us the logs (i.e. the Serverlogs folder), which can be found in the following folder: C:\Program Files\Ekran System\Ekran System


Issue:

I get the following error while trying to perform an action on the database: "Error occurred while retrieving database info. Please try again."

The program encountered an unexpected error while trying to perform an action on the database. Try performing the action again.

There was a problem with the connection to the database. Make sure that the computer on which the database is installed is online and accessible. To check that the computer is accessible, enter the following command in the Windows command line:

ping <the name of the computer with the database installed>

If the issue is still not resolved, please send us the logs  (i.e. the Serverlogs folder), which can be found in the following folder: C:\Program Files\Ekran System\Ekran System


Issue:

There are too many records in the database.

The automatic or manual database cleanup feature can be used to remove old records from the database.


Issue:

I have defined a new database. What happened to the old one?

The old database remains in place and is not changed.


Issue:

I need to create a non-default MS SQL database user, whose account will be used by the Ekran System Application Server to work with the database.

Make sure the "dbcreator" and "public" roles are granted to the SQL Server user whose account will be used by the Ekran System Application Server to access the database. The User must change password at next login checkbox must be cleared.


Issue:

I need to transfer the data from the existing database to a new one,

For the new database, the existing database needs to be restored from a backup copy.


Issue:

I want to change the type of the database without losing any data,

Unfortunately, this is not possible because data cannot be transferred from one database type to another.


Issue:

I want to transfer the MS SQL database to another computer.

It is not possible to relocate the MS SQL database, although you can move it to another location on the same machine where the MS SQL Server is running.


Issue:

I have accidentally removed the database from the MS SQL Server.

The database needs to be restored from a backup copy. If you do not have a backup, you will need to define a new database while reinstalling the Application Server.


Issue:

If cannot shrink the database transaction log, because the Shrink Transaction Log button is not available in the Management Tool (on the Configuration page, on the Database Management tab).

Shrinking is only possible for the MS SQL Server database; this function is not supported by the PostgreSQL Server database.

NOTE: Shrinking cannot be performed while a cleanup operation is in progress.