Skip to content

Commit 9d8a4fc

Browse files
authored
Merge pull request #35148 from MikeRayMSFT/250827-known-issues
Add SQL Server 2025 known issues documentation and update related ref…
2 parents 6a5d832 + afb9642 commit 9d8a4fc

8 files changed

Lines changed: 244 additions & 218 deletions

docs/database-engine/breaking-changes-to-database-engine-features-in-sql-server-2025.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ For information about how to connect securely to [!INCLUDE [sssql25-md](../inclu
3434
[!INCLUDE [sssql25-md](../includes/sssql25-md.md)] includes changes to [encryption](../relational-databases/security/networking/tds-8.md) that introduce a breaking change to [Transactional](../relational-databases/replication/transactional/transactional-replication.md#configure-tls-13-encryption), [Snapshot](../relational-databases/replication/snapshot-replication.md#configure-tls-13-encryption), [Peer to peer](../relational-databases/replication/transactional/peer-to-peer-transactional-replication.md#configure-tls-13-encryption) and [Merge](../relational-databases/replication/merge/merge-replication.md#configure-tls-13-encryption) replication.
3535

3636
In [!INCLUDE [sssql25-md](../includes/sssql25-md.md)]:
37-
- [In-place upgrades to SQL Server 2025 Preview for instances with a remote distributor can fail](../sql-server/sql-server-2025-release-notes.md#in-place-upgrade-fails-due-to-replication)
38-
- [Adding a remote distributor to a SQL Server 2025 Preview publisher can fail](../sql-server/sql-server-2025-release-notes.md#adding-a-remote-replication-distributor-fails)
37+
- [In-place upgrades to SQL Server 2025 Preview for instances with a remote distributor can fail](../sql-server/sql-server-2025-known-issues.md#in-place-upgrade-fails-due-to-replication)
38+
- [Adding a remote distributor to a SQL Server 2025 Preview publisher can fail](../sql-server/sql-server-2025-known-issues.md#adding-a-remote-replication-distributor-fails)
3939

4040
For information about how to connect securely to [!INCLUDE [sssql25-md](../includes/sssql25-md.md)] instances, see [TDS 8.0](../relational-databases/security/networking/tds-8.md).
4141

docs/database-engine/configure-windows/view-or-configure-the-backup-compression-algorithm-server-configuration-option.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You can use the `backup compression algorithm` option to specify the algorithm u
4242
## View the backup compression algorithm option
4343

4444
> [!NOTE]
45-
> There's currently a [known issue](../../sql-server/sql-server-2025-release-notes.md#setting-the-backup-compression-algorithm-to-zstd) with setting the `backup compression algorithm` to ZSTD.
45+
> There's currently a [known issue](../../sql-server/sql-server-2025-known-issues.md#setting-the-backup-compression-algorithm-to-zstd) with setting the `backup compression algorithm` to ZSTD.
4646
4747
1. In [!INCLUDE [ssmanstudiofull-md](../../includes/ssmanstudiofull-md.md)], connect to the [!INCLUDE [ssDE](../../includes/ssde-md.md)].
4848

docs/includes/sql-25-repl-info.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.custom:
88
---
99
> [!NOTE]
1010
> For replication topologies with a remote distributor:
11-
> - [In-place upgrades to SQL Server 2025 Preview for instances with a remote distributor can fail](../sql-server/sql-server-2025-release-notes.md#in-place-upgrade-fails-due-to-replication)
12-
> - [Adding a remote distributor to a SQL Server 2025 Preview publisher can fail](../sql-server/sql-server-2025-release-notes.md#adding-a-remote-replication-distributor-fails)
11+
> - [In-place upgrades to SQL Server 2025 Preview for instances with a remote distributor can fail](../sql-server/sql-server-2025-known-issues.md#in-place-upgrade-fails-due-to-replication)
12+
> - [Adding a remote distributor to a SQL Server 2025 Preview publisher can fail](../sql-server/sql-server-2025-known-issues.md#adding-a-remote-replication-distributor-fails)
1313
Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
---
2+
title: "SQL Server 2025 Known Issues"
3+
description: "Known issues, causes, and workarounds for SQL Server 2025 Preview (17.x), covering upgrades, replication, PolyBase, session behavior, platform compatibility (Windows and Linux), backup compression, and other platform-specific limitations."
4+
author: MikeRayMSFT
5+
ms.author: mikeray
6+
ms.reviewer: randolphwest
7+
ms.date: 08/27/2025
8+
ms.service: sql
9+
ms.subservice: release-landing
10+
ms.topic: troubleshooting-known-issue
11+
monikerRange: ">=sql-server-2016"
12+
---
13+
14+
# SQL Server 2025 Preview known issues
15+
16+
[!INCLUDE [sqlserver2025](../includes/applies-to-version/sqlserver2025.md)]
17+
18+
This article describes known issues for [!INCLUDE [sssql25-md](../includes/sssql25-md.md)].
19+
20+
[!INCLUDE [sssql25-md](../includes/sssql25-md.md)] has currently identified the following known issues:
21+
22+
- [Windows Arm64 not supported](#windows-arm64-not-supported)
23+
- [In-place upgrade fails due to Microsoft Visual C++ Redistributable](#in-place-upgrade-fails-due-to-microsoft-visual-c-redistributable)
24+
- [In-place upgrade fails due to replication](#in-place-upgrade-fails-due-to-replication)
25+
- [Adding a remote replication distributor fails](#adding-a-remote-replication-distributor-fails)
26+
- [Linked server connections fail after an upgrade](#linked-server-connections-fail-after-an-upgrade)
27+
- [SQL Server on Windows fails to start on machines with more than 64 logical cores per NUMA node](#sql-server-on-windows-fails-to-start-on-machines-with-more-than-64-logical-cores-per-numa-node)
28+
- [Incorrect behavior of SESSION_CONTEXT in parallel plans](#incorrect-behavior-of-session_context-in-parallel-plans)
29+
- [Access violation exception occurs under certain conditions](#access-violation-exception-occurs-under-certain-conditions)
30+
- [Issue when setting the backup compression algorithm to ZSTD](#setting-the-backup-compression-algorithm-to-zstd)
31+
- [PolyBase components fail to start](#polybase-components-fail-to-start)
32+
- [PolyBase connections fail to external SQL Server source](#polybase-connections-fail-to-external-sql-server-source)
33+
- [SQL Server on Linux fails to start on machines with hybrid CPU architecture](#sql-server-on-linux-fails-to-start-on-machines-with-hybrid-cpu-architecture)
34+
- [Linux PolyBase Network encryption enabled fails](#linux-polybase-network-encryption-enabled-fails)
35+
- [Local ONNX models not supported on Linux operating systems](#local-onnx-models-not-supported-on-linux-operating-systems)
36+
37+
## Windows Arm64 not supported
38+
39+
[!INCLUDE [sssql25-md](../includes/sssql25-md.md)] isn't supported on Windows Arm64. Only Intel and AMD x86-64 CPUs with [up to 64 cores per NUMA node](compute-capacity-limits-by-edition-of-sql-server.md#numa-64) are currently supported.
40+
41+
## In-place upgrade fails due to Microsoft Visual C++ Redistributable
42+
43+
An upgrade from the following versions might fail:
44+
45+
- [!INCLUDE [sssql16-md](../includes/sssql16-md.md)]
46+
- [!INCLUDE [sssql17-md](../includes/sssql17-md.md)]
47+
48+
This can happen when the existing operating system environment is missing the Microsoft Visual C++ Redistributable for Visual Studio 2022, or an older version of this component is installed.
49+
50+
When this happens, the installation log includes an entry like the following example:
51+
52+
```output
53+
This application requires Microsoft Visual C++ Redistributable for
54+
Visual Studio 2022 (x64/x86, version 14.34 at minimum).
55+
Please install the Redistributable, then run this installer again.
56+
For more information, see: https://go.microsoft.com/fwlink/?linkid=2219560.
57+
```
58+
59+
To complete the upgrade, add or repair the redistributable component, and run the installation again.
60+
61+
To get the redistributable file, review [Microsoft Visual C++ Redistributable latest supported downloads](/cpp/windows/latest-supported-vc-redist).
62+
63+
## In-place upgrade fails due to replication
64+
65+
Upgrades to [!INCLUDE [sssql25-md](../includes/sssql25-md.md)] from all previous versions of SQL Server might fail if your SQL Server instance:
66+
- Is configured as a replication publisher.
67+
- Has a remote distributor in the replication topology.
68+
- Isn't configured with a trusted certificate.
69+
70+
In this scenario, during the in-place upgrade, the **SQL Server replication** component shows a status of **Failed** and you see the following error:
71+
72+
```error-text
73+
There was an error executing the Replication upgrade scripts. See the SQL Server error log for details.
74+
```
75+
76+
The SQL Server error log contains the following errors:
77+
78+
```error-text
79+
OLE DB provider "MSOLEDBSQL19" for linked server "repl_distributor" returned message
80+
"Client unable to establish connection".
81+
SSL Provider: The certificate chain was issued by an authority that is not trusted.
82+
Error executing sp_vupgrade_replication.
83+
```
84+
85+
You might see the following behavior after the upgrade:
86+
87+
- Replication continues to succeed but changes to the publication fail.
88+
- Replication Monitor in SQL Server Management Studio (SSMS) fails.
89+
- Agent status in the SSMS UI fails.
90+
91+
You can resolve this issue preemptively before you start the upgrade, or you can resolve the issue after an upgrade fails.
92+
93+
### Before starting the upgrade
94+
95+
> [!NOTE]
96+
> The resolution in this section is intended for the current RC 0 release of [!INCLUDE [sssql25-md](../includes/sssql25-md.md)] and will be addressed differently in a future release.
97+
98+
If you know that your SQL Server upgrade is going to encounter this issue, you can preemptively mitigate the failure by configuring the SQL Server instance to use a [public commercial certificate](../database-engine/configure-windows/special-cases-for-encrypting-connections-sql-server.md#use-a-certificate-issued-by-a-public-commercial-certificate-authority-and-only-some-clients-need-encrypted-connections) or a certificate from an [internal certificate authority](../database-engine/configure-windows/special-cases-for-encrypting-connections-sql-server.md#use-a-certificate-issued-by-an-internal-ca-or-created-by-using-new-selfsignedcertificate-or-makecert).
99+
100+
This is the recommended option for maximum security.
101+
102+
### After a failed upgrade
103+
104+
> [!NOTE]
105+
> The workaround in this section is intended for the current RC 0 release of [!INCLUDE [sssql25-md](../includes/sssql25-md.md)] and will be addressed differently in a future release.
106+
107+
After an upgrade fails, you can still configure the SQL Server instance to use a [public commercial certificate](../database-engine/configure-windows/special-cases-for-encrypting-connections-sql-server.md#use-a-certificate-issued-by-a-public-commercial-certificate-authority-and-only-some-clients-need-encrypted-connections) or a certificate from an [internal certificate authority](../database-engine/configure-windows/special-cases-for-encrypting-connections-sql-server.md#use-a-certificate-issued-by-an-internal-ca-or-created-by-using-new-selfsignedcertificate-or-makecert).
108+
109+
After configuring your SQL Server instance to use a certificate, [repair the SQL Server installation](../database-engine/install-windows/repair-a-failed-sql-server-installation.md).
110+
111+
Alternatively, for SQL Server on Windows, you can choose the less secure option of overriding the secure default of the new OLEDB provider and set `TrustServerCertificate=True` to trust the self-signed certificate. Customers on Linux can't override defaults, and must import a trusted certificate to resolve this issue.
112+
113+
To override the new default, follow these steps:
114+
115+
1. Use the [sys.sp_serveroption](../relational-databases/system-stored-procedures/sp-serveroption-transact-sql.md) stored procedure to set the `TrustServerCertificate=Yes` option:
116+
117+
```sql
118+
exec sys.sp_serveroption N'repl_distributor', 'provider string', N'TrustServerCertificate=Yes'
119+
```
120+
121+
1. Set the following [Trust Server Certificate registry entry](../connect/oledb/features/registry-settings.md#trust-server-certificate) to `1`:
122+
123+
`HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\SNI19.0\GeneralFlags\Flag2`
124+
125+
1. Restart the SQL Server instance.
126+
1. [Repair a failed SQL Server installation](../database-engine/install-windows/repair-a-failed-sql-server-installation.md) to finalize the upgrade.
127+
128+
> [!NOTE]
129+
> The new secure defaults pertain to the new underlying OLEDB 19 provider, which enhances security. The option to override the default is less secure than configuring your instance to use a trusted certificate. After overriding the default, you have the option to configure SQL Server to use a certificate, and use the same [sys.sp_serveroption](../relational-databases/system-stored-procedures/sp-serveroption-transact-sql.md) stored procedure to set the default back to `TrustServerCertificate=No`.
130+
131+
<a id="adding-a-remote-replication-distributor-fails"></a>
132+
133+
## Add a remote replication distributor fails
134+
135+
> [!NOTE]
136+
> The resolution in this section is intended for the current RC 0 release of [!INCLUDE [sssql25-md](../includes/sssql25-md.md)] and will be addressed differently in a future release.
137+
138+
When configuring a distributor for replication, the [sp_adddistributor](../relational-databases/system-stored-procedures/sp-adddistributor-transact-sql.md) stored procedure fails when:
139+
140+
- The publisher is a [!INCLUDE [sssql25-md](../includes/sssql25-md.md)] instance.
141+
- The distributor is remote.
142+
- The distributor isn't configured with a trusted certificate.
143+
144+
You might see the following error when running `sp_adddistributor` on the publisher instance:
145+
146+
```error-text
147+
OLE DB provider "MSOLEDBSQL19" for linked server "repl_distributor" returned message
148+
"Client unable to establish connection".
149+
Msg -2146893019, Level 16, State 1, Line 21
150+
SSL Provider: The certificate chain was issued by an authority that is not trusted.
151+
```
152+
153+
A remote distributor uses a linked server for communication between the publisher and distributor. The new secure default introduced in [!INCLUDE [sssql25-md](../includes/sssql25-md.md)] of the new OLEDB provider requires that `TrustServerCertificate=False`.
154+
155+
To resolve this issue, configure the distributor SQL Server instance to use a [public commercial certificate](../database-engine/configure-windows/special-cases-for-encrypting-connections-sql-server.md#use-a-certificate-issued-by-a-public-commercial-certificate-authority-and-only-some-clients-need-encrypted-connections) or a certificate from an [internal certificate authority](../database-engine/configure-windows/special-cases-for-encrypting-connections-sql-server.md#use-a-certificate-issued-by-an-internal-ca-or-created-by-using-new-selfsignedcertificate-or-makecert).
156+
157+
## Linked server connections fail after an upgrade
158+
159+
When you upgrade from previous versions of SQL Server to [!INCLUDE [sssql25-md](../includes/sssql25-md.md)] with Microsoft OLE DB Driver 19, existing linked server configurations might fail. Different default values for the encryption parameter might cause this failure unless a valid certificate is provided.
160+
161+
To learn more, review [Linked servers](../relational-databases/linked-servers/linked-servers-database-engine.md#updating-from-previous-oledb-versions).
162+
163+
## SQL Server on Windows fails to start on machines with more than 64 logical cores per NUMA node
164+
165+
**Issue**: SQL Server instances on Windows might fail to start after the installation if the machine has more than 64 logical cores per NUMA node.
166+
167+
For more information, see [Limit number of logical cores per NUMA node to 64](compute-capacity-limits-by-edition-of-sql-server.md#limit-number-of-logical-cores-per-numa-node-to-64).
168+
169+
## Incorrect behavior of SESSION_CONTEXT in parallel plans
170+
171+
Queries that use the built-in `SESSION_CONTEXT` function might return incorrect results or trigger access violation (AV) dumps when executed in parallel query plans. This issue stems from the way the function interacts with parallel execution threads, particularly when the session is reset for reuse.
172+
173+
For more information, see the [Known issues](../t-sql/functions/session-context-transact-sql.md#known-issues) section in `SESSION_CONTEXT`.
174+
175+
## Access violation exception occurs under certain conditions
176+
177+
When the Optional parameter plan optimization feature encounters a predicate that is based on a LOB column, an access violation exception can occur. A fix has been identified and will be part of the next preview release of SQL Server 2025.
178+
179+
Large object (LOB) data types in the Database Engine can store data that exceeds 8,000 bytes. These data types store data on a [row-overflow](../relational-databases/pages-and-extents-architecture-guide.md#row-overflow-considerations) data page. A LOB also encompasses data types that store data on dedicated LOB page structures, which use a text or image pointer of in-row references to LOB data pages. For more information about data storage, see [Pages and extents architecture guide](../relational-databases/pages-and-extents-architecture-guide.md).
180+
181+
<a id="setting-the-backup-compression-algorithm-to-zstd"></a>
182+
183+
## Issue when setting the backup compression algorithm to ZSTD
184+
185+
There's a known issue when attempting to set the [backup compression algorithm](../database-engine/configure-windows/view-or-configure-the-backup-compression-algorithm-server-configuration-option.md) to ZSTD.
186+
187+
When specifying the ZSTD algorithm (`backup compression algorithm = 3`), the following error message returns:
188+
189+
```output
190+
Msg 15129, Level 16, State 1
191+
Procedure sp_configure '3' is not a valid value for configuration option 'backup compression algorithm'.
192+
```
193+
194+
Use the new compression algorithm directly in the [BACKUP](../t-sql/statements/backup-transact-sql.md#compression) Transact-SQL command instead of setting the server configuration option.
195+
196+
## PolyBase components fail to start
197+
198+
PolyBase components can fail to start after upgrading to, or installing a new instance of, [!INCLUDE [sssql25-md](../includes/sssql25-md.md)]. Review [PolyBase network encryption](../relational-databases/polybase/polybase-installation.md#polybase-network-encryption) to learn more.
199+
200+
## PolyBase connections fail to external SQL Server source
201+
202+
[!INCLUDE [sssql25-md](../includes/sssql25-md.md)] PolyBase connections can fail to external SQL Server sources if the external data source was not [properly configured](../t-sql/statements/create-external-data-source-transact-sql.md#syntax-for-sql-server-2025-and-later-versions). Review the [PolyBase network encryption](../relational-databases/polybase/polybase-installation.md#polybase-network-encryption) documentation for more information.
203+
204+
## SQL Server on Linux fails to start on machines with hybrid CPU architecture
205+
206+
**Issue**: SQL Server instances on Linux might fail to start if the machine uses an Intel 12th Gen or later hybrid architecture CPU, and the host operating system is Linux.
207+
208+
You might see an error message similar to the following output:
209+
210+
```output
211+
Reason: 0x00000004 Message: ASSERT: Expression=(result * DrtlGetProcessorCoreCount() == DrtlGetProcessorCount()) File=LibOS\Windows\Kernel\SQLPal\common\dk\sos\src\sosnumap.cpp Line=208
212+
```
213+
214+
If you want to use a Linux host operating system, you can work around the issue by disabling efficiency cores (E-cores) in your BIOS. If you use containers, or a hypervisor like Hyper-V on Windows (including WSL), you aren't affected.
215+
216+
## Linux PolyBase Network encryption enabled fails
217+
218+
[!INCLUDE [polybase-release-candidate-0](../includes/polybase-release-candidate-0.md)]
219+
220+
## Local ONNX models not supported on Linux operating systems
221+
222+
[CREATE EXTERNAL MODEL](../t-sql/statements/create-external-model-transact-sql.md) local ONNX models hosted directly on the SQL Server aren't currently available for Linux on [!INCLUDE [sssql25-md](../includes/sssql25-md.md)] RC 0.
223+
224+
## Related content
225+
226+
- [What's new in SQL Server 2025 Preview](what-s-new-in-sql-server-2025.md)
227+
- [SQL Server 2025 Preview release notes](sql-server-2025-release-notes.md)

0 commit comments

Comments
 (0)