MS Access to Oracle SQL Developer via ODBC

Joe Sweeney 96 Reputation points
2021-08-12T16:15:06.127+00:00

I had posted this in the Oracle Community. They closed my post and told me to check with the .Net/Windows community.

122818-oracle-odbc-1.png122819-oracle-odbc-2.png
I am developing an app for a client that will be using Oracle for the back end and MS Access for the front end.

The attached image is the error I get when attempting to test the connection in the ODBC Data Sources (64-bit) Administrator.

For username/password, I've tried: case as created, all lower case, all upper case, and other combinations.

Windows 10 Pro, Version 21H1, Build 19043.1110

Oracle SQL Developer Version 20.2.0.175, Build 175.1842

MS Access 2019 Version 2107, Build 14228.20226 (standalone - not part of Office 365)

TNSNAMES.ORA file. This is the entry:

PTU =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = ASUS_G703GX)(PORT = 1521))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = PTU)

)

)

Any suggestions would be greatly appreciated.

Image

Image

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,361 questions
0 comments No comments
{count} votes

2 additional answers

Sort by: Most helpful
  1. Olaf Helper 43,246 Reputation points
    2021-08-13T05:26:05.693+00:00

    The error ORA-01017 is raised by the Oracle database engine, not by MS Access nor ODBC Admin; see http://www.dba-oracle.com/t_ora_01017.htm

    case as created, all lower case, all upper case, and other combinations.

    Passwords are case sensitive, don't make any sense to try case combinations, you have to use the right case for password.

    0 comments No comments

  2. CathyJi-MSFT 21,131 Reputation points Microsoft Vendor
    2021-08-13T06:45:22.39+00:00

    Hi @Joe Sweeney ,

    > invalid username/password; logon denied

    Quote from the blog How to Resolve ORA-01017 Invalid Username/Password; Logon Denied.

    There are a few reasons that you can get this error:

    • Your username or password is actually incorrect
    • The database configuration is not correct (tnanames.ora, $ORACLE_SID parameter)

    There are a few ways to resolve the ORA-01017 error:

    • Check the username and password are correct
    • Check the database link setup if you’re using a database link


    If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar thread.