You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/sql/database-engine/availability-groups/listener-connection-times-out.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Listener connection times out
3
3
description: This article provides resolutions for the timeout error that occurs when you connect to a SQL Server Always On availability group listener in a multi-subnet environment.
4
-
ms.date: 08/04/2020
4
+
ms.date: 05/06/2025
5
5
ms.custom: sap:Always On Availability Groups (AG)
6
6
ms.reviewer: ramakoni
7
7
---
@@ -10,19 +10,19 @@ ms.reviewer: ramakoni
10
10
11
11
This article helps you resolve the problem that occurs when you connect to a SQL Server Always On availability group listener in a multi-subnet environment.
12
12
13
-
_Original product version:_ SQL Server 2012 Developer, SQL Server 2012 Enterprise, SQL Server 2012 Express, SQL Server 2012 Standard, SQL Server 2012 Web, SQL Server 2012 Enterprise Core
13
+
_Original product version:_ SQL Server 2012 and later versions
14
14
_Original KB number:_ 2792139
15
15
16
16
## Symptoms
17
17
18
-
After you configure the availability group listener for an Always On Availability Group in Microsoft SQL Server 2012, you may be unable to ping the listener or connect to it from an application.
18
+
After you configure the availability group listener for an Always On Availability Group in Microsoft SQL Server, you might be unable to ping the listener or connect to it from an application.
19
19
20
-
For example, when you try to connect to a listener of SQL Server by using `SQLCMD`, the connection times out. Additionally, you receive an error message that resembles the following:
20
+
For example, when you try to connect to a listener of SQL Server by using `SQLCMD`, the connection times out. Additionally, you receive an error message that resembles the following one:
21
21
22
22
> Sqlcmd: Error: Microsoft SQL Native Client: Login timeout expired.
23
23
24
24
> [!NOTE]
25
-
> These symptoms are usually intermittent, or related to failover of the availability group resource.
25
+
> These symptoms are intermittent, or related to failover of the availability group resource.
26
26
27
27
The following screenshot shows an example of what occurs when you try to ping the listener for the availability of `aglisten`. The screenshot also shows a successful connection to SQL Server by using the `SQLCMD` command when you include the multi-subnet failover parameter `-M`.
28
28
@@ -33,20 +33,20 @@ The following screenshot shows an example of what occurs when you try to ping th
33
33
34
34
## Cause
35
35
36
-
This issue occurs because your application either uses a legacy data provider that does not support the new `MultiSubnetFailover` parameter, or isn't configured to use this parameter.
36
+
This issue occurs because your application either uses a legacy data provider that doesn't support the new `MultiSubnetFailover` parameter, or isn't configured to use this parameter.
37
37
38
-
This parameter is supported in newer versions of the SQLClient driver that is included with the .NET Framework 4 and with later versions of the .NET Framework, and is back ported to the .NET Framework 3.5.
38
+
This parameter is supported in newer versions of the SQLClient driver that is included with the .NET Framework 4 and later versions of the .NET Framework, and is back ported to the .NET Framework 3.5.
39
39
40
40
> [!NOTE]
41
-
> The `PING` command is a simple connectivity testing tool that does not support the new parameter.
41
+
> The `PING` command is a simple connectivity testing tool that doesn't support the new parameter.
42
42
43
43
## Resolution
44
44
45
45
You can use one of the following resolutions as applicable to your case:
46
46
47
47
- To resolve this situation when the data providers support the `MultiSubNetFailover` parameter, add the `MultiSubNetFailover` parameter to your connection string, and set it to **true**.
48
48
49
-
- To resolve this situation when your legacy clients cannot use the `MultiSubnetFailover` property, you can change the listener's `RegisterAllProvidersIP` value to **0**. To do this, run the following command from the Windows PowerShell command-line interface:
49
+
- To resolve this situation when your legacy clients can't use the `MultiSubnetFailover` property, you can change the listener's `RegisterAllProvidersIP` value to **0** by running the following command from the Windows PowerShell command-line interface:
50
50
51
51
```powershell
52
52
Import-Module FailoverClusters
@@ -56,22 +56,22 @@ You can use one of the following resolutions as applicable to your case:
56
56
:::image type="content" source="media/listener-connection-times-out/change-listener-registeraiiprovidersip.png" alt-text="Screenshot shows the output of an example of the command in Windows PowerShell.":::
57
57
58
58
> [!NOTE]
59
-
> After you set the `RegisterAllProvidersIP` value to **0**, the current online IP address must be un-registered from the DNS server and the offline IP address must be registered to the DNS server when a failover occurs. This may cause a connection delay for the next failover.
59
+
> After you set the `RegisterAllProvidersIP` value to **0**, the current online IP address must be unregistered from the DNS server and the offline IP address must be registered to the DNS server when a failover occurs. This might cause a connection delay for the next failover.
60
60
61
61
## More information
62
62
63
-
When you try to connect to a listener that is defined on more than one subnet, the operation may fail if the client driver tries to connect by using one of the listener's offline IP addresses.
63
+
When you try to connect to a listener that is defined on more than one subnet, the operation might fail if the client driver tries to connect by using one of the listener's offline IP addresses.
64
64
65
65
When a listener is created, an IP address is designated for each unique subnet that an availability group replica is hosted in. For example, if a listener is created for an availability group that has replicas that exist in two subnets, two IP addresses are defined in the listener. One address is used by an application that can connect to an instance of SQL Server in subnet 1, and the other address is used when an application connects to an instance of SQL Server in subnet 2.
66
66
67
-
Behind the scenes, the listener creates a Windows cluster Client Access Point resource. One of its properties is `RegisterAllProvidersIP`. When a listener is created, this is set to **1**, and all the listener's IP addresses are registered in DNS server. This configuration provides reduced reconnection time for clients.
67
+
Behind the scenes, the listener creates a Windows cluster Client Access Point resource. One of its properties is `RegisterAllProvidersIP`. When a listener is created, this property is set to **1**, and all the listener's IP addresses are registered in DNS server. This configuration provides reduced reconnection time for clients.
68
68
69
-
Because the DNS record contains all the IP addresses, a client that tries to connect to the listener must know how to handle this situation. The `MultiSubnetFailover` parameter enables the client driver to try connections in parallel to all the listener's IP addresses. Without the `MultiSubnetFailover` parameter, the client driver will try to connect sequentially to all IP addresses for the listener. Sequential connections may cause a long logon time or logon time-outs.
69
+
Because the DNS record contains all the IP addresses, a client that tries to connect to the listener must know how to handle this situation. The `MultiSubnetFailover` parameter enables the client driver to try connections in parallel to all the listener's IP addresses. Without the `MultiSubnetFailover` parameter, the client driver will try to connect sequentially to all IP addresses for the listener. Sequential connections might cause a long logon time or logon time-outs.
70
70
71
71
> [!NOTE]
72
72
> The problem that is mentioned in this article also affects SharePoint environments that are configured to use an Always On Availability Group's secondary read-only replica. To resolve this issue, perform whichever of the following actions applies to your version of SharePoint:
73
73
74
-
- For SharePoint 2007: This is classified as a legacy application. Therefore, SharePoint 2007 cannot be configured to use the `MultiSubnetFailover` parameter. Instead, you have to use the Windows PowerShell command that is described in the [Resolution](#resolution) section.
74
+
- For SharePoint 2007: This is classified as a legacy application. Therefore, SharePoint 2007 can't be configured to use the `MultiSubnetFailover` parameter. Instead, you have to use the Windows PowerShell command that is described in the [Resolution](#resolution) section.
75
75
76
76
- For SharePoint 2010: Cumulative update packages are now available that add support for the `MultiSubnetFailover` parameter. For more information about the update packages, see the following article:
Copy file name to clipboardExpand all lines: support/sql/database-engine/backup-restore/tde-enabled-database-not-recover.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
1
---
2
2
title: A TDE-enabled database might not recover
3
3
description: This article provides a resolution for the problem where a TDE-enabled database might not recover when automatic encryption of the master key by the service master key is removed.
4
-
ms.date: 01/14/2021
4
+
ms.date: 05/06/2025
5
5
ms.custom: sap:Database Backup and Restore
6
6
ms.reviewer: VenCher, SureshKa
7
7
---
8
8
# A TDE-enabled database might not recover in SQL Server
9
9
10
10
This article helps you resolve the problem where a TDE-enabled database might not recover when automatic encryption of the master key by the service master key (SMK) is removed.
11
11
12
-
_Applies to:_ SQL Server 2008 Enterprise, SQL Server 2008 R2 Enterprise
12
+
_Applies to:_ SQL Server
13
13
_Original KB number:_ 2666213
14
14
15
15
## Symptoms
16
16
17
-
In Microsoft SQL Server 2008 and in Microsoft SQL Server 2008 R2, a database that's enabled for transparent database encryption (TDE) may not recover. And, the following error message may be logged in the SQL Server error log:
17
+
In Microsoft SQL Server, a database that's enabled for transparent database encryption (TDE) may not recover. And, the following error message may be logged in the SQL Server error log:
Copy file name to clipboardExpand all lines: support/sql/database-engine/connect/winsock-lsp-network-problem.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
---
2
2
title: Winsock LSP may result in network problems
3
3
description: This article helps you resolve the problem that occurs when Winsock Layered Service Providers (LSP) are loaded into SQL Server address space.
4
-
ms.date: 09/25/2020
4
+
ms.date: 05/06/2025
5
5
ms.custom: sap:Database Connectivity and Authentication
6
6
ms.reviewer: SureshKa
7
7
---
8
8
# Winsock Layered Service Providers may result in network or server stability problems for SQL Server
9
9
10
10
This article helps you resolve the problem that occurs when Winsock Layered Service Providers (LSP) are loaded into SQL Server address space.
11
11
12
-
_Original product version:_ Microsoft SQL Server 2005, SQL Server 2008
12
+
_Original product version:_ Microsoft SQL Server
13
13
_Original KB number:_ 2033448
14
14
15
15
## Symptoms
@@ -42,4 +42,3 @@ If you have a business requirement to use these providers, ensure that you have
Copy file name to clipboardExpand all lines: support/sql/database-engine/database-file-operations/8967-8921-errors-running-dbcc-checkdb.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,22 @@
1
1
---
2
2
title: Error when you run the DBCC CHECKDB command
3
-
description: This article provides a workaround for the problem that occurs when you run the DBCC CHECKDB command on a computer that contains a SQL Server database.
4
-
ms.date: 11/03/2020
3
+
description: This article provides a workaround for the problem that occurs when you run the DBCC CHECKDB command on a SQL Server database.
4
+
ms.date: 05/06/2025
5
5
ms.custom: sap:File, Filegroup, Database Operations or Corruption
6
6
ms.reviewer: sureshka, ryanston, sunila, davco
7
7
---
8
-
# Error message when you run the DBCC CHECKDB command on a computer that contains a SQL Server database
8
+
# Error message when you run the DBCC CHECKDB command on a SQL Server database
9
9
10
10
This article hepls you work around the problem that occurs when you run the `DBCC CHECKDB` command on a computer that contains a SQL Server database.
11
11
12
-
_Original product version:_ SQL Server 2008
12
+
_Original product version:_ SQL Server 2005 and later versions
13
13
_Original KB number:_ 960791
14
14
15
15
## Symptoms
16
16
17
17
Consider the following scenario:
18
18
19
-
- You restore a Microsoft SQL Server 2008 or SQL Server 2005 database from a backup.
19
+
- You restore a Microsoft SQL Server database from a backup.
20
20
21
21
- You receive errors during the restore process that prevent you from restoring the database.
22
22
@@ -42,6 +42,6 @@ This problem occurs if the `DBCC CHECKDB` command cannot perform the necessary c
42
42
43
43
## Workaround
44
44
45
-
To work around this problem, use the TABLOCK hint with the `DBCC CHECKDB` command. This lets the `DBCC CHECKDB` command finish without generating the error message.
45
+
To work around this problem, use the [TABLOCK hint](/sql/t-sql/database-console-commands/dbcc-checkdb-transact-sql#tablock) with the `DBCC CHECKDB` command. This lets the `DBCC CHECKDB` command finish without generating the error message.
46
46
47
-
For more information about TABLOCK hints, visit the following Microsoft Web site:[Hints (Transact-SQL) - Table](/sql/t-sql/queries/hints-transact-sql-table).
47
+
For more information about TABLOCK hints, see[Hints (Transact-SQL) - Table](/sql/t-sql/queries/hints-transact-sql-table).
title: Error when you run the DBCC CHECKDB statement
3
3
description: This article describes a problem where you receive an error message when you try to run the DBCC CHECKDB statement on a database that contains a large table in SQL Server.
4
-
ms.date: 10/11/2022
4
+
ms.date: 05/06/2025
5
5
ms.custom: sap:File, Filegroup, Database Operations or Corruption
6
6
ms.reviewer: keithelm
7
7
---
8
8
# "Timeout occurred while waiting for latch" error when running `DBCC CHECKDB` statement on a database
9
9
10
10
This article introduces a problem where you receive an error message when you try to run the `DBCC CHECKDB` statement on a database that contains a large table in SQL Server.
11
11
12
-
_Original product version:_ SQL Server 2012, SQL Server 2008
12
+
_Original product version:_ SQL Server
13
13
_Original KB number:_ 919155
14
14
15
15
## Symptoms
@@ -33,29 +33,3 @@ This issue occurs because a time-out occurs when SQL Server traverses the Index
33
33
## Status
34
34
35
35
This behavior is by design.
36
-
37
-
## Applies to
38
-
39
-
- SQL Server 2008 Developer
40
-
- SQL Server 2008 Enterprise
41
-
- SQL Server 2008 Express
42
-
- SQL Server 2008 Express with Advanced Services
43
-
- SQL Server 2008 R2 Datacenter
44
-
- SQL Server 2008 R2 Developer
45
-
- SQL Server 2008 R2 Enterprise
46
-
- SQL Server 2008 R2 Express
47
-
- SQL Server 2008 R2 Express with Advanced Services
48
-
- SQL Server 2008 R2 Standard
49
-
- SQL Server 2008 R2 Standard Edition for Small Business
# Error message when you try to install SQL Server 2008 R2
7
+
# Error message when you try to install SQL Server
8
8
9
-
This article helps you resolve various errors that occurs when you try to install SQL Server 2008 R2.
9
+
This article helps you resolve various errors that occurs when you try to install SQL Server.
10
10
11
-
_Original product version:_ SQL Server 2008 R2
11
+
_Original product version:_ SQL Server
12
12
_Original KB number:_ 2449398
13
13
14
14
## Symptoms
15
15
16
-
When you try to install Microsoft SQL Server 2008 R2, you receive one or more of the following error messages or experience one or more of the following symptoms. Additionally, you cannot continue with the setup.
16
+
When you try to install Microsoft SQL Server, you receive one or more of the following error messages or experience one or more of the following symptoms. Additionally, you cannot continue with the setup.
17
17
18
18
Setup error messages or symptoms
19
19
@@ -105,7 +105,7 @@ To resolve the problem, use one of the following methods:
105
105
106
106
1. Open Windows Explorer. To do this, click **Start**, click **All Programs**, click **Accessories**, and then click **Windows Explorer**.
107
107
108
-
2. Locate and then click the folder: `C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\resources\1033`.
108
+
2. Locate and then click the folder: `C:\Program Files\Microsoft SQL Server\1XX\Setup Bootstrap\SQLXXX\resources\1033`.
109
109
110
110
3. Right-click Setup.rll, and then click **Rename**.
111
111
@@ -126,18 +126,4 @@ To resolve the problem, use one of the following methods:
126
126
127
127
The error messages that are mentioned in the [Symptoms](#symptoms) section may have other causes. If the steps in the [Resolution](#resolution) section do not resolve the problem, you may be experiencing a different problem.
128
128
129
-
- For more information about how to install SQL Server 2008 R2, see [How to: Install SQL Server 2008 R2 (Setup)](/previous-versions/sql/sql-server-2008-r2/ms143219(v=sql.105)).
130
-
131
-
- For more information about known issues when you install SQL Server on Windows 7 or on Windows Server 2008 R2, see [Known issues installing SQL Server on Windows 7 or Windows Server 2008 R2](https://support.microsoft.com/help/955725).
132
-
133
-
## Applies to
134
-
135
-
- SQL Server 2008 R2 Datacenter
136
-
- SQL Server 2008 R2 Developer
137
-
- SQL Server 2008 R2 Enterprise
138
-
- SQL Server 2008 R2 Express
139
-
- SQL Server 2008 R2 Express with Advanced Services
140
-
- SQL Server 2008 R2 Standard
141
-
- SQL Server 2008 R2 Standard Edition for Small Business
142
-
- SQL Server 2008 R2 Web
143
-
- SQL Server 2008 R2 Workgroup
129
+
[SQL Server installation guide](/sql/database-engine/install-windows/install-sql-server)
0 commit comments