ORA-06413: Connection not open Error
ORA-06413: Connection not open Error
ORA-06413Connection not open.
Cause: unable to establish connection.
Action: Use diagnostic procedures to ascertain exact problem
Error Description: It can be connected using the Oracle Connection Tool. sqlplus can be connected on the console, and a test connection developed by C # is used.ProgramThe test can also be connected, but running the application is reporting"ORA-06413: The connection has not been opened ".
Solution: when you use the oraole driver to access the Oracle database, the folder of the program cannot be named ")". It turns out that the directory of the program contains parentheses, otherwise, an oracle exception "connection not opened" is reported.
The default installation directory is c: \ Program Files (x86)
Change to c: \ Program Files to solve the problem.