Database Link connecting to ODBC using Heterogeneous Services gets Error
thopevsOct 9 2008 — edited Oct 10 2008Hello,
I created a database link in Oracle 10gr2 database which is pointing to ODBC DSN.
Below is the command
CREATE PUBLIC DATABASE LINK LOTUSNOTES
USING 'LOTUSNOTES';
I am able to query the tables in LOTUSNOTES database after login as sysdba into sys schema using database link.
But When i try to query the tables in LOTUSNOTES database using the database link from other schemas. I am getting following error message
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]DRV_InitTdp: errors.h (2112): ; [Lotus][ODBC
Lotus Notes]Unable to validate userid TEST[Lotus][ODBC Lotus Notes]Invalid
authorization specification (SQL State: S1000; SQL Code: 23341)
ORA-02063: preceding 2 lines from LOTUSNOTES
I created synonyms to the tables in LOTUSNOTES database and try to query same error is displayed.
Please suggest how to overcome this issue. Developers need access to data from lotusnotes database from schemas other than sys.
Thanks
Seshadri Thope