Skip to main content

Custom export(script): System.Data.OleDb.OleDbException(0x80004005) : Query \\\\\\\\" is corrupt

`Symptoms​

This error is coming up in ABBYY when trying to export.

`Cause​

This was caused by a Windows Update. In turn caused an update statement for a database to malfunction.**` **

`Resolution​

[](`https://support.microsoft.com/en-us/office/access-error-query-is-corrupt-fad205a5-9fd4-49f1-be83-f21636caedec?ui=en-us&rs=en-us&ad=us)

The workaround is below and this meant the document definition needed to be updated as well due to the export settings.

[https://support.microsoft.com/en-us/office/access-error-query-is-corrupt-fad205a5-9fd4-49f1-be83-f21636caedec?ui=en-us&rs=en-us&ad=us](`https://support.microsoft.com/en-us/office/access-error-query-is-corrupt-fad205a5-9fd4-49f1-be83-f21636caedec?ui=en-us&rs=en-us&ad=us)