BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hello,

I get this error when trying to connect to a MS Access database. I'm working on win2003server 64 bit. I created an odbc connection through odbcad32.exe.

1 LIBNAME ACCESREF ODBC DATASRC=rws ;
ERROR: CLI error trying to establish connection: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver
specified
ERROR: Error in the LIBNAME statement.
2

Can anyone help?
2 REPLIES 2
Doc_Duke
Rhodochrosite | Level 12
Did you create the odbc connection on the server or on your workstation. It would need to be on the server.

As a workaround, you could just use the ACCESS libname engine and skip the ODBC part.

Doc Muhlbaier
Duke
ChrisHemedinger
Community Manager
If the SAS process on your server is 64-bit, then you would need a 64-bit ODBC driver.

http://support.sas.com/kb/38/779.html

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1228 views
  • 0 likes
  • 3 in conversation