Exit Codes Used in Command Line for /schemacompare

If schema comparison is run through the command-line interface, the following exit codes are returned depending on the execution result:

Error Code Description Additional Information
0 Success The operation has been completed without errors.
2 Ctrl+Break Execution stopped because of a Ctrl-Break.
10 Command line usage error The command line was used incorrectly. For example, an incorrect flag, or incorrect syntax may have been used.
11 Illegal argument duplication Some arguments must not appear more than once.
20 Trial expired The trial period has expired, or Schema Compare for MySQL has not been activated.
30 Project file corrupted Project file corrupted.
40 Server connection fail Server connection failed.
100 Databases identical The compared databases are identical or no objects have been included. To suppress this error, use /Include:identical
101 Databases not identical This is returned when the /assertidentical switch is used and source and target are not identical.
105 Resource unavailable A file is missing.
106 I/O error This is returned if Schema Compare attempts to write to a file that already exists, and the \force switch has not been set.
107 Failed to create report The report has not been created.
108 No objects There are no objects for comparison.