Skip to main content
Question

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

  • August 13, 2024
  • 3 replies
  • 124 views

Forum|alt.badge.img+1

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
Forum|alt.badge.img+9
  • Navigator | Tier 3
  • 494 replies
  • 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


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 1 reply
  • 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.


Forum|alt.badge.img+1

the version should be 32 bit only 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings