BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
AnnaShami
Fluorite | Level 6

Hi,

I am trying to export a sas dataset to MS Access database using following code on EG SAS:

Proc export table="TEST"

     outtable="TEST"

     DBMS= Access Replace;

     Database="Location..\TEST.accdb";

run;

But I am getting this error message:

Error: Connect: Class not registered

I had the same issue with proc export to excel file. When I changed the DBMS to XLS or XLSX form EXCEL. it worked for Excel. But not sure about exporitng to MS Access db.

I would appreciate your help..

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

Then an additional configuration is needed.  You would need to install (or ask your admin to install) the PC Files Server.  On a Windows machine, you don't need it to run as a service all of the time.  SAS will automatically start the process for you as needed.  The only step that you should need to do is install it.

This SAS Note contains some instructions:

43802 - Installing SAS® 9.3 PC Files Server and using it to convert 32-bit Microsoft Office files to...

If you need additional help, I suggest that you work with SAS Technical Support on this.

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!

View solution in original post

5 REPLIES 5
ChrisHemedinger
Community Manager

I suspect that this is the issue:

The top gotchas when moving to 64-bit SAS for Windows - The SAS Dummy

To fix, try DBMS=ACCESSCS.

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!
AnnaShami
Fluorite | Level 6

Hi Chris,

I tried using DBMS=ACCESCS and here is what I see:

ERROR: Failed to connect to the Server:

Thanks

AnnaShami
Fluorite | Level 6

sorry there was a typo..I used ACCESSCS.

ChrisHemedinger
Community Manager

Then an additional configuration is needed.  You would need to install (or ask your admin to install) the PC Files Server.  On a Windows machine, you don't need it to run as a service all of the time.  SAS will automatically start the process for you as needed.  The only step that you should need to do is install it.

This SAS Note contains some instructions:

43802 - Installing SAS® 9.3 PC Files Server and using it to convert 32-bit Microsoft Office files to...

If you need additional help, I suggest that you work with SAS Technical Support on this.

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!
AnnaShami
Fluorite | Level 6


Thanks Chris! It worked.

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
  • 5 replies
  • 60058 views
  • 11 likes
  • 2 in conversation