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.

Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!
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.

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore 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
  • 2132 views
  • 0 likes
  • 3 in conversation