Upgraded to Windows 11 from Windows 10, Excel Macro that fetches SQL data no longer works

Jimmy Jimenez 0 Reputation points
2025-02-25T22:17:26.1666667+00:00

Windows 11 Excel macro connect to sql server 2008 not working.

Receiving System Error &H80004005 (-2147467259). Unspecified error.

Any ideas on how to get this to work? The Excel macro works from Windows 10.

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,654 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 117.5K Reputation points MVP
    2025-02-25T22:44:49.9+00:00

    That version of SQL Server 2008 does not support TLS 1.2. You need to install Service Pack 4, and then I think there is a GDR for SP4 that gives you support for TLS 1.2.

    SP1 for SQL 2008 has been out of date since 2010 or so. I don't know why you think you cannot upgrade, but if you insist on running that version, you will be paying the price for kludges. Or not being able to use your Excel macro.

    The workaround? Install a Virtual Machine with some older operating system and run the macro from that machine, maybe.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.