I am using pro*c to connect to DB. My application was working fine till today. All of a sudden without changing any application configuration I started getting error during connect.
EXEC SQL CONNECT :sqli_username IDENTIFIED BY :sqli_password USING :sqli_db_instance ;
All Bind variable populated correctly still getting following error.
ORA--0001: Message -1 not found; product=RDBMS; facility=ORA
I tried to debug and search on internet for problem however as you can see sqlca.sqlcode is negative value -0001 which is not mapped to logical oracle error.
I could see on oracle site
sqlca.sqlcode <0 - Means that Oracle did not execute the statement because of a database, system, network, or application error. Such errors can be fatal. When they occur, the current transaction should, in most cases, be rolled back.
But how will I understand what was exact reason for failure.