Oracle Net Services - Version 9.2.0.8.0 to 11.2.0.1 [Release 9.2 to 11.2]: SP2-0642: SQL*Plus Internal Error State 2130 ORA-24315: Illegal Attribute Type
Then, at some point, when I tried it again I got ORA-24315: illegal attribute type. After some debugging I narrowed it to the line: Connection *conn = env->createConnection(username, pass, sid); The db log shows that the database actually accepts username, password and connects. ...