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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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