Open topic with navigation

# Troubleshoot the Connector

This section describes how to troubleshoot common problems that might occur when you set up the ODBC Connector.

ODBC Drivers for 32-bit and 64-bit platforms

If you use the 64-bit ODBC Connector, you must use a 64-bit ODBC driver. On Windows, define your data source in the 64-bit ODBC Data Source Administration utility.

If you install the 32-bit ODBC Connector on a 64-bit operating system, you must use a 32-bit ODBC driver. On Windows, define your data source in the 32-bit ODBC Data Source Administration utility. You can find this utility at `C:\Windows\SysWOW64\odbcad32.exe`.

The number of connections is exceeded when using sub tables

The ODBC Connector opens a new connection to retrieve data from each sub-table that you specify in the connector’s configuration file. However, some ODBC implementations limit the number of connections. If this occurs, you can set the configuration parameter `UseSingleConnectionForSubtables` to `true`. This ensures that the connector uses only one connection for retrieving data from sub-tables.

Data is not returned as expected

If the connector does not return the data you expect, use a SQL tool or interface to run the query that you entered in the connector’s configuration file. Check that the data returned matches what you want to retrieve. The connector cannot retrieve XML data types, but you can modify your SELECT statement to convert these data types into strings.

The connector does not populate a document field with the data from a content field

This is expected behavior. The information in the content field (specified by the `ContentField` parameter) is used to populate the document content. If your content field contains a file path and you want to write the path to a document field, you can modify your SQL query to return the column under another name. For example:

    SELECT myfield, myfield AS "anotherfield" FROM tablename...

Then, in your template file, specify the alternate name:

    #DREFIELD MyFieldName="<!--anotherfield-->"

Retrieve BLOB values from an IBM DB2 database ("unsupported column data type" error)

The connector might fail to retrieve BLOB data from an IBM DB2 database, and write the following message to the synchronize log:

    Unsupported column data type

This is due to the data types returned by the IBM DB2 ODBC driver. To resolve this issue, set `LongDataCompat=1` in the DB2 ODBC driver configuration file `db2cli.ini`. This changes the types that are returned. For more information about this parameter, refer to the IBM DB2 documentation.

© Copyright 2018 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm