Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Cannot connect to a named instance after failover on a mirror server in SQL Server 2014 or 2016


View products that this article applies to.

Symptoms

Consider the following scenario:

  • You use the Microsoft ODBC Driver for SQL Server and the Microsoft SQL Server Native Client 11.0 that is installed when you install SQL Server 2014 or 2016.
  • You connect to a named instance of SQL Server 2014 or 2016 that is running database mirroring.
  • Failover of the named instance occurs from the principal server to the mirror server.
In this scenario, when you hide the named instance or you stop using the SQL Server Browser service, you cannot connect to the named instance on the mirror server.

↑ Back to the top


Resolution

To resolve this issue, install the following cumulative updateand ODBC driver for your version of SQL Server.Note Although the driver is included in the cumulative updates forSQL Server 2014, you must install the driver separately for all versions.

Cumulative update


ODBC driver


About cumulative updates for SQL Server
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:


↑ Back to the top


Workaround

To work around this issue, restart the SQL Server Browser service.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


References

Learn about the terminology Microsoft uses to describe software updates.

↑ Back to the top


Keywords: kbqfe, kbsurveynew, kbnotautohotfix, kbfix, kbexpertiseinter, kb

↑ Back to the top

Article Info
Article ID : 3159748
Revision : 6
Created on : 3/4/2017
Published on : 3/4/2017
Exists online : False
Views : 199