Skip to main content
Cadet | Tier 2
August 13, 2024
Question

Could not Connect to Database. Provider cannot be found. It may not be properly installed.

  • August 13, 2024
  • 3 replies
  • 473 views

Hi All,

I am unable to connect Excel as Database. I have installed Microsoft Access Database Engine 2016 Redistributable but still facing the error.

Any help is much appreciated!!!

Error : Could not Connect to Database. Provider cannot be found. It may not be properly installed.

Connection String : 

Provider=Microsoft.ACE.OLEDB.12.0;Data Source="file path";Extended Properties="Excel 12.0 Xml;HDR=YES";

Thank you

3 replies

Raul Jaimes
Navigator | Tier 3
August 13, 2024

@sreelal 

Test using this driver:

https://download.cnet.com/microsoft-access-database-engine-2010-redistributable-64-bit/3000-10254_4-75452796.html

And string connection:

Provider=Microsoft.ACE.OLEDB.12.0;Data Source="full path to your xlsx file goes here";Extended Properties="Excel 12.0 Xml;HDR=YES"

 

Check the post below:

 

Regards

sreelalAuthor
Cadet | Tier 2
August 14, 2024

Thank you for your suggestions and assistance! I was able to resolve the connection issue by installing the correct version of the ODBC driver.

Cadet | Tier 2
August 15, 2024

the version should be 32 bit only