- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a few issues with uploading files in SAS studio. I am not using SAS University Edition.
Below is the error message.
An error occurred while files were being uploaded. Possible cause: The size of the uploaded files might be too large. The combined size cannot be greater than 10MB.
We have SAS running on windows 2012 server. Any suggestion would be much appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
What are you trying to upload . how big is it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to upload a data set into SAS studio and it says the size of uploaded files cannot be greater than 10 MB. Almost all of my data files will be greater than 10MB. Is there a way to get around this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Yes, there is a file upload size limit, however it is configurable. By default it is 10MB, but there is a config option you can use to change it, which you can see in this snippet from the SAS Studio 3.8 doc:
webdms.maxUploadSize |
Specifies the number of bytes allowed for file upload. The default value is 10485760 (10MB). Note: Large files can take a long time to load. If you have a large amount of content to upload, divide your content into smaller files if possible. |
And here is the doc for SAS Studio 5.1 and 4.4.
Casey
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
thank you casey smith for the sas studio admin doc. I will look into it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
casey, where can i found this property name location? I want to !SASRoot directory location too dont see a file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi @raghuvenkata,
It depends on which version of SAS Studio, edition, and OS you are using. This doc shows you the location of the config.properties file for SAS Studio 3.8:
Here are instructions for SAS Studio 4.x:
And for SAS Studio 5.x... You set SAS Studio 5.x properties in the same way as the other SAS Viya applications and services. For more information, see Configuration Properties: How to Configure Services.
Casey
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Casey, thank you very much for the doc, location of config properties file. We are using 3.71 version of SAS studio, and SAS running on windows 2012 server.
Raghu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Where are you placing the files?
Why not just upload them to the server using some other tool and then point your SAS code at the location.
Or better still just make sure your SAS server can see the files where they already are.
For example if the files are on a Windows shared folder and your SAS code is running on a Windows server make sure that your account that is running SAS can see the files where they currently live. So if the files are in a directory named foldername on share named sharename hosted by a server name server then your libname would look like this:
libname mydata '\\server\sharename\foldername';
If your server is running on Unix then mount the drive with the SAS dataset where the Unix server can see them. So if \\server\sharename is mounted at /mountpoint/ then the libname will look like:
libname mydata '/mountpoint/foldername';
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I was trying to upload in a folder under ‘Server Files and Folders’.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Than you tom for the suggestion.I’m able to access the data using libname statement to local workstation.