ODBC Firebird

Hi
I got this error when I try to connect to a firebird database:
ORA-28500 [ODBC Firebird Driver]Unavalilable database
ORA-02063
When I use the odbc with microsoft office access work fine.
This is my initnomina.odbc:
HS_FDS_CONNECT_INFO = nomina
HS_FDS_TRACE_LEVEL = on
HS_FDS_TRANSACTION_ISOLATION = NONE
HS_FDS_SUPPORT_STATISTICS=FALSE
My Tnsnames.ora:
NOMINA =
(DESCRIPTION =
(ADDRESS =(PROTOCOL = tcp)(HOST = 192.168.21.222)(PORT=1521))
(CONNECT_DATA = (SID = NOMINA))
(HS=OK)
My Listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = NOMINA)
(ORACLE_HOME = D:\app\arico\product\11.1.0\db_1)
(PROGRAM = DG4ODBC)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.21.222)(PORT = 1521))
My System DSN work fine (Office Access)
The trace is:
Oracle Corporation --- MARTES MAY 26 2009 17:05:29.848
Heterogeneous Agent Release
11.1.0.6.0
Oracle Corporation --- MARTES MAY 26 2009 17:05:29.848
Version 11.1.0.6.0
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "on"
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using SYSDBA as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
##>Connect Parameters (len=35)<##
## DSN=nomina;
#! UID=SYSDBA;
#! PWD=*
hgocont, line 1890: calling SqlDriverConnect got sqlstate 08004
What is the problem?

Thank you for your answer:
I'd like to know why tne DSN system work fine with access and has problem with Oracle?
Here the trace:
Oracle Corporation --- MIÉRCOLES MAY 27 2009 08:44:14.110
Heterogeneous Agent Release
11.1.0.6.0
Oracle Corporation --- MIÉRCOLES MAY 27 2009 08:44:14.110
Version 11.1.0.6.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL16UTF16"
setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
Exiting hgosdip, rc=0
ORACLE_SID is "NOMINA"
Product-Info:
Port Rls/Upd:6/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.1.0.6.0_0006, Instance:NOMINA
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=2000
HOCXU_DB_CSET=46
HOCXU_SEM_VER=110000
Entered hgolofn at 2009/05/27-08:44:15
Exiting hgolofn, rc=0 at 2009/05/27-08:44:15
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
Exiting hgoinit, rc=0 at 2009/05/27-08:44:15
Entered hgolgon at 2009/05/27-08:44:15
reco:0, name:SYSDBA, tflag:0
Entered hgosuec at 2009/05/27-08:44:15
Exiting hgosuec, rc=0 at 2009/05/27-08:44:15
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using SYSDBA as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2009/05/27-08:44:15
HS_FDS_CONNECT_INFO = "nomina"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2009/05/27-08:44:15
dsn:nomina, name:SYSDBA
optn:
##>Connect Parameters (len=35)<##
## DSN=nomina;
#! UID=SYSDBA;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2009/05/27-08:44:15
Entered hgopoer at 2009/05/27-08:44:15
hgopoer, line 159: got native error -904 and sqlstate 08004; message follows...
[ODBC Firebird Driver]unavailable database
Exiting hgopoer, rc=0 at 2009/05/27-08:44:15
hgocont, line 1890: calling SqlDriverConnect got sqlstate 08004
Exiting hgocont, rc=28500 at 2009/05/27-08:44:16 with error ptr FILE:hgocont.c LINE:1910 ID:Something other than invalid authorization
Exiting hgolgon, rc=28500 at 2009/05/27-08:44:16 with error ptr FILE:hgolgon.c LINE:612 ID:Calling hgocont
Entered hgoexit at 2009/05/27-08:44:16
Exiting hgoexit, rc=0 at 2009/05/27-08:44:16

