BookmarkSubscribeRSS Feed
Meland1770
Calcite | Level 5

Hi All

I have been using a ODBC Connection for quite some time using windows Authentication.

Our PC's were upgraded to window 7 and since that time I am unable to connect . - I get ERROR: CLI error trying to establish connection: [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied

I if uncheck Use iNtergrated Windows Authernticiation and manually enter my username and password (using the same creditials) I am able to connect. Any suggestions on how to fix this, my service desk at work have given up as they dont know how to fix.

Thanks

 

2 REPLIES 2
SASKiwi
PROC Star

How are you defining your ODBC connection? Are you using Windows ODBC Administrator to set up a data source or some other means? Are you connecting to Oracle directly from PC SAS or via a remote SAS server?

 

I use Windows Authentication to connect to SQL Server via a connection string in SAS. This is also possible with Oracle so could be worth checking out.

Meland1770
Calcite | Level 5

Hi SASkiwi

I will try to answer your question as best I can, however I didnt set up the connect and dont really know much about how it works.

 

Details I have are as follows

we have Oracle Client set up on the server Through my service desk at work i have tried the following and had the following response -

 

run the following prompt  - sqlplus /@prcaddg-scan.prds.abc:1543/prcaddg

 

prompt returned the following : Connected to ; Oracle database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit production with the Real Application Clusters and Automatic Storage Management options.

 

I sent a copy of this to service desk and recieved the following response

                                       

"So you’ve connected successfully to the database using Windows authentication. This means that the Oracle client is installed properly and account is set up properly in the database.

 Unfortunately I can’t help with configuration of SAS  as I’m completely unfamiliar with it."

 

When I connect i Use

 

libname ABC odbc dsn=XYZ_REP schema=VISION;

 

Hopefully some of this is helpful.

 

Thanks

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 901 views
  • 0 likes
  • 2 in conversation