Feedback
 
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

 


Article

Connection to Informix fails with NATIVE ERROR = -11041 using Informix native ODBC driver with DataDirect ODBC Driver Manager.

« Go Back

Information

 
Article Number000025725
EnvironmentProduct : Connect for ODBC Driver Manager
Version : All supported versions
OS : All supported platforms
Database : Informix
Application : All supported applications
Question/Problem Description
Connection to Informix Database fails with the mentioned error using Informix native ODBC driver with DataDirect ODBC Driver Manager.
Steps to Reproduce
Clarifying Information
Error MessageSQLSTATE = 01000
NATIVE ERROR = 364
MSG = The driver returned invalid (or failed to return) SQL_DRIVER_ODBC_VER:

SQLConnect: Retrying Connect.
SQLSTATE = 0
NATIVE ERROR = -11041
MSG =
Defect/Enhancement Number
Cause
Informix native ODBC driver expects DataDirect ODBC Driver Manager's default Unicode encoding to be UTF8 which it is not. 
Resolution
Add the following connection option in the ODBC section of odbc.ini file.

[ODBC]
UNICODE=UTF-8


Workaround
Notes
Attachment 
Last Modified Date11/13/2013 11:41 AM