When I tried to open the local SAS dataset, the following error occurred
and this is the log:
ERROR SAS.EC.Environment.CurrentApplication [(null)] - GetUserNameEx call returned error code: 1332
SAS Enterprise Guide uses an installed SAS Local OLE DB data provider to read local SAS data sets, without connecting to a SAS server. Unless you have Local SAS installed, in which case it connects to that local SAS to read the data.
The error you show here is either a bug or the result of an incomplete/corrupted installation. You could try to work around it by connecting to your SAS server (assuming it's remote) and then use the Upload Data Sets task to copy your local sas7bdat to a server library. Eventually you will want to fix this in EG though, which might mean reinstalling. If you want more troubleshooting before you go to all of that effort, I suggest working with SAS Technical Support.
Did you install local SAS?
Then try "Register Base SAS® as the Local COM Server" part in this KB https://sas.service-now.com/kb?id=kb_article_view&sysparm_article=KB0036297
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
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.
Ready to level-up your skills? Choose your own adventure.