[ProvideX][ODBC Driver][FILEIO]Unable to allocate memory to perform requested operation (#14) error after upgrading from Sage 100 Standard ver 2015 to 2017

We use ODBC to connect to MS Access for several custom reports we use. After upgrading from Sage 100 Standard ver 2015 to 2017, ODBC connects to most files.  However, when we try to connect to the AR Invoice History Header file it will display data correctly once, then errors out with this message: 

ODBC--call failed. 

[ProvideX][ODBC Driver][FILEIO]Unable to allocate memory to perform requested operation (#14) 

We have tried with a Silent ODBC connection and with the regular MAS90 SOTA ODBC connection with the same results.  The same connection works fine in the 2015 version.  We need to be able to access this data in version 2017 via ODBC for our custom reports in MS Access.  

Sage support says they refuse to help with ODBC issues??? 

How can we get ODBC to work correctly for all files in Sage 100 Standard version 2017?

  • 0

    This usually indicates bad data in a date field. 

  • 0 in reply to BigLouie

    This is a VERY large file.  How do I go about finding the bad data in a date field?  I rebuilt the file in a test company and get the same results.

  • 0 in reply to CaseySkousen

    There are various tricks to find bad dates in ProvideX data, but I use ODBCView (3rd party software) and run a select * from ... query on the table.  When it errors out, you can often determine the offending line by the last one listed in the results.  DFDM to fix.  When the select query runs without errors, all dates are valid.

  • 0

    I got this error when using ADO.NET to connecting to the ProvideX ODBC driver.  The code was depending on connection pooling.  The code was connecting and disconnecting on every query.  It was slow, and also I think the ProvideX ODBC driver may not support connection pooling.  So after about 30 queries, I got this error on every subsequent query until the program quit.  I think the ProvideX ODBC driver hit a connection limit.  I change the code to open the ProvideX ODBC once at the beginning of the program and close it at the end, and the error went away.

    David Nelson
    Dynamic Enterprise Technologies Inc
    Seattle Washington USA

  • 0 in reply to davidonelson

    I am again getting this error and cannot resolve it.  I do not understand how you changed the code in Access to open the ProvideX ODBC once at the beginning of the program and close it at the end as you describe your solution.

    How did you do that to get the queries to work?