Skip to main content
Kofax

Incorrect syntax near - KdoLib 4006 error migrating to SQL Server

15196

QAID # 15196 Published

Question / Problem:

When migrating Kofax Capture to a Microsoft SQL Server database, the following error message is encountered:

[4006] KdoLib: Error executing SQL command. Incorrect syntax near '-'

Answer / Solution:

This error occurs when the database name contains the dash symbol (-).

To prevent this from occurring, do not use dashes in SQL Server database names.

Applies to:

Product Version
CAPTURE 10.0
  10.1
  10.2
  11.0
  • Was this article helpful?