---
title: "How to solve the error \"Unable to complete login process due to delay in opening server connection\" in SQL-Toolkit plugin"
description: "The error \"Unable to complete login process due to delay in opening server connection\" occurs in SQL-Toolkit plugin. Solutions include checking connectivity, enabling MultiSubnetFailover, and updating Netprobe to version GA6.2 or above."
url: "https://docs.itrsgroup.com/docs/faq/geneos/5214999694749-geneos-how-to-solve-the-error-unable-to-complete-login-process-due-to-delay-in-opening-server-connection-in-sql-toolkit-plugin/index.html"
---
When you try to connect Microsoft SQL Server with SQL-Toolkit plugin, the Active Console may display the error "Unable to complete login process due to delay in opening server connection". This article discusses the common issues and solutions.

## General Troubleshooting

SQL-Toolkit initiates the connection from the Netprobe side to the SQL Server database, which can be on the local machine or remote server. Users should perform general checking which include:

- Connectivity issues (network, firewall, DNS issues)
- SQL Server is running and not overloaded
- SQL Client is compatible and up-to-date

## Cluster Environment ("SQL Server Always On")

Microsoft SQL Server databases can be configured as a cluster. This provides a high-availability database environment for SQL Server clients. For example, if database node01 fails, the SQL Server clients connected to node01 are routed to the next active database node.

Users should check that they are using **Netprobe version GA6.2 and above**, which includes an option to handle failover scenarios for MS SQL Server databases. Users should enable the **MultiSubnetFailover** option in SQL-Toolkit plugin configuration.

## Workaround on older Netprobe versions

One workaround suggested in the Microsoft website is to reconfigure the database cluster's HostRecordTTL so that clients can reconnect quickly to the next available node:

> HostRecordTTL Setting
>
> By default, clients cache cluster DNS records for 20 minutes. By reducing HostRecordTTL, the Time to Live (TTL), for the cached record, legacy clients may reconnect more quickly. However, reducing the HostRecordTTL setting may also result in increased traffic to the DNS servers.

(Source: <https://docs.microsoft.com/en-us/sql/database-engine/availability-groups/windows/create-or-configure-an-availability-group-listener-sql-server?view=sql-server-ver15#HostRecordTTL>)

## Further Information

- [Geneos Release Notes](https://docs.itrsgroup.com/docs/all/release-notes/index.html) (and Compatibility Matrix)
- [SQL Toolkit configuration](https://docs.itrsgroup.com/docs/geneos/current/collection/sql-toolkit-config/index.html)
- [Troubleshooting automatic failover problems in SQL Server Always On environments (Microsoft website)](https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/availability-groups/troubleshooting-automatic-failover-problems)


