|
SQL Server Error OLE DB Driver msoledbsql.msi.
Date created: October 4, 2025.
Problem Description. When attempting to upgrade SQL Server 2017 to
SQL Server 2022, SQL Server setup may fail with an error indicating it cannot
locate msoledbsql.msi (Microsoft OLE DB
Driver for SQL Server). The installer stops, leaving the upgrade incomplete.
This usually occurs on systems where multiple versions of SQL Server drivers are
installed, including older backward compatibility components. Cause. This issue often arises from conflicts between installed versions of Microsoft ODBC Driver for SQL Server and/or Microsoft OLE DB Driver for SQL Server. During the SQL Server setup, the installer attempts to reference existing driver packages, but due to mismatched or conflicting versions, it fails to locate the required installation file. Usually the error displayed by SQL Server setup looks like the image below:
Workaround / SolutionThe workaround is to remove all installed versions of the SQL Server ODBC drivers before running the upgrade:
Reboot the server. Run the SQL Server 2022 setup again.
After the SQL Server upgrade completes successfully, reinstall the latest versions of the ODBC and OLE DB drivers as needed. This approach has been confirmed to resolve the issue by other users. Removing conflicting drivers clears the setup path, allowing the installer to proceed correctly.
|
.Send mail to
webmaster@sqlcoffee.com with
questions or comments about this web site.
|