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.  

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

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
  • 861 views
  • 0 likes
  • 2 in conversation