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.

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!
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.

sas-innovate-white.png

Register Today!

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.

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 491 views
  • 0 likes
  • 3 in conversation