BookmarkSubscribeRSS Feed
Bill3
Fluorite | Level 6

When I tried to open the local SAS dataset, the following error occurred1738934659769.png

and this is the log:

ERROR SAS.EC.Environment.CurrentApplication [(null)] - GetUserNameEx call returned error code: 1332

3 REPLIES 3
ChrisHemedinger
Community Manager

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.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
soominchae
SAS Employee

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

Bill3
Fluorite | Level 6
No, because my company just pay for the SAS EG for each employee's computer. The local sas was installed at the sever.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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