We have installed Microsoft OLEDB Driver SQL Server 19.0.0.0 still we see MSOLEDBSQL is not registered on the local machine

Soumya Samprathi 6 Reputation points
2022-04-28T13:49:55.757+00:00

Hi we have installed Microsoft OLEDB Driver SQL Server 19.0.0.0 64 bit version and inside power BI desktop we are connecting using connection string MSOLEDBSQL, it works on one server where as when i am trying to open the same Power BI report locally and try to edit the datasource settings we see the error saying that An error happened while reading data from the provider.The MSOLEDBSQL provider is not registered on the local machine. we have installed Power BI desktop 64 bit and also OLEDB Driver for SQL Server 19.0.0.0.64 is also in 64 bit. Not sure what to troubleshoot. Any help will be appreciated.

Community Center | Not monitored
{count} votes

3 answers

Sort by: Most helpful
  1. Soumya Samprathi 6 Reputation points
    2022-05-11T13:17:00.267+00:00

    This is not Power Query I am asking about the MSOLEDB Driver SQL Server Connection which is specified in the connection string of power BI unable to connect to SQL Server Db. Though Driver 19.0.0 is installed on it.

    1 person found this answer helpful.

  2. BJN 6 Reputation points
    2022-08-25T05:59:05.117+00:00

    with the release of the v19 version there are some differences

    https://learn.microsoft.com/en-us/sql/connect/oledb/major-version-differences

    the driver for the v19 version of Microsoft OLEDB has the version in the name => "MSOLEDBSQL19"

    to verify that, open up Powershell and start:

    (New-Object System.Data.OleDb.OleDbEnumerator).GetElements() | select SOURCES_NAME, SOURCES_DESCRIPTION

    now you see your registered drivers

    1 person found this answer helpful.

  3. Ehren (MSFT) 1,781 Reputation points Microsoft Employee
    2022-04-29T18:10:59.643+00:00

    Hi there. Power Query is no longer supported here on Q&A. Please post your question over on https://aka.ms/PQCommunity instead.

    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.