Oracle COM Automation Feature Developer's Guide Release 9.2 Part Number A95499-01 |
|
This appendix includes the following:
The following is a list of Oracle COM Automation Feature PL/SQL errors and their common causes.
Action: Make sure that the variable is of the appropriate datatype.
Action: Make sure that the interface exists.
Action: Make sure that objects are destroyed after they are used by calling DestroyObject.
Action: Check that the COM component of the specified ProgID is registered.
Action: Make sure your registry can be written to and is not corrupted.
Action: Make sure the class is registered.
Action: Make sure the object is registered as a COM Automation object.
Action: Check that the interface specified is valid.
Action: Check that the object is properly registered.
Action: Check that the object is properly registered.
Action: Check that the object is properly registered.
Action: Check that the object is properly registered.
Action: Check that the object is properly registered.
Action: Check that the method name is valid for the object.
Action: Make sure the number of parameters for a method is equal to the count.
Action: Check that the object is properly registered.
Action: Make sure the structure in pexcepinfo
is initialized.
Action: Make sure the property value can be written to or the member exists.
Action: Do not use named arguments. Use standard parameter passing.
Action: Make sure that the coerced arguments are of compatible datatypes.
Action: Make sure the arguments are passed in correctly.
Action: Make sure your arguments are compatible.
Action: Make sure the interface ID passed is IID_NULL.
Action: Make sure your localeID
is valid.
Action: Make sure your argument count is correct for the number of parameters passed in.
Action: Enter 1024 characters or less for the name.
Action: Do not create this class as part of an aggregate.
The following is a list of Microsoft COM Automation errors and their common causes. Both the hexadecimal and binary error codes are listed.
Cause: The specified ProgID or CLSID is not registered as a COM object in the registry of the local computer.
Cause: The specified COM object is registered as an in-process COM server (DLL file), but the DLL file could not be found or loaded.
Cause: A named parameter was specified before a positional parameter.
Action: Ensure that all named parameters are specified after all positional parameters.
Cause: The datatype of a PL/SQL local variable used to store a returned property value or a method return value did not match the Visual Basic datatype of the property or method return value.
Action: Ensure that the local variable is of the appropriate datatype. Or, the return value of a property or a method was requested, but it does not return a value.
Cause: The specified property or method name was not found for the specified object.
Cause: The datatype of a PL/SQL or Java value passed as a method parameter did not match the COM Automation datatype of the method parameter, or a NULL value was passed as a method parameter.
Action: Ensure that any local variables used as method parameters are of the appropriate datatype and are set to a value other than NULL.
Cause: The specified COM object is registered as a local COM server (.EXE file), but the .EXE file could not be found or started.
|
Copyright © 1999, 2002 Oracle Corporation. All Rights Reserved. |
|