BookmarkSubscribeRSS Feed
irgsocoll
Calcite | Level 5

I'm having a bit of trouble with SAS EG exporting to an Access database.  I'm running 64-bit Windows, 64-bit SAS EG 5.1, and 64-bit Office.  I've downloaded the PC File Server, and if I load up some bogus data into base SAS 9.3 (32-bit), I can export that data using the exact same code.  I've found that some people have problems when they have an HP printer as their default printer; I don't, but I still switched my printer and still get the same error.  I've updated my Microsoft Access Database Engine.  So I'm sort of at a loss for what's going on.

PROC EXPORT data=work.rejh

OUTTABLE="COHORT"

DBMS =  ACCESSCS

REPLACE;

DATABASE="\\...\FF_COHORT.accdb";

RUN;

I've also tried DBMS=ACCESS.  Each time, I get "Connection Failed.  See log for details."  Of course, there aren't any details.

Any ideas?

3 REPLIES 3
ChrisHemedinger
Community Manager

If the SAS session is on a remote Windows machine, then you might be running into a delegation issue.  That's where your local connection to a Windows server won't let you access another network resource (such as a network folder) because the credentials don't propagate to the "second hop".

See the SAS notes about "Trusted for Delegation".  Here's one:

41477 - Authorization errors can occur in SAS® Enterprise Guide® when you use Integrated Windows Aut...

To fix, you'll need the help of an admin who can make a change in Active Directory for you.

Chris

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
JRebo
Calcite | Level 5

Where you able to find a fix because I'm having the same issue?  Our code is working fine on the WindowsXP machines but we get this error when we were upgraded to Windows7 (64-bit)? 

SASKiwi
PROC Star

DBMS =  ACCESSCS requires the PC File Server to be installed and running. Is it still running with Windows 7?

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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