Unable to add 32-bit Azure DocumentDB ODBC data source

Arty29 146 Reputation points
2020-10-07T21:03:32.86+00:00

Hello,
I am trying to load data from an Azure Cosmos DB into an Excel 2019 spreadsheet. I started by using a data source created with the 64-bit version of the Microsoft Azure Document DB ODBC Driver and was getting errors (architecture mismatch) until I realized that Office 2019 had installed 32 bit versions of the programs. Assuming that I would need to use a 32-bit driver I installed the 32-bit version of the Microsoft Azure Document DB ODBC Driver. However, using the 32-bit ODBC Data Source Administrator when I try to add a new data source and select the Microsoft Azure Document DB ODBC Driver I get an error message (system error 126, DocumentDBODBC_sb32.dll not found). See attached image.

That DLL is present on my PC, however it is located in the "Program Files (x86)" folder, not "Program Files" folder where the ODBC admin seems to be looking for it.

Can anyone suggest what I might be doing wrong, and how I can add my data source to the driver?

Thank you.

30786-odbc-error-32bit.png

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,632 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,715 questions
{count} votes

Accepted answer
  1. Arty29 146 Reputation points
    2020-10-08T17:18:33.21+00:00

    Ok, I found my problem. I had mistakenly installed the 32-bit ODBC driver for a 32-bit platform. What I should have used was the 32-bit driver for a 64-bit platform.

    https://video2.skills-academy.com/en-us/azure/cosmos-db/odbc-driver

    Everything now works as it should.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Mark Brown - MSFT 2,766 Reputation points Microsoft Employee
    2020-10-07T21:29:55.673+00:00

    ODBC is not a supported means of importing data between Excel and Cosmos DB. It is much preferred to use Azure Data Factor with the Excel and Cosmos DB connectors.

    More information on the Cosmos DB connector can be found here. https://video2.skills-academy.com/en-us/azure/data-factory/connector-azure-cosmos-db

    More information on the Excel connector is here. https://video2.skills-academy.com/en-us/azure/data-factory/format-excel

    Thanks.


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.