BookmarkSubscribeRSS Feed
David_Luttrell
Obsidian | Level 7

Hi,

 

Were currently looking at migrating a couple of enterprise guide projects to run on a SAS app server, which were previous run using a local server. (This is in order to ensure that we are not dealing with an underlying local project ecosystem which our team will have to support)

 

At the moment the projects are ran locally, and files for the project (.xls/.txt) are input from a network drive. These can be accessed locally but cannot be ran on the server.

 

When running the project users have a prompt where they enter the location of the files to be input.

 

I tried emulating this on the server by using UNC paths to no avail, which I thought should have worked as it is a hop server from an infrastructure point of view.

 

Does anybody have any ideas here as to the best way to access the required file?

 

Data Migration from the drive to the server is not an option due to the volume.

 

Kind Regards,

David

5 REPLIES 5
JuanS_OCS
Amethyst | Level 16

Hello David,

 

understanding you work with a Windows Server (not Linux), I think that what you are missing is to register the SPNs for the SAS processes. An example:

 

setspn -A SAS/sasapp-alias-name.example.com:8591 sasapp-host-name
setspn -A SAS/sasapp-alias-name:8591 sasapp-host-name

I would let your System Admin to know, they understand the problem and will know what to do .

 

Of course, a second option, is that you have a problem of permissions. This one you can quickly check by logging to the server with your account with Remote Desktop connection, and try to open an Explorer window and access those UNC paths. If they worki here, and not in your SAS code, you need the SETSPN (and maybe kerberos delegation). If it does not work on the server with Explorer, it is probably permissions, or even host/alias not reachable by your server (firewall rules).

David_Luttrell
Obsidian | Level 7

Thanks for your reply Juan,

 

I can see/access the Shares for these drives on the server, although, i do have a different network account to access servers vs. local so windows permissions are not the same.

 

I think you have a good grasp of the problem, that these shares are not visible when we run using the SAS app server.

 

Would mapping a virtual drive on the server remedy the issue in anyway.

 

Kind Regards,

David

JuanS_OCS
Amethyst | Level 16

I think it would, yes. But then, be careful to not map the drive with a single account for all the SAS users on the servers, otherwise you will lose track of authorizations on your share.

ChrisHemedinger
Community Manager

You might need to introduce a Copy Files step in your flow.  This will copy the files you need from the local context (even a network location) to the SAS server context.

 

The Copy Files task is described here.  It's a custom task in all versions of EG until v7.13 (released last month), where it is built into the Tasks->Data menu.

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

Thanks Chris & a happy new year,

 

We are currently using a windows based process to copy in files as a workaround, will take a look at that process.

 

I think it is important to note due to the volume of data we are dealing with, they are scenario based simulations. That we do not intend on filling up our sas server with a significant volume of data.

 

Kind Regards,

David

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