Error Codes

The following is a list of error codes returned by methods in the SDK when they fail and return an error. The number will be returned by the Err object's Number property. The Description property will contain a description of the error.

Note:    If the error number returned is zero, this indicates that no error occurred.

Example

The following example queries the APS for all reports, and, if the function fails, prints the error code, and the description.

Set Result = IStore.Query("Select SI_NAME, SI_ID From CI_INFOOBJECTS Where SI_PROGID='CrystalEnterprise.Report")

If Err.Number <> 0 then

    Response.Write "Error number: " & CStr(Err.Number)

    Response.write Err.Description

else

    Response.write "No Error"

end if

The following table lists the error codes, and their associated descriptions.

Error Description

-2147210711

Unknown error

-2147210709

Invalid internal Object pointer

-2147210708

Unable to set [PropertyName] property value

-2147210707

Unable to get [PropertyName] property value

-2147210706

Unable to Add [PropertyName] property

-2147210705

Internal error: Unable to create COM object.

-2147210704

Property [PropertyName] is a Property Bag object. Do not try to set the property bag back into the container bag.

-2147210703

Property [PropertyName] is not a Property Bag object

-2147210702

Parameter on property [PropertyName] out of range

-2147210701

Object was not created by Enterprise Client Library

-2147210700

Unable to create plugin object

-2147210699

PlugIn manager not installed properly

-2147210698

Invalid implementation of plugin object

-2147210697

Invalid collection index

-2147210696

Invalid internal Info Object pointer

-2147210695

Invalid right value

-2147210694

Object was not found in the collection

-2147210693

Invalid list of rights returned by the plugin

-2147210692

Cannot modify inherited rights or principals

-2147210691

Error occurred when trying to connect to security subsystem

-2147210690

Principal must be removed from object to have the object inherit the rights from parent

-2147210689

The object you are trying to change is read-only and cannot be modified.

-2147210688

The default file repository location could not be found.

-2147210687

Unable to get the default file repository name.

-2147210686

The file URL [URLString] is not valid.

-2147210685

Unable to get the file repository object.

-2147210684

Collection management properties not set

-2147210683

Unable to remove [PropertyName] property

-2147210682

File repository server [ServerName] unavailable

-2147210681

Failed to add one or more of the requested objects to the file repository server. The failed object name: [Objects]

-2147210680

Did not recognize the File Server operation type. Please contact technical support.

-2147210679

InfoStore initialization error. Please contact technical support.

-2147210678

File repository server error: [Description]

-2147210677

The object already exists in the collection

-2147210676

Unknown exception occurred when calling into the plugin

-2147210675

Object [ObjectName] does not exist on APS anymore.

-2147210674

Access denied when trying to connect to the operating system service manager for managing server [ServerName]. Please try again providing appropriate user name and password.

-2147210673

Unable to connect to Service Control Manager on machine [MachineName]

-2147210672

Server [ServerName] is not available as an operating system service.

-2147210671

Server [ServerName] is already in the state requested

-2147210670

Unable to manipulate operating system service for server [ServerName]

-2147210669

Cannot delete favorite folder.

-2147210668

Invalid property name [PropertyName]. Only letter a-z, A-Z, 0-9 or - is allowed.

-2147210667

Cannot add any object directly to root favorite folder.

-2147210666

Unable to find target object for shortcut.

-2147210665

You do not have permission to perform the requested action. If you require assistance, please contact your system administrator.

-2147418113

Unexpected error. Please contact technical support.

-2147467263

This feature has not been implemented.

-2147024882

System is out of memory.

-2147024809

One or more arguments are invalid.

-2147467262

The interface requested is not supported.

-2147467261

Invalid pointer.

-2147024890

Invalid handle.

-2147467260

Operation aborted.

-2147467259

Unspecified error. Please contact technical support.

-2147024891

Access is denied.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com