This article describes the steps on how to fix the error: SQL database name: when GFI LanGuard fails to connect to the SQL Server during an installation or upgrade.
This error generally occurs when the SQL Server Browser service is not able to appropriately read and connect to the SQL Server. To verify that this is the case, start the installation or upgrade process, provide the SQL Server details required, and check that system fails to connect and displays the following error:
That confirms the root cause. Instead of clicking OK, proceed with the Solution steps below.
In rare cases, the error might be caused by the wrong SQL server name chosen from the dropdown list. The Solution below covers this case as well.
The SQL Server Browser service needs to be started/restarted to resolve the error:
Open the Windows Services Manager by typing
services.mscon the Windows Run dialog ( press Windows key + R):
Locate the SQL Server Browser service.
Start the service (if it is not running) or restart the service (if it is currently running):
Return to the LanGuard installation/upgrade window and click Ok.
Verify that the correct SQL Server name was chosen from the provided list of servers discovered on the network. You can check this with the help of the Microsoft SQL Management Studio - the correct SQL instance is the one with the LanGuard LNSSScanresults12 database.
Click Ok on the Database Configuration panel.
The installation or upgrade should proceed without encountering the error/prompt mentioned above.