BookmarkSubscribeRSS Feed
786786
Calcite | Level 5
While exporting sas table in to accdb file i am facing with error that

FAILED TO CONNECT TO THE SERVER.

any solution over here?
thank you.



PROC EXPORT DATA=NAME
OUTTABLE="abcd"
DBMS=ACCESSCS
REPLACE;
DATABASE="DOCUMEMTS\ABC\ABCD.ACCDB";
DBDSPOTS="DBCOMMIT=0";
RUN;
4 REPLIES 4
SASKiwi
PROC Star

This option - DBMS=ACCESSCS - requires use of the SAS PC Files Server. Do you have that installed and running either on your own PC or on a remote Windows server accessible by you?

SASKiwi
PROC Star

In that case if you are using a remote Windows server then you will need to specify the server name and port plus possibly your user name and password. You can read the doc here.

jimbarbour
Meteorite | Level 14
First, I think make sure no one is editing the database. Probably not the issue, but worth checking -- and important to rule out.

The second thing I would try is switching from DBMS=ACCESSCS to just DBMS=ACCESS. Again, not necessarily the issue, but worth trying.

Jim

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

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
  • 4 replies
  • 1239 views
  • 2 likes
  • 3 in conversation