Alarms and events > Event Chronicle automated backup utility

Error codes

The batch file that calls the automated backup utility for the DeltaV Event Chronicle returns an error code numbered 0 through 7. If the automated backup utility is run from the command line, the error codes may not be especially useful: the onscreen message indicating success or failure is self-explanatory. However, if the backup is run using a batch file, you might want to revise the batch file based on the error code returned.

The error codes, as indicated in the following table, increase numerically with the severity of the error.

Error code

Description

0

The operation completed successfully.

1

Multiple instances of Event Chronicle Automated Backup utility running. Run the batch file at regular intervals until successful or until a more severe error occurs.

2

Invalid parameter. The command line syntax is incorrect. Correct the problem and rerun the batch file.

3

Invalid directory. Indicates one of the following conditions:

  • The syntax of the directory specified is incorrect.

  • The directory specified is a special folder (such as COM or AUX). Change the directory name and rerun the batch file.

  • The local directory is one to which the user performing the backup does not have write access. Change the directory name and rerun the batch file.

  • The directory specified is a local or shared folder to which the user does not have write access. Change the directory name and rerun the batch file.

4

SQL is not running. SQL is not installed or the MS SQL service for DeltaV Event Chronicle is not running. Contact the system administrator.

5

No DeltaV. DeltaV is not installed or the DeltaV service is not running. Contact the system administrator.

6

User login failed. The user must be in the Windows DeltaV Admins or DVECAdmin group. Contact the system administrator.

7

Backup Exception. Analyze the exception text appearing in the Event Log or batch file output. Contact Emerson for assistance.