Similar Messages

  • Re: Hibernate Dialect error against Firebird 2.1.2 DB via JDBC

    ColdFusion9 ColdFusionBuilder1 on XP Pro
    Ok, now I'm completely stuck.  After 2 days of configuring CFB9 (and it's Administrator) I was able to, in CFB connect to a Firebird DB in design time using JDBC instead of ODBC.  However, when I try to Run the project, I have exactly the same problem as when I configured to connect CF to FB via ODBC...and that problem is...
    Hibernate is complaining that it needs to know the Dialect of the Firebird database.  Well, it's 3.. but, how do I configure Hibernate so that it knows this value?  I know nothing about Hibernate, nor how to configure it.  I've done a search on my HD for files with the extension *.hbm.xml but no results come up.
    If this can be solved, then CF9 can be used on the many hundreds of thousands of Firebird databases that are in use today, and CF's market will grow substantially.
    Thanks in advance.

    The Hibernate dialect (ie: for this.ormsettings.dialect) for Firebird is org.hibernate.dialect.FirebirdDialect.  I found that out by googling "hibernate firebird dialect".
    I have installed FB, strummed up a datasource in CF and done some testing of CF's Hibernate integration at it all seems fine to me.  My testing was only as extensive as having it create some tables and persisting some object in 'em though.  But if it does that much, I have no reason to think it's doesn't fully work as one would expect.
    Not that it matters, but I think you are overestimating the importance of Firebird in the general RDBMS market.  One would never hear it mentioned in the same sentence as Oracle or SQL Server.  Or even MySQL, PostgreSQL etc.  Not that my own experience is authoritative, but in 15 years in the IT industry, I hadn't even heard of it until about a week ago.  But still... that's neither here nor there.  CF/Hibernate supports it already anyhow.
    Adam

  • DG4ODBC on Linux-64 to Firebird connection fail (on Linux-32 ok!)

    Hi.
    I have a 2 servers on Ubuntu 9.04 with Oracle11r2 with save configuration. One of them with 32, and other with 64 bit architecture. For connection to firebird I use IBPhoenix ODBC driver - implementation for 32 and 64 bit. From Linux32 everything ok, but from 64 I got error ORA-28511: connection HS Agent lost. First few queries were almost succesful (error something about charcterset conversion), but now only ORA-28511:( Connection by unixODBC isql to DSN-source is OK.
    ########### odbc.inst
    [Firebird]
    Driver=/usr/lib/libOdbcFb.so
    Setup=/usr/lib/libOdbcFb.so
    Threading=1
    FileUsage=1
    CPTimeout=
    CPReuse=
    ########### odbc.ini
    [clientPR]
    Driver=Firebird
    Dbname=10.1.216.3:clientPR
    User=SYSDBA
    ########## listener.ora
    # listener.ora Network Configuration File: /oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = cruorsrv.ccru)(PORT = 1521))
    ADR_BASE_LISTENER = /oracle
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=dg4sybs)
    (ORACLE_HOME=/oracle/product/11.2.0/dbhome_1)
    (PROGRAM=dg4sybs)
    (SID_DESC=
    (SID_NAME=pr)
    (ORACLE_HOME=/oracle/product/11.2.0/dbhome_1)
    (PROGRAM=dg4odbc)
    ############# tnsnames
    # tnsnames.ora Network Configuration File: /oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = cruorsrv.ccru)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.cru)
    dg4sybs =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))
    (CONNECT_DATA=(SID=dg4sybs))
    (HS=OK)
    PR=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))
    (CONNECT_DATA=(SID=PR))
    (HS=OK)
    ###### initpr.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = clientPR
    HS_FDS_SHAREABLE_NAME=/usr/lib/libiodbc.so.2
    HS_FDS_TRACE_LEVEL=DEBUG
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    set ODBCINSTINI=/etc/odbcinst.ini
    set LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/odbc:/usr/lib:$ORACLE_HOME/lib
    ######### TRACEFILE
    Oracle Corporation --- FRIDAY MAR 26 2010 12:18:47.971
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- FRIDAY MAR 26 2010 12:18:47.971
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "pr"
    Product-Info:
    Port Rls/Upd:1/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:pr
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=171
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=171
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2010/03/26-12:18:47
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib/libiodbc.so.2"
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142e980
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214261e0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214227b0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2141d2f0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214144b0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140f220
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21427de0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21415920
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21416ed0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142de90
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2141e400
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21416830
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142db00
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21421870
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214162b0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21425660
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21414e40
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21414a90
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214257b0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142dce0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214298e0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21429520
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140ba80
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214123c0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21425400
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214140b0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214157b0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140b240
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142b820
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142aec0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142a140
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2141ad50
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2141bb70
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2141fda0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142d930
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140ddf0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21423a90
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140a9a0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140a2e0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21409bc0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142bfa0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142d410
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142a9a0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140d0f0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140c980
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Exiting hgolofn, rc=0 at 2010/03/26-12:18:47
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2010/03/26-12:18:47
    Entered hgolgon at 2010/03/26-12:18:47
    reco:0, name:SYSDBA, tflag:0
    Entered hgosuec at 2010/03/26-12:18:47
    Exiting hgosuec, rc=0 at 2010/03/26-12:18:47
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using SYSDBA as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2010/03/26-12:18:47
    HS_FDS_CONNECT_INFO = "clientPR"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2010/03/26-12:18:47
    dsn:clientPR, name:SYSDBA
    optn:
    Entered hgocip at 2010/03/26-12:18:47
    dsn:clientPR
    Exiting hgocip, rc=0 at 2010/03/26-12:18:47
    Exiting hgogenconstr, rc=0 at 2010/03/26-12:18:47
    Entered hgolosf at 2010/03/26-12:18:48
    Exiting hgolosf, rc=0 at 2010/03/26-12:18:48
    DriverName:Odb, DriverVer:02.00
    DBMS Name:Fire, DBMS Version:06.03.17910 WI-V Firebird 2.1
    Exiting hgocont, rc=0 at 2010/03/26-12:18:48
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 0 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2010/03/26-12:18:48
    Entered hgoulcp at 2010/03/26-12:18:48
    Entered hgowlst at 2010/03/26-12:18:48
    Exiting hgowlst, rc=0 at 2010/03/26-12:18:48
    SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
    TXN Capable:2, Isolation Option:0xf
    SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 31 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 31 for SQL_MAX_PROCEDURE_NAME_LEN
    SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    Any ideas?
    Thanks!

    After correction listener.ora and restarting changed nothing:(
    ##################### ODBC TRACE on "select * from dual@pr"
    ** iODBC Trace file
    ** Trace started on Fri Mar 26 13:53:38 2010
    ** Driver Manager: 03.52.0607.1008
    [000000.000129]
    dg4odbcpr 7F410A1D76F0 ENTER SQLAllocHandle
              SQLSMALLINT 1 (SQL_HANDLE_ENV)
              SQLHANDLE 0x0 (SQL_NULL_HANDLE)
              SQLHANDLE * 0x21d3038
    [000000.000187]
    dg4odbcpr 7F410A1D76F0 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 1 (SQL_HANDLE_ENV)
              SQLHANDLE 0x0 (SQL_NULL_HANDLE)
              SQLHANDLE * 0x21d3038 (0x21d0a50)
    [000000.000251]
    dg4odbcpr 7F410A1D76F0 ENTER SQLSetEnvAttr
              SQLHENV 0x21d0a50
              SQLINTEGER 200 (SQL_ATTR_ODBC_VERSION)
              SQLPOINTER 0x3
              SQLINTEGER * 4294967290 (SQL_IS_INTEGER)
    [000000.000320]
    dg4odbcpr 7F410A1D76F0 EXIT SQLSetEnvAttr with return code 0 (SQL_SUCCESS)
              SQLHENV 0x21d0a50
              SQLINTEGER 200 (SQL_ATTR_ODBC_VERSION)
              SQLPOINTER 0x3
              SQLINTEGER * 4294967290 (SQL_IS_INTEGER)
    [000000.000808]
    dg4odbcpr 7F410A1D76F0 ENTER SQLAllocHandle
              SQLSMALLINT 2 (SQL_HANDLE_DBC)
              SQLHANDLE 0x21d0a50
              SQLHANDLE * 0x21d3040
    [000000.000862]
    dg4odbcpr 7F410A1D76F0 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 2 (SQL_HANDLE_DBC)
              SQLHANDLE 0x21d0a50
              SQLHANDLE * 0x21d3040 (0x21ced40)
    [000000.000919]
    dg4odbcpr 7F410A1D76F0 ENTER SQLSetConnectAttr
              SQLHDBC 0x21ced40
              SQLINTEGER 102 (SQL_ATTR_AUTOCOMMIT)
              SQLPOINTER 0x0
              SQLINTEGER * 4294967291 (SQL_IS_UINTEGER)
    [000000.001002]
    dg4odbcpr 7F410A1D76F0 EXIT SQLSetConnectAttr with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLINTEGER 102 (SQL_ATTR_AUTOCOMMIT)
              SQLPOINTER 0x0
              SQLINTEGER * 4294967291 (SQL_IS_UINTEGER)
    [000000.001527]
    dg4odbcpr 7F410A1D76F0 ENTER SQLDriverConnect
              SQLHDBC 0x21ced40
              SQLPOINTER 0x0
              SQLCHAR * 0x21e6aa0
                        | DSN=clientPR;UID=SYSDBA;PWD=********* |
              SQLSMALLINT 37
              SQLCHAR * 0x21e75d8
              SQLSMALLINT 1024
              SQLSMALLINT * 0x7fff6f2f2c50
              SQLUSMALLINT 0 (SQL_DRIVER_NOPROMPT)
    [000000.283588]
    dg4odbcpr 7F410A1D76F0 EXIT SQLDriverConnect with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLPOINTER 0x0
              SQLCHAR * 0x21e6aa0
              SQLSMALLINT 37
              SQLCHAR * 0x21e75d8
                        | DSN=clientPR;Driver=Firebird/InterBase(r |
                        | ) driver;Dbname=10.1.216.3:clientPR;PWD= |
                        | *************** |
              SQLSMALLINT 1024
              SQLSMALLINT * 0x7fff6f2f2c50 (95)
              SQLUSMALLINT 0 (SQL_DRIVER_NOPROMPT)
    [000000.283840]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetFunctions
              SQLHDBC 0x21ced40
              SQLUSMALLINT 999 (SQL_API_ODBC3_ALL_FUNCTIONS)
    [000000.283908]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetFunctions with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 999 (SQL_API_ODBC3_ALL_FUNCTIONS)
              SQLUSMALLINT * 0x21d2db8
                        | SQL_API_SQLALLOCCONNECT |
                        | SQL_API_SQLALLOCENV |
                        | SQL_API_SQLALLOCSTMT |
                        | SQL_API_SQLBINDCOL |
                        | SQL_API_SQLCANCEL |
                        | SQL_API_SQLCOLATTRIBUTE |
                        | SQL_API_SQLCONNECT |
                        | SQL_API_SQLDESCRIBECOL |
                        | SQL_API_SQLDISCONNECT |
                        | SQL_API_SQLERROR |
                        | SQL_API_SQLEXECDIRECT |
                        | SQL_API_SQLEXECUTE |
                        | SQL_API_SQLFETCH |
                        | SQL_API_SQLFREECONNECT |
                        | SQL_API_SQLFREEENV |
                        | SQL_API_SQLFREESTMT |
                        | SQL_API_SQLGETCURSORNAME |
                        | SQL_API_SQLNUMRESULTCOLS |
                        | SQL_API_SQLPREPARE |
                        | SQL_API_SQLROWCOUNT |
                        | SQL_API_SQLSETCURSORNAME |
                        | SQL_API_SQLSETPARAM |
                        | SQL_API_SQLTRANSACT |
                        | SQL_API_SQLBULKOPERATIONS |
                        | SQL_API_SQLCOLUMNS |
                        | SQL_API_SQLDRIVERCONNECT |
                        | SQL_API_SQLGETCONNECTOPTION |
                        | SQL_API_SQLGETDATA |
                        | SQL_API_SQLGETFUNCTIONS |
                        | SQL_API_SQLGETINFO |
                        | SQL_API_SQLGETTYPEINFO |
                        | SQL_API_SQLPARAMDATA |
                        | SQL_API_SQLPUTDATA |
                        | SQL_API_SQLSETCONNECTOPTION |
                        | SQL_API_SQLSPECIALCOLUMNS |
                        | SQL_API_SQLSTATISTICS |
                        | SQL_API_SQLTABLES |
                        | SQL_API_SQLBROWSECONNECT |
                        | SQL_API_SQLCOLUMNPRIVILEGES |
                        | SQL_API_SQLDATASOURCES |
                        | SQL_API_SQLDESCRIBEPARAM |
                        | SQL_API_SQLEXTENDEDFETCH |
                        | SQL_API_SQLFOREIGNKEYS |
                        | SQL_API_SQLMORERESULTS |
                        | SQL_API_SQLNATIVESQL |
                        | SQL_API_SQLNUMPARAMS |
                        | SQL_API_SQLPRIMARYKEYS |
                        | SQL_API_SQLPROCEDURECOLUMNS |
                        | SQL_API_SQLPROCEDURES |
                        | SQL_API_SQLSETPOS |
                        | SQL_API_SQLSETSCROLLOPTIONS |
                        | SQL_API_SQLTABLEPRIVILEGES |
                        | SQL_API_SQLDRIVERS |
                        | SQL_API_SQLBINDPARAMETER |
    [000000.284594]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 6 (SQL_DRIVER_NAME)
              SQLPOINTER 0x7fff6f2f2950
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54
    [000000.284676]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 6 (SQL_DRIVER_NAME)
              SQLPOINTER 0x7fff6f2f2950
                        | Odb |
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54 (3)
    [000000.284759]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 7 (SQL_DRIVER_VER)
              SQLPOINTER 0x7fff6f2f2950
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54
    [000000.284827]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 7 (SQL_DRIVER_VER)
              SQLPOINTER 0x7fff6f2f2950
                        | 02.00 |
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54 (5)
    [000000.284916]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 17 (SQL_DBMS_NAME)
              SQLPOINTER 0x7fff6f2f2950
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54
    [000000.284985]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 17 (SQL_DBMS_NAME)
              SQLPOINTER 0x7fff6f2f2950
                        | Fire |
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54 (4)
    [000000.285063]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 18 (SQL_DBMS_VER)
              SQLPOINTER 0x7fff6f2f2950
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54
    [000000.285131]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 18 (SQL_DBMS_VER)
              SQLPOINTER 0x7fff6f2f2950
                        | 06.03.17910 WI-V Firebird 2.1 |
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54 (29)
    [000000.285264]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 10003 (SQL_CATALOG_NAME)
              SQLPOINTER 0x7fff6f2f2cb0
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2f40
    [000000.285338]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 10003 (SQL_CATALOG_NAME)
              SQLPOINTER 0x7fff6f2f2cb0
                        | Y |
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2f40 (1)
    [000000.285455]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 34 (SQL_MAX_CATALOG_NAME_LEN)
              SQLPOINTER 0x7fff6f2f2f3c
              SQLSMALLINT 2
              SQLSMALLINT * 0x0
    [000000.285521]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 34 (SQL_MAX_CATALOG_NAME_LEN)
              SQLPOINTER 0x7fff6f2f2f3c (0)
              SQLSMALLINT 2
              SQLSMALLINT * 0x0
    [000000.285609]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetConnectAttr
              SQLHDBC 0x21ced40
              SQLINTEGER 109 (SQL_ATTR_CURRENT_CATALOG)
              SQLPOINTER 0x21ed0b0
              SQLINTEGER * 4096
              SQLINTEGER * 0x21d3128
    [000000.285688]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetConnectAttr with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLINTEGER 109 (SQL_ATTR_CURRENT_CATALOG)
              SQLPOINTER 0x21ed0b0
              SQLINTEGER * 4096
              SQLINTEGER * 0x21d3128 (19)
    [000000.287915]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 91 (SQL_SCHEMA_USAGE)
              SQLPOINTER 0x7fff6f2f3024
              SQLSMALLINT 4
              SQLSMALLINT * 0x7fff6f2f3038
    [000000.288012]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 91 (SQL_SCHEMA_USAGE)
              SQLPOINTER 0x7fff6f2f3024 (0x0)
                        | SQL_SU_UNKNOWN |
              SQLSMALLINT 4
              SQLSMALLINT * 0x7fff6f2f3038 (4)
    [000000.288118]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 46 (SQL_TXN_CAPABLE)
              SQLPOINTER 0x21d369c
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3040
    [000000.288196]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 46 (SQL_TXN_CAPABLE)
              SQLPOINTER 0x21d369c (2)
                        | SQL_TC_ALL |
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3040 (2)
    [000000.288285]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 72 (SQL_TXN_ISOLATION_OPTION)
              SQLPOINTER 0x21d36a0
              SQLSMALLINT 4
              SQLSMALLINT * 0x7fff6f2f3040
    [000000.288362]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 72 (SQL_TXN_ISOLATION_OPTION)
              SQLPOINTER 0x21d36a0 (0xF)
                        | SQL_TXN_READ_UNCOMMITTED |
                        | SQL_TXN_READ_COMMITTED |
                        | SQL_TXN_REPEATABLE_READ |
                        | SQL_TXN_SERIALIZABLE |
              SQLSMALLINT 4
              SQLSMALLINT * 0x7fff6f2f3040 (4)
    [000000.288487]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 32 (SQL_MAX_SCHEMA_NAME_LEN)
              SQLPOINTER 0x7fff6f2f303c
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3038
    [000000.288564]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 32 (SQL_MAX_SCHEMA_NAME_LEN)
              SQLPOINTER 0x7fff6f2f303c (0)
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3038 (2)
    [000000.288654]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 35 (SQL_MAX_TABLE_NAME_LEN)
              SQLPOINTER 0x7fff6f2f303c
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3038
    [000000.288729]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 35 (SQL_MAX_TABLE_NAME_LEN)
              SQLPOINTER 0x7fff6f2f303c (31)
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3038 (2)
    [000000.288846]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 33 (SQL_MAX_PROCEDURE_NAME_LEN)
              SQLPOINTER 0x7fff6f2f303c
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3038
    [000000.288924]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 33 (SQL_MAX_PROCEDURE_NAME_LEN)
              SQLPOINTER 0x7fff6f2f303c (31)
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3038 (2)
    [000000.289031]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 29 (SQL_IDENTIFIER_QUOTE_CHAR)
              SQLPOINTER 0x7fff6f2f2d70
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f3038
    [000000.289133]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 29 (SQL_IDENTIFIER_QUOTE_CHAR)
              SQLPOINTER 0x7fff6f2f2d70
                        | " |
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f3038 (1)
    [000000.289243]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 87 (SQL_COLUMN_ALIAS)
              SQLPOINTER 0x7fff6f2f2d70
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f3038
    [000000.289326]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 87 (SQL_COLUMN_ALIAS)
              SQLPOINTER 0x7fff6f2f2d70
                        | Y |
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f3038 (1)
    [000000.289439]
    dg4odbcpr 7F410A1D76F0 ENTER SQLAllocHandle
              SQLSMALLINT 3 (SQL_HANDLE_STMT)
              SQLHANDLE 0x21ced40
              SQLHANDLE * 0x21d3050
    [000000.289564]
    dg4odbcpr 7F410A1D76F0 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 3 (SQL_HANDLE_STMT)
              SQLHANDLE 0x21ced40
              SQLHANDLE * 0x21d3050 (0x21ee140)
    [000000.289624]
    dg4odbcpr 7F410A1D76F0 ENTER SQLBindCol
              SQLHSTMT 0x21ee140
              SQLUSMALLINT 1
              SQLSMALLINT 1 (SQL_C_CHAR)
              SQLPOINTER 0x7fff6f2f2ce0
              SQLLEN 120
              SQLLEN * 0x7fff6f2f2fc8
    [000000.289725]
    dg4odbcpr 7F410A1D76F0 EXIT SQLBindCol with return code 0 (SQL_SUCCESS)
              SQLHSTMT 0x21ee140
              SQLUSMALLINT 1
              SQLSMALLINT 1 (SQL_C_CHAR)
              SQLPOINTER 0x7fff6f2f2ce0
              SQLLEN 120
              SQLLEN * 0x7fff6f2f2fc8 (0)
    [000000.289812]
    dg4odbcpr 7F410A1D76F0 ENTER SQLBindCol
              SQLHSTMT 0x21ee140
              SQLUSMALLINT 3
              SQLSMALLINT -16 (SQL_C_SLONG)
              SQLPOINTER 0x7fff6f2f3020
              SQLLEN 0
              SQLLEN * 0x7fff6f2f2fb8
    [000000.289897]
    dg4odbcpr 7F410A1D76F0 EXIT SQLBindCol with return code 0 (SQL_SUCCESS)
              SQLHSTMT 0x21ee140
              SQLUSMALLINT 3
              SQLSMALLINT -16 (SQL_C_SLONG)
              SQLPOINTER 0x7fff6f2f3020
              SQLLEN 0
              SQLLEN * 0x7fff6f2f2fb8 (0)
    [000000.289982]
    dg4odbcpr 7F410A1D76F0 ENTER SQLBindCol
              SQLHSTMT 0x21ee140
              SQLUSMALLINT 10
              SQLSMALLINT -15 (SQL_C_SSHORT)
              SQLPOINTER 0x7fff6f2f3034
              SQLLEN 0
              SQLLEN * 0x7fff6f2f2fc0
    [000000.290067]
    dg4odbcpr 7F410A1D76F0 EXIT SQLBindCol with return code 0 (SQL_SUCCESS)
              SQLHSTMT 0x21ee140
              SQLUSMALLINT 10
              SQLSMALLINT -15 (SQL_C_SSHORT)
              SQLPOINTER 0x7fff6f2f3034
              SQLLEN 0
              SQLLEN * 0x7fff6f2f2fc0 (0)
    [000000.290179]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetTypeInfo
              SQLHSTMT 0x21ee140
              SQLSMALLINT 12 (SQL_VARCHAR)
    [000000.290353]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetTypeInfo with return code 0 (SQL_SUCCESS)
              SQLHSTMT 0x21ee140
              SQLSMALLINT 12 (SQL_VARCHAR)
    [000000.290406]
    dg4odbcpr 7F410A1D76F0 ENTER SQLFetch
              SQLHSTMT 0x21ee140

  • Cant query 2+ LONGS via ODBC 8.1.71

    Running a query against two or more tables will not display correctly when selecting a Long Text field in each table.
    The data only is displayed incorrectly, no specific errors are thrown. For instance on first character of the 2nd column will display.
    It has something to do with the fact that for HP-UX we must check the "force retrieval of longs" under the Workaround tab in the ODBC configuration. The use of blobs may also be a factor.
    From my testing I know that the problem resides at the ODBC layer, other methods of connecting to the DB prove to work fine displaying the same query.
    Any suggestions?

    I think you're better off trying to find some JDBC drivers for Firebird.  CF & Hibernate are both Java apps, and will expect to use JDBC for connectivity.  Using ODBC on Java is a bit of a hack.
    CF does not have built-in support for Firebird for its Hibernate integration (supported DBs listed here: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSED380324-6CBE-47cb-9E5E-26B66ACA9E 81.html), so you'll need to configure it manually (how?  Don't know, but look @ the Hibernate website: https://www.hibernate.org/80.html, and the CF9 docs).
    As to why you're seeing discrepancies between JDBC, RDS and Hibernate... they're three different systems.  Making A DSN just requires a JDBC connection, and basically passes the SQL statements through the driver to the DB.  I have no idea how RDS works, but it's probably just doing something with JDBC as well.  Hibernate is a vastly complex application that sits on top of JDBC, and needs to generate an awful lot of very DB-platform specific code.  So it needs to know exactly what DB its talking to.  Simply "JDBC" is not sufficient.
    Adam

  • SQLite, Firebird or SQL compact

    Hi All,
       I'm trying to replace an existing applications use of text and excel files for data storage with an embedded database model.  I've narrowed it down to 3:  Sqlite, Firebird, and Microsofts SQL Compact.  
    For simplicity i like sqlite, but i'd like some thread safety, and concurrency.
      My biggest hang up in trying to finalize my decision, is that in the future i'll want to query another database (i.e query a customer's remote database to retrieve employee passwords) or allow another database to insert or query my tables to retrieve operational data.  My google-fu is strong, but I have yet to see examples or read documentation that specifically mentions whether this is possible.  What's the correct terminology?  I've seen discussions about linked databases (pros and cons), as well as cross database queries, but never a definitive "Yes, i did this... and it worked".  It could be so commonly done that noone mentions it, and i'm just retarded. :-/   
    If i adopt Firebird, will a customer with SQL Server just be able to use an odbc connection to interact with my database?  It's got to be a simple thing, i'm just missing it.
    Please help me put this monkey to rest.

    NI has a design pattern solution for SQLLite that even works on their CompactRIO RT controller hardware to use SQLLite from within LabVIEW. And http://www.ch-werner.de/sqliteodbc/ shows an ODBC driver for SQLLite. There are of course problems since the ODC driver contains the actual SQLLite engine and accesses the database file. So remote access through ODBC seems not trivial, though you could of course share the database file over the network and access it through an ODBC driver installed on a different computer. This probably still leaves the difficulty how to deal with concurrent access to the database file if your client tries to query the database file at the same time as your application has it open to write or query data from it.
    Firebird also has an ODBC driver: http://www.firebirdsql.org/index.php?op=files&id=o​dbc. Firebird seems to either have a filebased access model that does allow concurrent access to the same database as well as a so called super server mode, where a service process controls access to the database file(s) and access is done through network communication to this service process. Not sure if the ODBC driver supports the super server mode transparently but if it does this would be a very easy solution to have your application use the database to store date and allow your clients to query the database from other computers directly.
    Microsoft SQL Compact I'm not sure. If this is what was before the SQL Server Desktop Edition, then it is basically a full featured SQL Server installation with the database size limitation to 2GB. This would certainly work also with remote access through ODBC and/or ADO .Net. But if you have ODBC drivers for your database you can basically access it through ADO ActiveX or ADO .Net as well and it doesn't even have to be slower if the driver and interface are done well.
    Message Edited by rolfk on 03-23-2010 09:15 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Connect a Firebird database to Oracle XE?

    Hi.
    A customer of mine uses a Firebird database for one on his systems. I need to set up a connection to this database. There is an ODBC driver for the firebird so I can get ODBC to work.
    My first question:
    Can I set up Heterogeneous Connectivity in an Oracle Express?

    I've already answered the very same question you asked: you can.
    Take a look at this guide
    http://www.easysoft.com/applications/oracle/hsodbc.html

  • Hibernate Sequence & Firebird

    I am using a Firebird DB with the following Table structure:
    TABLE ROS_SOURCE_REPORTDBMAP_1
    ID INTEGER NOT NULL (Primary Key)
    SOURCE_REPORT VARCHAR (255)
    SOURCE_DATABASE VARCHAR (255)
    IS_ACTIVE INTEGER
    I am trying to add rows to this table with the ID column incramenting on every insert using the following Hibernate mapping file:
    <hibernate-mapping>
    <class name="rms.utility.db.local.ROS_Source" table="ROS_SOURCE_REPORTDBMAP">
    <id name="id">
    <generator class="sequence">
    <param name="sequence">ROS_COUNT</param>
    </generator>
    </id>
    <property name="source_report"/>
    <property name="source_database"/>
    <property name="is_active" type="java.lang.Integer"/>
    </class>
    </hibernate-mapping>
    The problem is that the application resets the sequence variable in the database to 1 everytime it is ran. When I attempt to insert two records the ID values are 1 and 2 respectively. And if I go to the Database and run:
    select gen_id( ROS_COUNT, 0 ) from RDB$DATABASE
    after the application runs 2 is return which means that it resets then incraments the value every time. This happens even if I set ROS_COUNT to a larger number before running the app.
    my java Code looks like so:
    createEvent("Test5", "test5", true);
    createEvent("Test4", "", true);
    private void createEvent(String srcRpt, String srcDB, boolean active) {
    Transaction tx = null;
    SessionFactory activeSessions = InitSessionFactory.getInstance();
    Session session = activeSessions.getCurrentSession();
    ROS_Source source = new ROS_Source(srcRpt,srcDB,active);
    try{
    tx = session.beginTransaction();
    session.save(source);
    tx.commit();
    activeSessions.close();
    catch (HibernateException e) {
    e.printStackTrace();
    if (tx != null && tx.isActive())
    tx.rollback();
    with InitSessionFactory being a custom function I wrote to manage the SessionFactory.
    How do I get it to continue counting from the last position or keep accurate count of ROS_COUNT?

    I think you're better off trying to find some JDBC drivers for Firebird.  CF & Hibernate are both Java apps, and will expect to use JDBC for connectivity.  Using ODBC on Java is a bit of a hack.
    CF does not have built-in support for Firebird for its Hibernate integration (supported DBs listed here: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSED380324-6CBE-47cb-9E5E-26B66ACA9E 81.html), so you'll need to configure it manually (how?  Don't know, but look @ the Hibernate website: https://www.hibernate.org/80.html, and the CF9 docs).
    As to why you're seeing discrepancies between JDBC, RDS and Hibernate... they're three different systems.  Making A DSN just requires a JDBC connection, and basically passes the SQL statements through the driver to the DB.  I have no idea how RDS works, but it's probably just doing something with JDBC as well.  Hibernate is a vastly complex application that sits on top of JDBC, and needs to generate an awful lot of very DB-platform specific code.  So it needs to know exactly what DB its talking to.  Simply "JDBC" is not sufficient.
    Adam

  • ODBC Auto Connection

    Hi ,
    I have a question about the ODBC Connection.
    As you know in order to use an Access data base you need to create a user DSN that will make the data base connection....
    When I'm making a CVI software and later build a distribution of my soft I want to do the connection automatically in the install any idea's how can I do that ?
    Kobi Kalif
    Software Engineer

    Hi,
    There is function SQLConfigDataSource , but i do not have any experience with this function.
    Instead i use SQLDriverConnect which do not use DSN name but connection string.
    Example for FireBird Conection string:
    "Driver={Firebird/InterBase(r) driver};Uid=UserName;Pwd=Password;DbName=c:\path\d​atabase.fdb";
    good list of connection string is on http://www.connectionstrings.com/
    i hope this help

  • Hi, i am trying to open and view a report that comes from another server with different odbc connection

    hi, i am trying to open and view a report that comes from another server with different odbc connection
    i created a crystal report for a mysql database on my machine and everything works great
    but we have other reports that come from other machines with different odbc connection
    and this its not working when opens the report asks for credentials
    and i cannot use the remote ip for these reports that come from other machine
    question
    if i cannot connect to remote ip to open the report
    for each report i have to create a database the report database on my machine and then open the report ?
    or there is some other way to open the report ?
    i am using visual studio 2013 and mysql and
       <add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
    thanks

    short
    i have a report that it was created on another server with a specific dsn
    now i am trying to open the report on my machine
    the database from the other server does not exist on my machine
    the server machine where the report was created the ip its not accessible
    question ?
    can i open the report on my machine or its impossible ?
    thanks

  • Excel-2007 cannot connect to Oracle ODBC data source, Control Panel can.

    <p>
    I cannot make an ODBC connection from Exce-2007 to Oracle work. I am an expert Excel and VBA user (since 1994) and I have frequently used Excel to access ODBC databases, including Oracle (I have done this with Excel-2003 both with worksheet queries and have written VBA ADO-connection routines). And even though in Excel-2007 a worksheet ODBC query is supposed to be easier to create than in previous version of Excel, my connection fails. Any suggestions and all help are welcome and much appreciated.
    DETAILS
    </p>
    <p>
    1) <strong>What is my system?</strong> I am using Excel-2007 on Windows Vista x64 and Oracle server v.11g on my computer (all this is on my computer, no network issues).
    2)<strong> Why use Excel with Oracle at all?</strong> I use Excel-2007 to access Oracle rather than Access-2007 (or any other application like TOAD, etc.) because I do engineering calculations with the data stored in Oracle. These calculations are easier done in Excel (I suppose that one alternative to this could be to use some sql or Access to get the data from the database, then store it as plain vanilla CSV file, then open this file in Excel, then do the math (the math involves complex optimisation algorithms), then save the results as CSV, then use some sql or Access to put the data back into the database. Howwever this does not strike me as a quick or neat solution. And after all Excel has been designed to access ODBC databases, so why not use it?)
    3) <strong>What do I do in Excel-2007 that won't work?</strong> I create an ODBC link to Oracle that does not work. In Excel-2007 this is straightforward:
    </p>
    <ul>
         <li>define an ODBC connection (Data tab --&gt; From other sources --&gt; From data connection wizard);</li>
         <li>define a query on the worksheet -- that's it, this is all!</li>
    </ul>
    <p>
    I start with creating an ODBC connection:
    a) I choose an ODBC data source type: <strong><em>ODBC DSN</em></strong>
    b) Excel-2007 displays the list of the available ODBC data sources. I see in it <strong><em>my Oracle database name</em></strong> and I select it.
    c) Excel-2007 displays the Data Link Properties:
    - the "Provider" has a list of the OLE DB drivers with preselected "<strong><em>Microsoft OLE DB Provider for ODBC Drivers</em></strong>". I keep this default selection.
    - the "Connection" tab has a connection string "<strong><em>DSN=&lt;my database name&gt;</em></strong>" which I keep, it also has fields for the <strong><em>user name</em></strong> and the <strong><em>password</em></strong>, which I fill with the correct credentials.
    - Finally there is a button "Test Connection", which when I click produces the following error message:
    <strong><font color="#ff0000">"Test connection failed because of an error in initializing provider.</font></strong><strong><br />
    </strong><strong><font color="#ff0000">Unespecified error"</font></strong><strong>
    </strong>
    4) <strong>Additional food for thought:</strong>
    a) In the above walk-through the only data, which I type, are the user name and password, everything else is selected from lists offered by Excel-2007, hence any possibility of typos being the cause of the problem can safely be discarded.
    b) I can test the ODBC driver in the Control Panel and it shows that it can connect to the Oracle database:
    - in <strong><em>Control Panel --&gt; Admin Tools --&gt; Data Sources (ODBC)</em></strong> on the "User DSN" tab I can see the list of the available ODBC data sources (same list as in Excel-2007, point 3b above) with the name of my database in it;
    - selecting the name of my database from the list of the sources and clicking "Configure" button opens a tab with <strong><em>Data Source Name</em></strong> (same as in Excel-2007), TNS Service Name and User ID. I enter <strong><em>&lt;user name&gt;/&lt;password&gt;</em></strong> and click "Test Connection" button. A message "<strong><em>Connection successful</em></strong>" appears (just for a test I enter <u>incorrect user credentials</u> and "<strong><em>Unable to connect</em></strong>" message appears)
    BOTTOM LINE
    </p>
    <p>
    The procedure for using an ODBC connection from Excel is very simple, in the past I have created and used such connections numerous times with Excel-2003 and earlier on Win-XP and earlier. But now on Excel-2007 and Vista-x64 I cannot make it work.
    Also, testing an ODBC connection driver is really easy and simple to be done in the Control Panel. There testing the same ODBC connection, which fails in Excel-2007, results in success.
    I am frustrated by the simplicity of the problem and yet the persistant error. I have lost now two full days in failed attempts to make the simple procedure work and in searching the internet for answers.
    All help is highly appreciated <img class="emoticon" src="images/emoticons/happy.gif" border="0" alt="" width="16" height="16" />,
    Plamen
    </p>

    Did you find the solution to your problem?
    If not, I think I may know.
    Excel 2007 is a 32-bit application.
    When installing 32-bit applications in a 64-bit environment, the "default" location is:
    C:\Program files (x86)\...
    Excel then launches from this location.
    However, when it connects to Oracle and passes the name of the calling program, Oracle attempts to "interpret" the value of (x86) as if
    the value within the parenthesis are being passed as a reference. Of course, iOracle doesn't find anything, so the result is (),
    and then it cannot return the connection info back to the calling application.
    I corrected it by installing Excel in C:\Program Files\, and once launched from that location, it works the same as on the 32-bit machines.
    However, at my location, they are FORCING Excel to be installed in the(x86) location.
    What I'm trying to discover now is:
    Is it possible to flag Oracle to NOT process the embedded variables?
    Or, is it possible to assign a variable in Oracle such that x86 = "(x86)", so that the end result is viable?
    Have you had any luck with your installation?
    thanks,
    Paul

  • 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.
    Fabrizio

    Hi 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

  • Windows Vista ODBC install failure error 126

    I'm attempting to set up ODBC connections using Client 10.2.0.3 in Windows Vista 32-bit as administrator, following instructions in MetaLink Note 415166.1. I'm not successful and get error code 126. I've found similar complaints on web searches, but cannot resolve this. Can someone help?
    A pop-up box reads:
    "Errors found:
    Could not load the setup or translator library."
    In DNS data source list, "Oracle in Oracle10g_Home" shows SQORA32.dll dated 11/16/2006.
    In regedit, HKLM\software\ODBC\ODBCINST.INI\Oracle in Oracle10g_Home lists the driver as C:\oracle\10g\SQORA32.dll. I checked, and it's there. Setup is C:\oracle\10g\SQORA32s.dll. It's also there.
    The service names exist in net manager, and connection tests work fine. Thanks in advance for any offers of help.

    Try to copy in the instantclient's directory mfc71.dll and msvcr71.dll.
    I'm not sure if both are required, but it worked for me.I tried your suggestion but got the same result. This time I can provide more details on the message. The dialog box is titled SQORAS32.DLL and the message is "An unsupported operation was attempted."
    I had to click the dialog 3 times, then the Oracle ODBC Driver Configuration dialog opened on the workarounds tab. The drop-down box for the TNS service name works. Clicking the tabs for Application, Oracle, or SQL Server Migration all pop up the same SQORA32.DLL error dialog with the vague message.
    Thanks, anyway.

  • Query update on each iteration problem (MS SQL Sever / ODBC / Native Driver

    Hello,
    I�ve been working to learn some Java and now JDBC over the past 10 or so months.
    I think I have a general understanding of how to perform queries and work with data using JDBC. However, I�ve run into a problem. I�m trying to do a query of a set of data in a database based on the value of a status column. I want to loop over the messages and perform various functions with the data then update their status in the database. It�s preferable to do these 250 to 1000 rows at a time, but no more and no less.
    I�m connecting to MS SQL Server 2000, currently with ODBC. I�ve also tried it with the Java SQL Server 2000 drivers provided by Microsoft with the same results.
    I�ve found that I can do a one table query and loop though it with a while (rs.next()) {�} and run an Update statement with executeUpdate on each iteration without any problems, no matter the number of rows returned in query.
    I have not been able to use the updateString and updateRow inside the while loop. I keep getting errors like this at the line with the updateRow():
    Exception in thread "main" java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Row update failed.
    This occurs no mater how many rows I select, 1 or more.
    The real problem I�ve been having is that the query I need to loop though joins across several tables and returns some rows from some of those tables. This only seems to work when I query for 38 or less selected rows and I use an Update statement with executeUpdate on each iteration. The updateString and updateRow methods never work. Any number of rows selected greater than 38 causes a deadlock where the Update is waiting for the select to compete on the server and the Update can�t proceed until the Select is complete.
    As I stated above I�ve tried both ODBC and the native SQL Server driver with the same results. I have not tried any other databases, but that�s moot as my data is already in MS SQL.
    Questions:
    How can I avoid or get around this 38 row limit without selecting each row, one at a time?
    What am I doing wrong with the updateString and updateRow?
    Is there a better approach that anyone can suggest?
    Here�s some sample code with the problem:
    import java.sql.*;
    public class db1{
         public static void main(String[] args) throws Exception{
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              String url = "jdbc:odbc:eBrochure_live";
              Connection con = DriverManager.getConnection(url, "sa", "d3v3l0p");
              Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
              Connection con = DriverManager.getConnection("jdbc:microsoft:sqlserver://dcm613u2\\dcm613u2_dev:1433", "sa", "d3v3l0p");
              Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
              Statement stmt2 = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
              stmt.executeUpdate("USE [myDatabase]");
              stmt2.executeUpdate("USE [myDatabase]");
              String qGetMessages = "SELECT TOP 250 t1.messageUUID, t1.subjectHeader, t2.emailAddress as toAddress " +
              "FROM APP_Messages as t1 JOIN APP_addressBook_contacts as t2 " +
              "     On t1.toContactID = t2.contactID " +
              "WHERE t1.statusID = 'queued'";
              ResultSet rs = stmt.executeQuery(qGetMessages);
              while (rs.next()) {
                   String messageUUID = rs.getString("messageUUID");
                   String subjectHeader = rs.getString("subjectHeader");
                   System.out.println(messageUUID + " " + subjectHeader);
                   String updateString = "UPDATE APP_Messages " +
                        "SET statusID = 'sent' " +
                        "WHERE messageUUID = '" + messageUUID + "' ";
                   stmt2.executeUpdate(updateString);
              con.close();
    Thanks for the help,
    Doug Hughes

    // sorry, ps.close() should be outside of if condition
    String sql = "UPDATE APP_Messages SET statusID = 'sent' WHERE messageUUID = ?";
    Statement statement = con.createStatement();
    PreparedStatement ps = con.prepareStatement(sql);
    ResultSet rs = statement.executeQuery("your select SQL");
    if ( rs.next() )
    ps.clearParameters();
    ps.setString(1, rs.getString("your column name"));
    ps.executeUpdate();
    ps.close();
    rs.close();
    statement.close();

  • Cannot perform a clean install of CF 10 - ODBC Agent and ODBC Server are not in Services - Win2k8 R2

    I've tried to perform a clean install on a Win2k8 R2 x64 server several times and I can't seem to get it to install.
    I was upgrading from CF 9, which took several attempts. I eventually got CF 10 working and running with the latest updates. But the server would only run for about 15 minutes and everything would come to a screaching hault. ColdFusion pages would fail to load with no error. The pages would hang and wait for the server to respond, which it never did. Restarting IIS would fix the problem.
    I have about 20 CF sites on the machine. I came accross an article that talked about pool sizes, etc. I ended up trying a few things with the Web Server Configuration Tool, and as I was adding/deleting servers, I got an error that some application unexpectedly quit, but it wasn't the wsconfig tool. This happened about 3 times as I was deleting servers that I had previously added. Then I tried loading the CF Admin and I got a 500.0 internal server error.
    So I bit the bullet and figured I would start all over again. I uninstalled CF 10... now there's nothing on the machine. Re-installed CF 10, and I get the same 500.0 Internal Server Error. I uninstalled, restarted, installed... same thing. Then I found an error in the event viewer that reads:
    The description for Event ID 0 from source ColdFusion 10 ODBC Server cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    ColdFusion 10 ODBC Server error: 0
    StartServiceCtrlDispatcher Error!
    Then I found out that neither the ColdFusion 10 ODBC Agent or the ColdFusion 10 ODBC Server have been installed... at least they're not showing up in the list of services. msconfig also shows that they don't exist at all. I tried reinstalling several times and I can't get them to show up.
    PS: It's 6:15 AM and I've been working on this since 10 PM last night. I NEED HELP! Thanks!

    Hello,
    Once you move your application from any prior version of ColdFusion to ColdFusion 10, you will have to tune your application, as the architecture changed from JRun to Tomcat.
    You can refer to the article http://blogs.coldfusion.com/post.cfm/tuning-coldfusion-10-iis-connector-configuration for parameters, that needs to be tuned appropriately to make CF connector works flawlessly.
    Hope this helps
    Regards,
    Anit Kumar

  • Linker Error during compiling ODBC WinCE C++_Sample Project

    I am devloping a ODBC application for PocketPC2003 using OLite 10g Release 10.3.0.2. before that i am understanding the sample application provided with Olite.
    I followed all the instructions provided in ReadMe.txt file available before using VC++ sample. After making all the settings and compiling i am getting following linker errors as mentioned below.
    Any solution for this problem at the earliest will be appreciated, i have tried link all the libraries provided with WinCE armv4.
    Linker Error Messages:
    Error     1     error LNK2019: unresolved external symbol SQLExecDirect referenced in function "public: virtual __cdecl CSQLResult::~CSQLResult(void)" (??1CSQLResult@@UAA@XZ)     dbaccess.obj     
    Error     2     error LNK2019: unresolved external symbol SQLFreeStmt referenced in function "public: virtual __cdecl CSQLResult::~CSQLResult(void)" (??1CSQLResult@@UAA@XZ)     dbaccess.obj     
    Error     3     error LNK2019: unresolved external symbol SQLGetData referenced in function "public: class CRowObj const * __cdecl CSQLResult::Fetch(int)" (?Fetch@CSQLResult@@QAAPBVCRowObj@@H@Z)     dbaccess.obj     
    Error     4     error LNK2019: unresolved external symbol SQLFetch referenced in function "public: class CRowObj const * __cdecl CSQLResult::Fetch(int)" (?Fetch@CSQLResult@@QAAPBVCRowObj@@H@Z)     dbaccess.obj     
    Error     5     error LNK2019: unresolved external symbol SQLFreeEnv referenced in function "public: void __cdecl COLiteDB::Disconnect(void)" (?Disconnect@COLiteDB@@QAAXXZ)     dbaccess.obj     
    Error     6     error LNK2019: unresolved external symbol SQLFreeConnect referenced in function "public: void __cdecl COLiteDB::Disconnect(void)" (?Disconnect@COLiteDB@@QAAXXZ)     dbaccess.obj     
    Error     7     error LNK2019: unresolved external symbol SQLDisconnect referenced in function "public: void __cdecl COLiteDB::Disconnect(void)" (?Disconnect@COLiteDB@@QAAXXZ)     dbaccess.obj     
    Error     8     error LNK2019: unresolved external symbol SQLConnect referenced in function "public: int __cdecl COLiteDB::Connect(void)" (?Connect@COLiteDB@@QAAHXZ)     dbaccess.obj     
    Error     9     error LNK2019: unresolved external symbol SQLAllocConnect referenced in function "public: int __cdecl COLiteDB::Connect(void)" (?Connect@COLiteDB@@QAAHXZ)     dbaccess.obj     
    Error     10     error LNK2019: unresolved external symbol SQLAllocEnv referenced in function "public: int __cdecl COLiteDB::Connect(void)" (?Connect@COLiteDB@@QAAHXZ)     dbaccess.obj     
    Error     11     error LNK2019: unresolved external symbol SQLError referenced in function "public: class CSQLResult * __cdecl COLiteDB::Execute(wchar_t const *)" (?Execute@COLiteDB@@QAAPAVCSQLResult@@PB_W@Z)     dbaccess.obj     
    Error     12     error LNK2019: unresolved external symbol SQLDescribeCol referenced in function "public: class CSQLResult * __cdecl COLiteDB::Execute(wchar_t const *)" (?Execute@COLiteDB@@QAAPAVCSQLResult@@PB_W@Z)     dbaccess.obj     
    Error     13     error LNK2019: unresolved external symbol SQLNumResultCols referenced in function "public: class CSQLResult * __cdecl COLiteDB::Execute(wchar_t const *)" (?Execute@COLiteDB@@QAAPAVCSQLResult@@PB_W@Z)     dbaccess.obj     
    Error     14     error LNK2019: unresolved external symbol SQLAllocStmt referenced in function "public: class CSQLResult * __cdecl COLiteDB::Execute(wchar_t const *)" (?Execute@COLiteDB@@QAAPAVCSQLResult@@PB_W@Z)     dbaccess.obj

    Hi,
    The OLITE forum (Database Mobile Server (inc. legacy Database Lite) would be a better place to post your issue. This forum deals with the ODBC driver that connects to a "normal" Oracle database.
    Hope it helps,
    Greg
    Edited by: gdarling on Nov 12, 2008 8:31 AM

Maybe you are looking for