Skip to main content

XPA: Error: 'Operator '=' is not defined for type 'DBNull' and type 'Integer'

The error occurs when linking a ledger in Sync Direct: An unexpected error has occurred and the console will now exit.

Updated over a month ago

This error occurs when the ledger name has a special character in it eg. \ / : ; ? ' < > | ' . Once the special character is removed, the file will then link correctly. For example:

  • McNeils (correct)

  • McNeil's (incorrect).

Follow the steps to remove the special character:

  1. Open the ledger in XPA.

  2. File > Save as

  3. Remove the special character from the file name.

  4. Save.

  5. Reattempt linking the file (with new name) in Client console.

  6. This will link successfully.

Did this answer your question?