SQL Server 2025 Installation Error

Usman Jalil 0 Reputation points
2025-06-10T14:07:02.23+00:00

Action required:

Use the following information to resolve the error, and then try the setup process again.

Feature failure reason:

An error occurred for a dependency of the feature causing the setup process for the feature to fail.

Error details:

§ Error installing Microsoft OLE DB Driver for SQL Server

An installation package for the product Microsoft OLE DB Driver for SQL Server cannot be found. Try the installation again using a valid copy of the installation package 'MS_OLEDB_SQL_18.msi'.

Error code: 1706

Log file: C:\Program Files\Microsoft SQL Server\170\Setup Bootstrap\Log\20250610_095237\msoledbsql_Cpu64_1.log

Visithttps://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=17.0.700.9&EvtType=msoledbsql.msi%40InstallFiles%401706 to get help on troubleshooting.

Even though I have installed the latest MSOLEDB version 19

SQL Server Database Engine
{count} votes

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 122K Reputation points MVP Volunteer Moderator
    2025-07-03T09:35:16.59+00:00

    Also seems like Installation is failing on the machine where already have another instance of SQL Server running.

    I was able to repro this. I did not notice this when I installed CTP 2.1 initially, because I always install CTPs on separate VMs.

    My understanding of this error in general is that it occurs when you already have installed the OLE DB provider (or the ODBC driver when you get that error message) on the machine. And indeed this is the case here, since you got both with SQL Server 2022. I can see in my log files, that the path for the MSI file for MSOLEDBSQL is wrong; it seems to related to the older install package of SQL Server. The path for SQL 2025 CTP 2.1 is not the same as for SQL 2022.

    Your case is somewhat different from mine, because there are underscores in the filename, that is MS_OLEDB_SQL_18.msi. It should be msoledbsql.msi. That's really wild. I see that you also have an instance of CTP 2.0 on your machine. Maybe that is the reason. Personally, I don't think that is a valid test case, because once SQL 2025 is RTM, the CTP instances are of no interest anymore.

    I will bring this up with some contacts I have inside Microsoft. I will also refer them to this thread.


  2. Usman Jalil 0 Reputation points
    2025-07-03T14:11:50.6666667+00:00

    Finally, I was able to install it successfully. I did installed the latest version of SSMS first then installed the SQL Database Engine with a New Instance Name and it is installed.


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.