BookmarkSubscribeRSS Feed
brophymj
Quartz | Level 8

I've just updgrated to office 365 and I'm running a monthly program that involves connecting to an access database but I'm getting the following error:

 

 ERROR: CLI error trying to establish connection: Specified driver could not be loaded due to
system error 126: The specified module could not be found. (Microsoft Access Driver
(*.mdb, *.accdb), C:\PROGRA~1\COMMON~1\MICROS~1\OFFICE15\ACEODBC.DLL).
ERROR: Error in the LIBNAME statement.

 

The line of code worked fine on Office 2013. I just used the following libname code:

 

libname db_1 pcfiles path='S:\Commercial\Fleet\Combined Rater\Database\Quote DB Sep 17\Quote DB.accdb' DBPASSWORD="12345";
 

Any help would be appreciated. 

 

Matthew

 

2 REPLIES 2
ybolduc
Quartz | Level 8

Hi Brophymh,

 

     This does not appear to be a SAS issue. It seems like ODBC is not set properly. Have you tried opening that Access DB thru ODBC from anything else than SAS?

 

     When you say you have Office 365, are you using the local installed version or the cloud version?

 

Thanks,

ybolduc
Quartz | Level 8

You may want to look at this link: https://support.microsoft.com/en-us/help/2874601/can-t-use-the-access-odbc-driver-or-oledb-provider-...

 

They recommend installing the following: Microsoft Access Database Engine 2016 Redistributable

 

Thanks,

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1852 views
  • 0 likes
  • 2 in conversation