BookmarkSubscribeRSS Feed
Pelumi
Calcite | Level 5

I'm trying to connect python to SAS in order to insert data into a SAS table. but i'm getting the following error:

Using SAS Config named: winiomwin We failed in getConnection The application could not log on to the server "xxxxxxxxx.xxxxxxx.xxxxx1.xxxx.xx:xxxx". The user ID "<oladokun>" or the password is incorrect. SAS process has terminated unexpectedly. RC from wait was: 4294967290

 

I have saved "-authinfo" file without extension user's home directory with the following information

AKEY user <xxx....> password <xxx....>

 

I also have sascfg_personal.py file saved

SAS_config_names=['winiomwin']
winiomwin = {'java' : 'java',
'iomhost' : 'xxxxxxxxx.xxxxxxx.xxxxx1.xxxx.xx:xxxx',
'iomport' : 8561,
'encoding' : 'utf-8',
'authkey' : 'AKEY'
}

 

Can you please help understand the problem and a solution. Thank you

1 REPLY 1
sastpw
SAS Employee

It looks like the port you provided would be for the Metadata Server, not the Workspace server. Make sure the IOMHOST is correct for the Object Spawner that launches the Workspace server you're trying connect to, and use the IOMPORT configured for Workspace Server for that Object Spawner.  

sas-innovate-wordmark-2025-midnight.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. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 563 views
  • 0 likes
  • 2 in conversation