How to Fix Excel 2019 ODBC Connection to SQL Server 2008 R2 on Windows 11
Question details
Users are experiencing database connectivity issues when attempting to connect Excel 2019 to an older SQL Server 2008 R2 instance via ODBC on Windows 11.

- Product
- Microsoft Excel 2019
- Device & OS
- Windows 11
- Scenario
- Refreshing a data query or establishing a new ODBC data connection from an Excel workbook to a legacy SQL Server database after migrating to Windows 11.
- Observed behavior
- The ODBC connection fails to establish on Windows 11, throwing connection errors, even though the exact same workbook and connection credentials work perfectly on a Windows 10 machine.
Ensure you have administrator privileges on your Windows 11 computer to access the ODBC Data Source Administrator and install necessary legacy driver packages.
Verify ODBC Driver Compatibility and Reconfigure DSN
Install a compatible legacy SQL Server ODBC driver and recreate the Data Source Name (DSN) to ensure Windows 11 can communicate with the 2008 R2 server.
Windows 11 may not include the older native client drivers required to connect to SQL Server 2008 R2 by default. Newer Microsoft ODBC Drivers often drop support for legacy server versions, requiring you to manually install an older compatible driver like SQL Server Native Client 11.0.
Press the Windows key, type 'ODBC', and select 'ODBC Data Sources (64-bit)' or 'ODBC Data Sources (32-bit)' depending on your Excel 2019 installation bit-version.
Navigate to the 'Drivers' tab and verify if 'SQL Server Native Client 11.0' or 'SQL Server Native Client 10.0' is installed. If not, download and install it from the official Microsoft website.
Go to the 'System DSN' tab, click 'Add', and select the Native Client driver you verified in the previous step.
Enter a name for the data source, input your SQL Server 2008 R2 instance address, provide your authentication credentials, and test the connection.

Check and Enable Legacy TLS Protocol Settings
Enable older TLS protocols on Windows 11 that may be required to negotiate a secure connection with SQL Server 2008 R2.
Consult the SQL Server Support Community
Seek advanced assistance from Microsoft engineers for deep environmental or unresolvable legacy compatibility issues.
Try WPS Office for Seamless Spreadsheet Management
Dealing with complex legacy compatibility issues and system-specific database connection errors can severely disrupt your workflow. WPS Office provides a free, lightweight, and highly compatible alternative for everyday spreadsheet tasks, data analysis, and documentation.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the installer and follow the simple on-screen instructions to set up WPS Office on your computer.
- 3. Open Your Spreadsheets: Launch WPS Spreadsheets and open your existing Excel workbooks seamlessly to continue your data analysis work.

Frequently Asked Questions
Why does my ODBC connection work on Windows 10 but fail on Windows 11?
Windows 11 features updated security baselines that often deprecate or disable legacy security protocols (like TLS 1.0) and omit older native drivers out-of-the-box. SQL Server 2008 R2 relies on these older components to establish secure data connections, causing failures on the newer OS.
How do I know which ODBC driver to use for SQL Server 2008 R2?
For an older database like SQL Server 2008 R2, it is highly recommended to use 'SQL Server Native Client 10.0' or 'SQL Server Native Client 11.0'. The latest 'ODBC Driver for SQL Server' versions (e.g., v18) have officially dropped support for SQL Server 2008 R2.
Can I import data from a database using WPS Spreadsheets?
Yes, WPS Spreadsheets supports importing data from external sources. You can access external data connections by navigating to the 'Data' tab and selecting the 'Import Data' option to connect via standard ODBC drivers.




