B Troubleshooting Common Errors
This appendix discusses common errors.
Users may encounter various errors while running the PL/SQL wrapper. Causes and recommended actions for such errors are listed below.
- ORA-03113: end-of-file on communication channel
-
Cause: The connection between Client and Server process was broken. It may also happen if the external agent
extproc
crashes for some reason. - ORA-03114: not connected to ORACLE
-
Cause: The connection between Client and Server process was broken. This may also happen if the external agent
extproc
crashes for some reason. - ORA-20100: System.BadImageFormatException. The format of the file is invalid.
-
Cause: The .NET Assembly is not in the proper format.
- ORA-20100: System.IO.FileNotFoundException. File or assembly name <assemblyname>.dll, or one of its dependencies, was not found.
-
Cause: The .NET Assembly or one of its dependent assemblies is not available in
ORACLE_BASE\\ORACLE_HOME
\bin\clr
or in one of the subdirectories as specified during the creation of the library object by the wizard. - ORA-20100: System.MissingMethodException
-
Cause:
MissingMethodException
is thrown for many possible reasons including:-
The stored procedure or function name does not match the actual stored procedure or function name defined in the .NET assembly.
-
The number, sequence, and type of parameters passed do not match the actual parameters in the .NET stored procedure.
-
- ORA-20100: System.Reflection.TargetException. <typename> type not found
-
Cause: The namespace and/or the class name used in the PL/SQL wrapper is not defined in the .NET Assembly.
- ORA-20100: System.Security.SecurityException
-
Cause: .NET stored procedure or function could not be executed with current security level.
- ORA-28575: unable to open RPC connection to external procedure agent
-
Cause: Initialization of a network connection to the
extproc
agent did not succeed. This problem can be caused by network problems, incorrect listener configuration, or incorrect transfer code. - ORA-28578: protocol error during callback from an external procedure
-
Cause: An internal protocol error occurred. This could be due to some registration issue during creation of PL/SQL wrapper.
- PLS-00201: identifier 'DBMS_CLR' must be declared
-
Cause: Either Oracle Database Extensions for .NET is not installed and configured properly or the .NET stored procedure has not been deployed correctly using the Oracle Deployment Wizard for .NET.