Informix ODBC refresh trouble
Hello forum,
I am using Crystal Reports XI ver 11.5.8.826 on WinXP Pro to design reports for an Informix database. The connection between the report designer and the database is an Informix ODBC connection, version 3.31. I have other database client applications that are able to access the database through the ODBC connection without any trouble. My Crystal Reports designer, however, is often unable to refresh database information properly, which prevents me from being able to add new database fields to existing reports. To refresh reports, I am using the Database menu item Verify Database. It often returns messages indicating that the report tables no longer exist, even though I am certain that they do. The refresh menu item on tables in the Field Explorer appears to do nothing. I have also tried to re-create the connection in the Database Expert, but this also has no effect. Does anybody have any advice? I am confident that the Crystal Reports designer is the problem, because I run the report query in other DB clients using the same ODBC connection, and they return the expected result.
Thanks,
Paul Oldenburg
Global Crossing Conferencing
Thank you very much for the quick response.
Using the Set Datasource Location dialog appears to have updated the information in the Field Explorer, as you suggested. The changes to the database schema are now available in the designer. The Database menu item Verify Database runs without errors.
Now, however, when I save the report template with changes using the new schema, I get the following error when generating the report using the C++ CrystalDecisions API: "EngineException: Database logon failed." In the report designer, I used the Database menu item Log On or Off Server to make sure that the credentials stored in the template were correct. I also ran the report in the designer using Print Preview, and all the data appeared to populate correctly, even new schema elements. It looks like the designer is able to use the new template properly, but not my C++ application which uses the CrystalDecisions API to generate reports.
Do you a suggestion to address this problem?
Thanks again.
Paul Oldenburg
Similar Messages
-
Informix ODBC driver error while creating a view in Designer
I nedd to ceate a view in a universe (Business Objects XI R2) that is connected to an Informix database. I use the 3.34 ODBC Informix driver.
When I write the select statement (select column from table) and check the syntax I have the following error:
"Exception: DBD, [Informix][Informix ODBC Driver][Informix]A syntax error has occurred.State: 42000"
Is there anybody who has solved this problem??
Thanks in advance to anyone who can give me hints on how to solve problem.
FabrizioHi Fabrizio,
The error state 42000 indicates that there is a syntax error or access violation. If you are using an Informix native client connection then add the following parameter <Parameter Name>"Force SQLExecute">Always</Parameter> in the informix.sbo file. Restart Designer and then try to create a derived table with a simple select statement.
If you are using an ODBC connection, then add the above mentioned parameter in the Generic section of odbc.sbo file.
Regards
Arun Sasi -
Hi all...
I'm hoping if anybody could help me. I'm using Microsoft Excel 2010 + Windows 7 Professional 64 bit. I've installed the informix client sdk for odbc drivers to create odbc 32 bit connection. Before this, i had successfully installed in
another Windows 7 Professional 64 bit PC the informix client drivers and configured the odbc connection for it. During that time, i can access the 32 bit ODBC using the microsoft query from the Microsoft Excel 2007. But now...in the new PC, even though i had
successfully installed the informix client and manage to configure the 32 bit ODBC for it, my Microsoft Excel 2010 can't call/recognise the 32 bit ODBC connection as if the Microsoft Excel 2010 only called the 64 bit ODBC. Is it in Microsoft excel 2007
it is possible to recognise the 32 bit ODBC but the Microsoft Excel 2010 can't? Is there any solution if my Microsoft Excel 2010 still want to use the 32 bit ODBC connection.Hi,
Excel 2007 has only 32-bit since 64-bit applications for Office are available only for Office 2010. Thus, you can use
32 bit ODBC between Microsoft Excel 2007 & Windows 7 Professional 64 bit. Now, you are using Microsoft Excel 2010 64 bit & Windows 7 Professional 64 bit, thus, you must install the 64 bit ODBC drive. If you still need to use 32
bit odbc drive, please use 32 bit Excel 2010. Here is the detailed steps:
http://datasummit.co.za/how-to-install-an-informix-odbc-driver-on-windows-7-for-ms-office-2010
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Thai Language problem with informix ODBC
I have a problem about crystal report connected informix database.
It displays Thai language incorrectly such as ºÃÔÉÑ· ˹Öè§ÈÙ¹Âì˹Öè§.
Informix ODBC version is IBM Informix 3.82 32 BIT and crystal report version 11.
Please help me to solve this problem.
Thank youPlease re-post if this is still an issue to the Data Connectivity - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly
-
Informix ODBC driver and SQL Expressions
I get an odbc error from Crystal Reports XI when I create a simple sql expression.
Database Connector Error: '42S22: Informix Informix ODBC Driver Informix Column (ofh) not found in any table in the query (or SLV is undefined). Database Vendor Code: -217
I have one table in the report (ofh) and three columns on the report.
My syntax for the sql expression is:
(SELECT xvd.xvd_print FROM xvd WHERE xvd.xcd_id=24 AND xvd.lng_id='0' AND xvd.xcv_id=OFH.OFT_ID)
Where the OFH.OFT_ID is the connection to the table in the report.
If I hard code this value the syntax is ok, but what is the use? I need to have this match the record.
In Crystal Reports 8.5 this syntax works just fine with this same driver.
And I tried double clicking on the column name from the formula editor and all it did was put spaces around the ofh and the oft_id with the period in the middle.
I got the same error.
Show SQL Query u2026 does not work to show me what it builds so I can see what it does not like.
What syntax do I need to use to get the simple sub-select to work the same as it did in version 8.5?
I have to convert all my 8.5 reports to XI and many use this type of feature to get the data for the report.The command file works wonderfully, but my hope was not to completely change each old report but simply convert them and reuse as much as possible.
It seems that the processor that converts the linked tables and the select logic does not function in the same way as version 8.5 does to create syntax for the query when it puts it into the odbc driver.
After more play I found that if I did not use alias names in the sub-select syntax (sql expression editor) I could get the data I needed.
However I have not converted the more complicated reports that use the sql case statement syntax.
I was hoping some one could look at the way Crystal Reports XI was handling the build of the select statement and see what changes where made that seem to no longer let me use the same sql statements I used in 8.5 -
[?] ODBC connection troubles
Hello,
I have a 10g server is running on Win2003 comp, and I want to connect to it
from WinXP client computer using ODBC.
1) I downloaded Oracle client (from
http://download.oracle.com/otn/nt/instantclient/instantclient-basic-win32-10.1.0.3-20050113.zip),
unpacked it onto a client comp, set the PATH variable to that folder
2) Tried to connect:
data source: MS ODBC driver for Oracle
server: Win2003ServerName
username: sysman
password: sysman_pwd
And I got an error ORA-12514: TNSlistener does not currently know of service
requested in connect descriptor
I'm a novice in Oracle, and what can I imagine is I have to create a correct
tnsnames.ora file on the client comp. But where have I place it to, or how
to register it?
Thanks.Can you try using the Oracle ODBC driver? The 10g Instant Client does not support using third-party ODBC drivers, it just installs what the Oracle ODBC driver requires. You'll have to download and install the Oracle ODBC driver components as well as the straight Instant Client as well.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Problem with boolean type in Informix via ODBC
Hello,
I'm connecting to an Informix database from an Oracle database via the ODBC Gateway. The connection works fine.
However, when I select a boolean type column from a table in the Informix database, nothing is returned and I get the following error:
SQL> select "stat" from bt@informix;
ERROR:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Informix][Informix ODBC Driver]Restricted data type attribute violation.
{07006,NativeErr = -11013}
ORA-02063: preceding 2 lines from INFORMIX
no rows selected
Selecting a boolean type column with isql works fine. Other column types work from Oracle.
Can anyone help me resolve this issue? Please find configuration details and traces below.
Software stack:
Informix Database: Enterprise Edition 12.10 for Linux x86_64
Informix ODBC driver: Informix Client SDK Developer Edition 4.10 for Linux 64-bit
Oracle Database: Enterprise Edition 11.2.0.1.0 64-bit (Oracle Linux 6.6 64-bit)
UnixODBC: 2.3.2 x86_64
odbcinst.ini:
[Informix]
Driver=/opt/IBM/informix/lib/cli/libifcli.so
Setup=/opt/IBM/informix/lib/cli/libifcli.so
APILevel=1
ConnectFunctions=YYY
DriverODBCVer=03.51
FileUsage=0
SQLLevel=1
smProcessPerConnect=Y
[ODBC]
TraceFile=/tmp/odbc.log
Trace = Yes
odbc.ini:
[ol_informix1210]
Driver=Informix
Description=Test connection
Database=sysutils
LogonID=informix
pwd=informix
Servername=ol_informix1210
CursorBehavior=0
DB_LOCALE=en_us.8859-1
TRANSLATIONDLL=/opt/IBM/informix/lib/esql/igo4a304.so
[ODBC]
UNICODE=UCS-2
; Trace file Section
Trace=1
TraceFile=/tmp/odbctrace.out
InstallDir=/opt/IBM/informix
TRACEDLL=idmrs09a.so
Oracle Gateway init.ora:
HS_FDS_CONNECT_INFO=ol_informix1210
HS_FDS_SHAREABLE_NAME=/usr/local/lib/libodbc.so
HS_FDS_TRACE_LEVEL=debug
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
Oracle Gateway trace:
Entered hgoftch, cursor id 1 at 2015/04/14-12:22:03
hgoftch, line 130: Printing hoada @ 0x2007fe0
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-7 BIT Y 1 1 0/ 0 0 0 20 stat
Performing delayed open.
SQLBindCol: column 1, cdatatype: -28, bflsz: 1
Entered hgopoer at 2015/04/14-12:22:03
hgopoer, line 233: got native error -11013 and sqlstate 07006; message follows...
[Informix][Informix ODBC Driver]Restricted data type attribute violation. {07006,NativeErr = -11013}
Exiting hgopoer, rc=0 at 2015/04/14-12:22:03
hgoftch, line 730: calling SQLFetch got sqlstate 07006
0 rows fetched
Exiting hgoftch, rc=28500 at 2015/04/14-12:22:03 with error ptr FILE:hgoftch.c LINE:730 FUNCTION:hgoftch() ID:Fetch resultset data
ODBC trace:
[ODBC][11041][1429005970.973443][SQLPrepare.c][196]
Entry:
Statement = 0x276ecb0
SQL = [SELECT A1. stat FROM BT A1][length = 29]
[ODBC][11041][1429005970.973914][SQLPrepare.c][371]
Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.973940][SQLNumResultCols.c][156]
Entry:
Statement = 0x276ecb0
Column Count = 0x26f5868
[ODBC][11041][1429005970.973970][SQLNumResultCols.c][248]
Exit:[SQL_SUCCESS]
Count = 0x26f5868 -> 1
[ODBC][11041][1429005970.974097][SQLDescribeCol.c][247]
Entry:
Statement = 0x276ecb0
Column Number = 1
Column Name = 0x7fffc3ff2d90
Buffer Length = 31
Name Length = 0x7fffc3ff2ed4
Data Type = 0x7fffc3ff2ed8
Column Size = 0x7fffc3ff2e70
Decimal Digits = 0x7fffc3ff2edc
Nullable = 0x7fffc3ff2ee0
[ODBC][11041][1429005970.974140][SQLDescribeCol.c][501]
Exit:[SQL_SUCCESS]
Column Name = [stat]
Data Type = 0x7fffc3ff2ed8 -> -7
Column Size = 0x7fffc3ff2e70 -> 1
Decimal Digits = 0x7fffc3ff2edc -> 0
Nullable = 0x7fffc3ff2ee0 -> 1
[ODBC][11041][1429005970.974192][SQLSetStmtAttr.c][265]
Entry:
Statement = 0x276ecb0
Attribute = SQL_ATTR_ROW_ARRAY_SIZE
Value = 0x64
StrLen = 0
[ODBC][11041][1429005970.974218][SQLSetStmtAttr.c][925]
Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.974230][SQLSetStmtAttr.c][265]
Entry:
Statement = 0x276ecb0
Attribute = SQL_ATTR_ROW_BIND_TYPE
Value = (nil)
StrLen = -5
[ODBC][11041][1429005970.974249][SQLSetStmtAttr.c][925]
Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.974837][SQLExecute.c][187]
Entry:
Statement = 0x276ecb0
[ODBC][11041][1429005970.975231][SQLExecute.c][348]
Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.975255][SQLSetStmtAttr.c][265]
Entry:
Statement = 0x276ecb0
Attribute = SQL_ATTR_ROW_STATUS_PTR
Value = 0x27f5b78
StrLen = -4
[ODBC][11041][1429005970.975280][SQLSetStmtAttr.c][925]
Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.975291][SQLSetStmtAttr.c][265]
Entry:
Statement = 0x276ecb0
Attribute = SQL_ATTR_ROWS_FETCHED_PTR
Value = 0x26f5850
StrLen = -4
[ODBC][11041][1429005970.975311][SQLSetStmtAttr.c][925]
Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.975326][SQLBindCol.c][236]
Entry:
Statement = 0x276ecb0
Column Number = 1
Target Type = -28 SQL_C_UTINYINT
Target Value = 0x27f5af8
Buffer Length = 1
StrLen Or Ind = 0x27f5eb8
[ODBC][11041][1429005970.975349][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.975367][SQLFetch.c][162]
Entry:
Statement = 0x276ecb0
[ODBC][11041][1429005970.975455][SQLFetch.c][348]
Exit:[SQL_ERROR]
DIAG [07006] [Informix][Informix ODBC Driver]Restricted data type attribute violation.
[ODBC][11041][1429005970.975574][SQLGetDiagRec.c][758]
Entry:
Statement = 0x276ecb0
Rec Number = 1
SQLState = 0x7fffc3ff2e20
Native = 0x7fffc3ff2c14
Message Text = 0x7fffc3ff2c20
Buffer Length = 510
Text Len Ptr = 0x7fffc3ff2e70
[ODBC][11041][1429005970.975615][SQLGetDiagRec.c][795]
Exit:[SQL_SUCCESS]
SQLState = 07006
Native = 0x7fffc3ff2c14 -> -11013
Message Text = [[Informix][Informix ODBC Driver]Restricted data type attribute violation.]
[ODBC][11041][1429005970.975642][SQLGetDiagRec.c][758]
Entry:
Statement = 0x276ecb0
Rec Number = 2
SQLState = 0x7fffc3ff2e20
Native = 0x7fffc3ff2c14
Message Text = 0x7fffc3ff2c20
Message Text = 0x7fffc3ff2c20
Buffer Length = 510
Text Len Ptr = 0x7fffc3ff2e70
[ODBC][11041][1429005970.975667][SQLGetDiagRec.c][795]
Exit:[SQL_NO_DATA]Here are my findings after consulting the unixODBC mailing list and the IBM documentation.
There are several levels of data types at play here: native Informix SQL types, Informix ODBC driver SQL types and Informix ODBC driver C types (as well as standard C types).
According to the Informix documentation (http://www-01.ibm.com/support/knowledgecenter/SSGU8G_11.70.0/com.ibm.odbc.doc/ids_odbc_108.htm), the ODBC driver SQL type for the native boolean type is SQL_BIT.
The traces show that the ODBC SQL type is SQL_BIT (type code -7) and that this should be converted into the SQL_C_UTINYINT ODBC C type (type code -28).
Oracle ODBC Gateway trace:
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-7 BIT Y 1 1 0/ 0 0 0 20 stat
Performing delayed open.
SQLBindCol: column 1, cdatatype: -28, bflsz: 1
unixODBC trace:
ODBC][11041][1429005970.975326][SQLBindCol.c][236]
Entry:
Statement = 0x276ecb0
Column Number = 1
Target Type = -28 SQL_C_UTINYINT
Target Value = 0x27f5af8
Buffer Length = 1
StrLen Or Ind = 0x27f5eb8
[ODBC][11041][1429005970.975349][SQLBindCol.c][341]
Oracle tries to bind the SQL_BIT type column to a buffer of SQL_C_UTINYINT type, which requires a conversion from SQL_BIT to SQL_C_UTINYINT that is apparently not supported by the Informix ODBC Driver.
According to the documentation (http://www-01.ibm.com/support/knowledgecenter/SSGU8G_11.70.0/com.ibm.odbc.doc/ids_odbc_108.htm) the Informix ODBC driver can only convert the SQL_BIT ODBC SQL type into SQL_C_BINARY, SQL_C_BIT and SQL_C_CHAR ODBC C types. (The ODBC C types are in turn converted into standard C types, for example the SQL_C_BIT type is converted into UCHAR which is a typedef for the standard C type unsigned char.)
A possible workaround could be to tell Informix to present boolean as a different ODBC SQL type, for example SQL_CHAR (as it would be possible with PostgreSQL by setting BoolAsCharater=1 in odbc.ini), but Informix only seems to supports the SQL_BIT ODBC SQL type.
A cumbersome workaround is to use the Gateway's pass-through feature that allows a query to be passed to Informix as is, which in turn allows us to cast the boolean field into a character field:
SQL> set serveroutput on
SQL> r
1 DECLARE
2 val VARCHAR2(1);
3 c INTEGER;
4 nr INTEGER;
5 BEGIN
6 c := DBMS_HS_PASSTHROUGH.OPEN_CURSOR@informix;
7 DBMS_HS_PASSTHROUGH.PARSE@informix(c,'select cast (stat as character) from bt');
8 LOOP
9 nr := DBMS_HS_PASSTHROUGH.FETCH_ROW@informix(c);
10 EXIT WHEN nr = 0;
11 DBMS_HS_PASSTHROUGH.GET_VALUE@informix(c, 1, val);
12 DBMS_OUTPUT.PUT_LINE(val);
13 END LOOP;
14 DBMS_HS_PASSTHROUGH.CLOSE_CURSOR@informix(c);
15 END;
16*
t
f
PL/SQL procedure successfully completed
Easier solutions are still welcome. -
Which ODBC driver was certified for Informix/AIX?
Which ODBC driver was certified for generic connectivity on AIX to Informix? We tried to use the IBM/Informix ODBC driver but there are incompatible linker problems between it and the Oracle DBMS. We need to find an ODBC driver that does work. I know that the manual says that Oracle does not recommend any particular driver, nevertheless, it must have tested with at least one. Which one?
Kirk,
We test Generic Connectivity using our own ODBC drivers but these are not commercially available products. -
Hi,
we are upgrading our CUCM 8.6.1 to 10.5.1 on VMWare Enviroment (vSphere 5.5 running on UCS).
We are running this upgrade in a sandbox, in order to avoid any problem in the production cluster.
We followed the refresh upgrade guide ( http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/upgrade/10_0_1/CUCM_BK_U4214F9D_00_upgrade-guide-cucm-100.pdf)
Pre-configuration steps
Take a clone of the running publisher and put it in the sandbox
Remove DNS servers (they are not available in the sandbox)
Change the NTP Server with a ntp that is recheable from the sandbox
Check that Gateway and NTP connectivity are OK for the CUCM
Pre-upgrade:
Run the cop files to update keys and increase disk space (log partition is 80% full)
Shutdown the CUCM VM and
Increase disk space on the VM configuration
change VM OS from RedHat5 (32bit) to RedHat 6 (64bits)
change VM nic from flexible to VMNIX3
Restart the VM
Upgrade
1. mount the iso
2. connect to OS Administration web interface and perform the Software installation from CD/DVD
3. upgrade process works fine up to the post-installation task
During post-installation tasks (after completing the DB Load and Transforming Copy) the Upgrade process always fails fails with an internal error
IPM|Internal Error, File:ipm.c:2011, Function: ipmReadNormalizedInputLine(), "/usr/local/cm/script/cm-dbl-install RU PostInstall 10.5.1.10000-7 8.6.1.21019-1 /usr/local/cm/ /common/component/database /common/log/install/capture.txt " failed (1)|<LVL::Critical>
IPM| end-of-session "Installing database component": 1109.369 secs.|<LVL::Info>
IPM|Close progress meter "Component Install"|<LVL::Info>
We also tried the intermediate steps:
- upgrade from 8.6.1 to 9.1 : worked
- from 9.1 to 10.5: Failed with the same error
- from 9.1 to 10.1: Failed with the same error
any help will be greatly appreciated, thanks
StefanoIssue was related to Dial Plans, the logs showed
16:45:46.204 | DBUtil::BlockCopyTable ### *ERROR* ###: (diagnosis): Bulk Data Migration for table availdialplan failed due to data constraint issue, (-971).
16:45:46.611 | DBUtil::BlockCopyTable *
16:46:16.555 |*ERROR* Error fetching column information: [Informix][Informix ODBC Driver][Informix]Could not position within a table (informix.systables).
16:46:16.588 | DataConverter_5to6::CopyTables *ERROR* BlockCopyTable failed to process table (availdialplan)
16:47:52.395 | installFull *ERROR* Prior Cancel or Error Processing convert5to6()
Cisco TAC fixed by updating the primary key in the DB.
After the fix we were able to perform the RU as expected. -
ERROR WHILE CREATING A DATABASE LINK TO INFORMIX
I'm creating a database link with the Oracle Dataware Builder, and i get the following error:
Probando...
Fallo.
SQL Exception
Error del repositorio: Excepción SQL.
Nombre de la Clase: CacheMediator.
Nombre del Método: getDDEntryFromDB.
Mensaje de Error del Repositorio: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][Informix][Informix ODBC Driver][Informix]Incorrect password or user [email protected] is not known on the database server. (SQL State: 28000; SQL Code: -951)
ORA-02063: preceding 2 lines from PRUEBA_SEH
As you can see i'm using heterogeneus services to connect to a informix database. ALTIADM is a valid user for that database, i don't send my ip address 192.168.0.62, but the error says "[email protected] is not known in the database server". how can i solve it?????Right places to ask this question are
Heterogeneous Connectivity
Warehouse Builder -
Connecting to an older Informix database
Hi there,
Trying to figure out how to connect to what I think is a
pretty old Informix database (Informix RSAM Version 5.20.UC1) using
CFMX 7.0.2. The documenation I've been reading seems to indicate
that CF supports 9.x natively, and that to connect to 7.3 you need
to install the IBM drivers, but I think this is even older?
If anyone can help, it would be most appreciated.
Thanks,
MattUpdate on this one -- I discovered that some users were using
Crystal 9 to connect to the database, and they were installing a
set of Informix ODBC drivers to be able to do so. So, I grabbed the
ODBC drivers and installed them. Then, I set up a new "ODBC Socket"
datasource and picked mine from the list. Works great! A side note
-- the JDBC drivers obviously do not connect correctly.
Matt -
Import data from Informix DB to SQL Server 2012
I am trying to use the SSIS Import and Export Wizard in SQL Server Data Tools to migrate an Informix database to SQL Server 2012. I go through the steps & when I hit Finish I get an error message that says:
TITLE: SQL Server Import and Export Wizard
Could not connect source component.
Error 0xc0047062: Source - material [1]: System.Data.Odbc.OdbcException (0x80131937): ERROR [42000] [Informix][Informix ODBC Driver][Informix]A syntax error has occurred.
at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
at System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Odbc.OdbcCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.ReinitializeMetaData()
at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostReinitializeMetaData(IDTSManagedComponentWrapper100 wrapper)
ADDITIONAL INFORMATION:
ERROR [42000] [Informix][Informix ODBC Driver][Informix]A syntax error has occurred. (iclit09b.dll)
BUTTONS:
OK
I am getting this error when I use the "Copy data from one or more tables or views" option. I am able to migrate a single table with no problem when I use the "Write a query to specify the data to transfer"
option. This is my first time using SSIS so I am not sure what to do. Can anyone help me out? Thanks...The following link explains the steps/processes requires to perform this in SSIS:
http://davidbridge.wordpress.com/2012/05/30/extraction-from-informix-database-using-ssis-data-warehouse-etl/
Thanks, hsbal -
Interval data types ODBC driver support
I have tried both Oracle 10.02.00.03 and Oracle 11.01.00.06 ODBC drivers to get resultset description for interval data type columns with no success. Example,
CREATE TABLE TEST_INTERVAL
"COL1" INTERVAL YEAR (2) TO MONTH,
"COL2" INTERVAL YEAR (1) TO MONTH,
"COL3" INTERVAL DAY (2) TO SECOND (6),
"COL4" INTERVAL DAY (0) TO SECOND (0)
and in an ODBC client like CompareData or WinSQL attempt to retrieve the resultset description for 'select * from test_interval' using SQLColAttribute and SQL_DESC_CONCISE_TYPE, SQL_DESC_LABEL, SQL_DESC_AUTO_UNIQUE_VALUE, etc and get all errors.
Seems Oracle ODBC drivers do not know how to handle interval data types eventhough ODBC api provides the necessary framework for handling interval data [http://msdn.microsoft.com/en-us/library/ms716506(VS.85).aspx]
(For example, Informix ODBC driver, Mimer SQL ODBC driver provide complete support for their DBMS interval data types via ODBC)Perhaps you ask in the wrong forum? It doesn't seem to be a 'Database - General' question:
ODBC
Werner -
I installed Windows 7 Ultimate on a PC and I am trying to set up the ODBC drivers to use with Crystal Reports. I ran CR on my XP machine and have the ODBC settings EXACTLY the same on both PCs. When I click 'Apply & Test Connection' in the ODBC Driver Setup window, it gives me the following error message:
Unspecified System Error = -11333
Unspecified System Error = -11356.[Informix][Informix ODBC
Driver][Informix]Unspecified system Error = -931. sqlerrm(idsgtne)
I have already tried to Disable User Account Access and turned off the Windows Firewall and my Anti-virus with no luck.
Any help would be greatly appreciated.
Thanks, RichHi Don,
I ran the ODBCTest program and came up with the following results. Unfortuantely, they don't mean much to me. Hopefully someone else can translate it for me. And yes, the \bin folder is in my PATH statement.
SQLDriverConnect returned: SQL_ERROR=-1
dbc: szSqlState = "HY000", *pfNativeError = -1829, *pcbErrorMsg = 82, *ColumnNumber = -1, *RowNumber = -1
MessageText = "[Crystal Reports][ODBC Informix driver][Informix]Unable to load locale categories."
dbc: szSqlState = "HY000", *pfNativeError = -1829, *pcbErrorMsg = 82, *ColumnNumber = -1, *RowNumber = -1
MessageText = "[Crystal Reports][ODBC Informix driver][Informix]Unable to load locale categories."
SQLError:
In: henv = SQL_NULL_HENV, hdbc = SQL_NULL_HDBC,
hstmt = SQL_NULL_HSTMT, szSqlState = 0x006CBB10, pfNativeError = 0x006CBBE0,
szErrorMsg = 0x006CBC28, cbErrorMsgMax = 300, pcbErrorMsg = 0x006CBBF8
Return: SQL_INVALID_HANDLE=-2
Out: *szSqlState = <unmodified>, *pfNativeError = <unmodified>,
*szErrorMsg = <unmodified>, *pcbErrorMsg = <unmodified>
Thanks again,
Rich -
Error -11040 Driver does not support this function- Informix SE db
Hello,
Weu2019re getting an error -11040 "Driver does not support this function" when trying to connect to an ODBC data source to an InformixSE database. This is with Crystal 2010 and 2008 on a Windows XP sp2 box. Weu2019re trying to use the ODBC(RDO) choice for a new connection.
The Informix ODBC driver has been loaded. We tried 3 versions, the 2.40 and 3.70(latest) ones from IBM, and one that I believe came with Crystal (CR xxxx). I tried turning on the ODBC trace file, but it didnu2019t write anything to the log. We are supplying the same log in credentials as with Excel.
The Informix database we use is Informix SE (Standard Engine) v5.10 on separate machine running Unix (Aix) with the Informix-Net daemon running to handle odbc connectivity. We are able to connect from Excel to the Informix database.
I donu2019t know what ODBC function Crystal may be expecting from the driver that it doesnu2019t seem to support and how to tell Crystal to not need it.
Thanks,
MikeHi Mike,
According to the Platforms for DB support we only support these Informix data sources:
IDS (Informix Dynamic Server) 11.50 32 bit 64 bit Linux AIX Solaris
IDS IDS Client 11.5 Direct Direct Not Supported Not Supported Not Supported
ODBC IBM Informix ODBC SDK 3.50 Direct Direct Direct Direct Direct
ODBC DataDirect ODBC 6.0 SP2 (10) Direct Direct Direct Direct Direct
You may want to try the Data Direct 6.x drivers as a test.
CR in the .NET IDE is running under 32 bit mode so make sure you are using the 32 bit Client.
Don
Maybe you are looking for
-
Photoshop hangs up when writing text
I have workstation Dell Precision T5400 Base Intel Xeon E5420 (2.50GHZ, 1333Mhz, 2x6MB,Quad Core) Operating System Windows Vista® Business SP1 64Bit Memory 8GB DDR2 667 Quad Channel FBD Memory (4x2GB) Video Card 512MB PCIe x16 nVidia Quadro FX 1700 (
-
Error while executing SQL query -' Must Specify Table to select from'
Hi all, While executing query using query generator it shows error message [Microsoft][SQL Native Client][SQL Server]Must specify table to select from. 2). [Microsoft][SQL Nativ SELECT T1.ItemCode, T1.Dscription AS 'Item Description', T1.Quantity, T1
-
How do I get my 8 most-used bookmarks to show on the bookmark toolbar in version 29?
I was automatically upgraded to Version 29. I have always used the bookmark toolbar to keep my 8 most-used bookmarks one click away. I can't figure out how to do that any more. There are other changes that I dislike, and the classic theme restorer ad
-
i just bought a new Macbook Pro and loaded all my info from My old Macbook...now i can't remember for the life of me my Admin Password (which i created 3 years ago)...is there ANY WAY to bypass this on my new Macbook Pro and begin again...?
-
I have a huge problem. Some days ago I figured out, that I keep getting error "the gift card or certificate has already been redeemed" on any valid gift card I buy. After failing on my account I was able to apply them to another id. How is it possibl