Reserved error -7748 linking an OE table in MS Access

« Go Back


Article Number000011167
EnvironmentProduct: OpenEdge
Version: 10.1x, 10.2x
OS: Windows
Other: MS Access versions 2003, 2007, and 2010
Question/Problem Description
Reserved error -7748 when attempting to link a OpenEdge 10.x database table in Microsoft Access

Reserved error (-7748): there is no message for this error

Error in ODBC trace file:
DIAG [01004] [DataDirect][ODBC Progress OpenEdge Wire Protocol driver]String data, right truncated. Error in column 10. (0)

Problem occurs when using the following DataDirect Drivers:
  • 5.1 DataDirect driver shipped with 10.1A.
  • 5.1 DataDirect driver shipped with 10.1B.
  • 5.1 DataDirect driver shipped with 10.2B.
Steps to Reproduce
Clarifying Information
Problem does not occur with the 4.2 DataDirect driver shipped with 10.0B
Error MessageReserved error (-7748): there is no message for this error

DIAG [01004] [DataDirect][ODBC Progress OpenEdge Wire Protocol driver]String data, right truncated. Error in column 10. (0)
Defect/Enhancement Number
The problem is caused by an issue within Microsoft Access, not the DataDirect driver.

Microsoft Access calls SQLStatisticsW and SQLGetData for column number 10. Microsoft Access only asks for the data as a two-byte SQL_C_WCHAR, which is insufficient buffer to store the UCS2 character and the null terminator. Thus, the driver returns a warning, "01004 Data truncated", and returns a null character to Microsoft Access. Microsoft Access then passes error -7748.  
For OpenEdge(64) for ODBC Series 7.0 and prior version drivers:
WARNING - Always make a backup of the Registry before making manual changes.

Set WorkArounds2=8192 for the affected data source.  This can be done by using the Registry Editor (RegEdit).

1.  Run RegEdit

2. Locate the ODBC DSN in the Registry:

For a USER Data Source, navigate to:
HKEY_CURRENT_USER -> Software -> ODBC -> ODBC.INI -> YourDataSourceName

For a SYSTEM Data Source, navigate to:
HKEY_LOCAL_MACHINE -> Software -> ODBC -> ODBC.INI -> YourDataSourceName

For 32-bit applications (ODBC drivers) on 64-bit Windows, (MACHINE) Data Source, navigate to
HKEY_LOCAL_MACHINE -> Software -> Wow6432Node -> ODBC -> ODBC.INI -> YourDataSourceName
3.  Select the folder for your data source; from the menu choose:
Edit -> New -> String Value

4.  Set the name of the new string value to be WorkArounds2

5.  Double click on WorkArounds2 in the right hand panel; this will bring up a dialog box with a data value field

6.  Change the data value to 8192
The string value that must be added to Progress 10.1A02 is WorkArounds2=40960

7.  Click OK

8.  Close RegEdit

PCs running Windows 95 and 98 need to be rebooted for this setting to take effect

9. When using a FILE DSN, simply open the (text) FILE DSN with your favorite text editor, add the following string to its contents (without quotes and using the appropriate (integer) then Save the file.
value for <nnnnn>: "WorkArounds2=<nnnnn>".

For Connect(64) and OpenEdge(64) for ODBC Series 7.1 drivers:  

Refer to Article 000002112, Reserved error -7748 linking an OpenEdge table with indexes from MS Access   
Last Modified Date4/30/2018 2:16 PM

Did this article resolve your question/issue?


Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025