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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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