EIS Error: ODBC Error driver's SQLAllochandle on SQL_HANDLE_ENV failed
HI guys,
I had Oracle 10g(Run time Client) installed, but to create a catalog i need to create an ODBC connection first so I went ahead and tried to do it but i didnt find the ODBC driver for 10g so I installed Oracle 11g(Run time Client) over 10g. Then, I created a ODBC DSN and tried to create OLAP catalog using the ODBC DSN but it says the following error.
ODBC Error driver's SQLAllochandle on SQL_HANDLE_ENV failed
I researched a bit and found that its an environment variable issue so uninstalled the Oracle 10g, now I've got only 11g but still the same error.
When I test the connection while creating the DSN it says Connection Successfull, its only on EIS front I am getting this error
Can any of you plz help me out of this error.
Thanks!!!!
Edited by: mjunaid on Oct 7, 2009 2:26 PM
Edited by: mjunaid on Oct 7, 2009 2:27 PM
Plz someone help me with this guys.
It throws this error when i use Oracle 10g driver for ODBC. When i used an alternate odbc connection with MERANT for Oracle the EIS got stuck and the aplication doesn't respond.
Edited by: mjunaid on Oct 8, 2009 8:28 AM
Similar Messages
-
Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
I have an excel file which would connect to an Oracle database and run queries. It was working fine somet times back until i uninstalled/reintalled the oracle client. I have windows 7 running oracle client 11gR2. Below are the errors i am getting.
"The Orale(tm) client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3 (or greater) client installation."
"Error - 2147467259: [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed."
I have double check the path variable and the ORACLE_HOME.Can someone help?
-
SQLAllocHandle on SQL_HANDLE_ENV failed - JDBC-ODBC Error
Hai,
i am connecting the Oracle 8i by using the JDBC-ODBC Driver. When i get connection by using the DriverManager, it throws the following Error.
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
Please advise me
Thanks in Advance
Regards
sankarjune14Respected Sir/Madam,
i am connecting the Oracle 8i by using the JDBC-ODBC
Driver. When i get connection by using the
DriverManager, it throws the following Error.
Driver's SQLAllocHandle on SQL_HANDLE_ENV failed.
the dsn name already created succeesfully. then also i am
getting this run time error
plz give me a solution. -
Driver's SQLAllocHandle on SQL_HANDLE_ENV error, but nothing fixes it
Unable to connect
SQLState=IM004
[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV
failed
That is the error I am receiving in ODBC manager when i try to test my connection. I can resolve it by giving the user local admin rights. This tells me it is obviously a permissions issue. Here is what I have tried and has failed:
1) I tried giving Authenticated Users Read, Read & Execute, applied to the WHOLE oracle home directory and restarted. Still has the same issue.
2) I checked the PATH and ORACLE_HOME environment variables and all are set right.
3) Using the universal installer's environment TAB I unchecked my only home hit apply, rechecked it, hit apply then rebooted. This resets the environment vairables and so forth.
4) Went to the BIN directory for Oracle and individually checked each DLL's security (took forever) and ensured I had rights.
5) I even tried giving EVERYONE read, read & execute as well.
6) Using FileMon and Regmon I looked for Access Denied or other errors when trying to test the connection. Nothing showed up.
This is a real problem because these users CAN NOT have local admin rights, so that is not an option. Anyone have any ideas?I vaguely remember running into similar issue, can you folks try the following and reply back if this solved the problem so that I can make a note
SQLSetEnvAttr (henv, SQL_ATTR_ODBC_VERSION, (void *) SQL_OV_ODBC3, SQL_IS_INTEGER); -
Driver's SQLAllocHandle on SQL_HANDLE_ENV
why some times oracle and DSN give error
"[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed"
Listener work fine and other thing work fine
but still give this error
and when i restart it again work fine for few days
and same problme aina after 2-4 days
what is the reason ?
plz helpHi,
TNS_ADMIN is one thing and PATH is another one.
TNS_ADMIN is a variable which specified where your TNSNAMES.ORA would be read to find and solve the alias name to connect to the Oracle database.
PATH is important to find the right libraries to use correctly the Oracle ODBC driver.
That's why the ORACLE_HOME where the ODBC libraries are installed must be specified at first position in PATH.
Even if you have multiple ORACLE_HOMEs, you must use the one where libraries match with the version of ODBC driver you want to use.
So it can be different from the TNS_ADMIN, that doesn't mind.
Regards,
Mireille -
SQLAllocHandle on SQL_HANDLE_ENV failed-2147467259
I have installed oracle 9.2.01.0 on win2k advanced server. I have an asp which was working fine, all of a sudden i started getting error "[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed-2147467259", i reckon this would be due to some changes in settings. I downloaded ora9202.exe to updated odbc drivers, with no result. I tried uninstalling oracle,win2k and reinstalling the same, nothing has helped so far.
Add info: I have an entry in System DSN with Microsoft Odbc for Oracle Driver, am able to connect to oracle with sql plus. please help.Configuration has not changed since things were working earlier, i reckon that some changes in settings have some effect on this(am sorry i don't remember what were the changes in settings, am sure changes in settings were not related to odbc).
Now i changed to Oracle in Orahome92 driver, now i get message 'Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).-2147467259'
My asp calls an ini which has entry
MAIN=DRIVER=Oracle in OraHome92;UID=qlm;PWD=qlm;server=demi;
Prior, while using Microsoft odbc for oracle, ini entry was, MAIN=DRIVER=Microsoft ODBC for Oracle;UID=qlm;PWD=qlm;SERVER=demi; -
UnixODBC: Driver's SQLAllocHandle on SQL_HANDLE_HENV failed
I have installed the instant client and am now getting the following error:
unixODBC: Driver's SQLAllocHandle on SQL_HANDLE_HENV failed
I googled a lot but could not find a solution. Could there be something wrong with my ENV variables?
/etc/odbcinst.ini holds:
[Oracle 10g ODBC driver]
Description = Oracle ODBC driver for Oracle 10g
Driver = /presto/instantclient_10_2/libsqora.so.10.1I looked in Oracle Metalink and there is Bug 5700995 that might or might not be what you experience:
Problem statement:
ORACLE_HOME WITH TRAILING SLASH CRASHES UNIXODBC
They report the exact same error message that you get.
There is no patch yet.
Does your ORACLE_HOME end with a slash? If yes, try without!
Yours,
Laurenz Albe -
Hi,
I have installed ODBC driver to connect to MS SQL databas (2008) from oracle database 11gr1 on linux 64-bit. I have downloaded and installed
as per the instructions on microsoft website:
microsoft.com/en-us/download/details.aspx?id=28160
Afte this i have configured the DG4ODBC following note ID 561033.1. Below are the details of the files i have edited to configure.
Listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME=DG4ODBC)
(ORACLE_HOME=/u01/oracle/fakieh/db/tech_st/11.1.0)
(ENV="LD_LIBRARY_PATH=/usr/lib64:/u01/oracle/fakieh/db/tech_st/11.1.0/lib")
(PROGRAM=dg4odbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = testdb.domain.com ) (PORT = 1511))
tnsnames.ora:
DG4ODBC=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST= testdb.domain.com )(PORT=1511))
(CONNECT_DATA=(SID=DG4ODBC))
(HS=OK)
initDG4ODBC.ora ($ORACLE_HOME/hs/admin)
# HS init parameters
HS_FDS_CONNECT_INFO = mssql
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
# ODBC specific environment variables
set ODBCINI=/home/oracle/odbc.ini
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
odbc.ini
[ODBC Data Sources]
mssql=MS SQL Server
[mssql]
Driver=/usr/lib64/libodbc.so
Database=FAKIH_ToTestInt
LogonID=user
Password=passwd
Address=SJSQLV01.domain.com
QuotedId=YES
AnsiNPW=YES
HS_FDS_SUPPORT_STATISTICS=FALSE
[ODBC]
IANAAppCodePage=4
Trace=0
UseCursorLib=0
UseCursorLib=0
Tnsping is successful, but when i try to connect the remote db it give me below message.
SQL> select * from "systables"@mssqltest;
select * from "systables"@mssqltest
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed
ORA-02063: preceding 2 lines from MSSQLTEST
please suggest how to resolve this.Hi Kgronau,
Again i received below error:
SQL> select * from "emptest"@mssqltest;
ERROR:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Microsoft][SQL Server Native Client 11.0]String data, right
truncation[Microsoft][SQL Server Native Client 11.0]String data, right
truncation
ORA-02063: preceding 2 lines from MSSQLTEST
no rows selected
Trace file:
Oracle Corporation --- FRIDAY DEC 07 2012 16:36:01.648
Heterogeneous Agent Release
11.1.0.7.0
Oracle Corporation --- FRIDAY DEC 07 2012 16:36:01.648
Version 11.1.0.7.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
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 "AL32UTF8"
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
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
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 "DG4ODBC"
Product-Info:
Port Rls/Upd:7/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:DG4ODBC
Exiting hgogprd, rc=0
hostmstr: 0: HOA After hoagprd
hostmstr: 0: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=560
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=560
HOCXU_SEM_VER=110000
Entered hgolofn at 2012/12/07-16:36:01
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so"
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLAllocHandle
symbol_peflctx=0xaaafa2f0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLBindCol
symbol_peflctx=0xaaafa430
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLBindParameter
symbol_peflctx=0xaaafac10
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLCancel
symbol_peflctx=0xaaafbe40
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLDescribeParam
symbol_peflctx=0xaab03c30
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLDisconnect
symbol_peflctx=0xaab04070
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLEndTran
symbol_peflctx=0xaab06870
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLExecute
symbol_peflctx=0xaab07ee0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLFetch
symbol_peflctx=0xaab08650
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLFreeHandle
symbol_peflctx=0xaab0a0e0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLFreeStmt
symbol_peflctx=0xaab0a100
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetData
symbol_peflctx=0xaab0b6e0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetEnvAttr
symbol_peflctx=0xaab0e810
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetFunctions
symbol_peflctx=0xaab0eb80
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLMoreResults
symbol_peflctx=0xaab105b0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLNumResultCols
symbol_peflctx=0xaab11110
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLParamData
symbol_peflctx=0xaab11410
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLPutData
symbol_peflctx=0xaab131b0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLRowCount
symbol_peflctx=0xaab135d0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLSetEnvAttr
symbol_peflctx=0xaab154e0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLSetDescRec
symbol_peflctx=0xaab152c0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLColAttribute
symbol_peflctx=0xaaafc6d0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLColumns
symbol_peflctx=0xaaafdf80
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLConnect
symbol_peflctx=0xaab017b0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLDescribeCol
symbol_peflctx=0xaab03500
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLDriverConnect
symbol_peflctx=0xaab04b40
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLExecDirect
symbol_peflctx=0xaab07990
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLForeignKeys
symbol_peflctx=0xaab08f20
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetConnectAttr
symbol_peflctx=0xaab0a430
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetDiagField
symbol_peflctx=0xaab0d490
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetDiagRec
symbol_peflctx=0xaab0e090
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetInfo
symbol_peflctx=0xaab0f570
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetStmtAttr
symbol_peflctx=0xaab0f810
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetTypeInfo
symbol_peflctx=0xaab10210
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLPrepare
symbol_peflctx=0xaab11b60
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLPrimaryKeys
symbol_peflctx=0xaab12040
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLProcedureColumns
symbol_peflctx=0xaab125f0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLProcedures
symbol_peflctx=0xaab12c40
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLSetConnectAttr
symbol_peflctx=0xaab13870
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLSetStmtAttr
symbol_peflctx=0xaab16830
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLSetDescField
symbol_peflctx=0xaab14f40
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLStatistics
symbol_peflctx=0xaab180d0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLTables
symbol_peflctx=0xaab18d40
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Exiting hgolofn, rc=0 at 2012/12/07-16:36:01
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 2012/12/07-16:36:01
hostmstr: 0: HOA After hoainit
hostmstr: 0: HOA Before hoalgon
Entered hgolgon at 2012/12/07-16:36:01
reco:0, name:OracleUser, tflag:0
Entered hgosuec at 2012/12/07-16:36:01
Exiting hgosuec, rc=0 at 2012/12/07-16:36:01
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 OracleUser as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2012/12/07-16:36:01
HS_FDS_CONNECT_INFO = "mssql"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2012/12/07-16:36:01
dsn:mssql, name:OracleUser
optn:
##>Connect Parameters (len=38)<##
## DSN=mssql;
#! UID=OracleUser;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2012/12/07-16:36:01
DriverName:libsqlncli-11.0.so.1790.0, DriverVer:11.00.1790
DBMS Name:Microsoft SQL Server, DBMS Version:10.50.1617
Exiting hgocont, rc=0 at 2012/12/07-16:36:01
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 128 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoalgon
hostmstr: 0: RPC Before Upload Caps
hostmstr: 0: HOA Before hoaulcp
Entered hgoulcp at 2012/12/07-16:36:01
Entered hgowlst at 2012/12/07-16:36:01
Exiting hgowlst, rc=0 at 2012/12/07-16:36:01
SQLGetInfo returns " for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
3 instance capabilities will be uploaded
capno:1989, context:0x00000000, add-info: 0
capno:1991, context:0x0001ffff, add-info: 0
capno:1992, context:0x0001ffff, add-info: 0
Exiting hgoulcp, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoaulcp
hostmstr: 0: RPC After Upload Caps
hostmstr: 0: RPC Before Upload DDTR
hostmstr: 0: HOA Before hoauldt
Entered hgouldt at 2012/12/07-16:36:01
0 instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoauldt
hostmstr: 0: RPC After Upload DDTR
hostmstr: 0: RPC Before Begin Trans
hostmstr: 0: HOA Before hoabegn
Entered hgobegn at 2012/12/07-16:36:01
tflag:0 , initial:1
hoi:0xc8b24548, ttid (len 42) is ...
00: 46544553 542E4641 4B494548 47524F55 [FTEST.FAKIEHGROU]
10: 502E434F 4D2E6365 63356661 38322E38 [P.COM.cec5fa82.8]
20: 2E32342E 32343030 3532 [.24.240052]
tbid (len 39) is ...
00: 46544553 542E4641 4B494548 47524F55 [FTEST.FAKIEHGROU]
10: 502E434F 4D5B382E 32342E32 34303035 [P.COM[8.24.24005]
20: 325D5B31 2E345D [2][1.4]]
TXN Capable:2, Isolation Option:0x2f
Exiting hgobegn, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoabegn
hostmstr: 0: RPC After Begin Trans
hostmstr: 0: RPC Before Describe Table
hostmstr: 0: HOA Before hoadtab
Entered hgodtab at 2012/12/07-16:36:01
count:1
table: emptest
Entered hgopdsc at 2012/12/07-16:36:01
Describing procedure OracleUser.emptest
Output hoada
hgopdsc, line 1298: NO hoada to print
Exiting hgopdsc, rc=942 at 2012/12/07-16:36:01
The hoada for table emptest follows...
hgodtab, line 651: NO hoada to print
Exiting hgodtab, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoadtab
hostmstr: 0: RPC After Describe Table
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2012/12/07-16:36:01
type:0
SQL text from hgopars, id=1, len=23 ...
00: 53454C45 4354202A 2046524F 4D202265 [SELECT * FROM "e]
10: 6D707465 737422 [mptest"]
Exiting hgopars, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoxpars
hostmstr: 0: RPC After SQL Bundling
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoxopen
Entered hgoopen, cursor id 1 at 2012/12/07-16:36:01
hgoopen, line 83: NO hoada to print
Exiting hgoopen, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoxopen
hostmstr: 0: HOA Before hoxdscr
Entered hgodscr, cursor id 1 at 2012/12/07-16:36:01
Entered hgopcda at 2012/12/07-16:36:01
Column:1(empnumber): dtype:-8 (WCHAR), prc/scl:10/0, nullbl:1, octet:20, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
Entered hgopcda at 2012/12/07-16:36:01
Column:2(empname): dtype:-8 (WCHAR), prc/scl:10/0, nullbl:1, octet:20, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
Entered hgopcda at 2012/12/07-16:36:01
Column:3(telephone): dtype:2 (NUMERIC), prc/scl:18/0, nullbl:1, octet:20, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
hgodscr, line 506: Printing hoada @ 0x9c29d38
MAX:3, ACTUAL:3, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR Y 20 20 128/ 10 873 0 40 empnumber
1 CHAR Y 20 20 128/ 10 873 0 40 empname
3 DECIMAL Y 20 20 18/ 0 0 0 0 telephone
Exiting hgodscr, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoxdscr
hostmstr: 0: RPC After SQL Bundling
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoxclse
Entered hgoclse, cursor id 1 at 2012/12/07-16:36:01
Exiting hgoclse, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoxclse
hostmstr: 0: HOA Before hoadafr
Entered hgodafr, cursor id 1 at 2012/12/07-16:36:01
Exiting hgodafr, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoadafr
hostmstr: 0: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2012/12/07-16:36:01
type:0
SQL text from hgopars, id=1, len=67 ...
00: 53454C45 43542041 312E2265 6D706E75 [SELECT A1."empnu]
10: 6D626572 222C4131 2E22656D 706E616D [mber",A1."empnam]
20: 65222C41 312E2274 656C6570 686F6E65 [e",A1."telephone]
30: 22204652 4F4D2022 656D7074 65737422 [" FROM "emptest"]
40: 204131 [ A1]
Exiting hgopars, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoxpars
hostmstr: 0: HOA Before hoxopen
Entered hgoopen, cursor id 1 at 2012/12/07-16:36:01
hgoopen, line 83: NO hoada to print
Exiting hgoopen, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoxopen
hostmstr: 0: HOA Before hoxdscr
Entered hgodscr, cursor id 1 at 2012/12/07-16:36:01
Entered hgopcda at 2012/12/07-16:36:01
Column:1(empnumber): dtype:-8 (WCHAR), prc/scl:10/0, nullbl:1, octet:20, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
Entered hgopcda at 2012/12/07-16:36:01
Column:2(empname): dtype:-8 (WCHAR), prc/scl:10/0, nullbl:1, octet:20, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
Entered hgopcda at 2012/12/07-16:36:01
Column:3(telephone): dtype:2 (NUMERIC), prc/scl:18/0, nullbl:1, octet:20, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
hgodscr, line 506: Printing hoada @ 0x9c29d38
MAX:3, ACTUAL:3, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR Y 20 20 128/ 10 873 0 40 empnumber
1 CHAR Y 20 20 128/ 10 873 0 40 empname
3 DECIMAL Y 20 20 18/ 0 0 0 0 telephone
Exiting hgodscr, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoxdscr
hostmstr: 0: RPC After SQL Bundling
hostmstr: 0: RPC Before Fetch Row
hostmstr: 0: HOA Before hoaftch
Entered hgoftch, cursor id 1 at 2012/12/07-16:36:01
hgoftch, line 117: Printing hoada @ 0x9c29d38
MAX:3, ACTUAL:3, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR Y 20 20 128/ 10 873 0 40 empnumber
1 CHAR Y 20 20 128/ 10 873 0 40 empname
3 DECIMAL Y 20 20 18/ 0 0 0 0 telephone
SQLBindCol: column 1, cdatatype: -8, bflsz: 21
SQLBindCol: column 2, cdatatype: -8, bflsz: 21
SQLBindCol: column 3, cdatatype: 1, bflsz: 20
Entered hgopoer at 2012/12/07-16:36:01
hgopoer, line 159: got native error 0 and sqlstate 01004; message follows...
[Microsoft][SQL Server Native Client 11.0]String data, right truncation[Microsoft][SQL Server Native Client 11.0]String data, right truncation
Exiting hgopoer, rc=0 at 2012/12/07-16:36:01
hgoftch, line 699: calling SQLGetData got sqlstate 01004
1 rows fetched
Exiting hgoftch, rc=28500 at 2012/12/07-16:36:01 with error ptr FILE:hgoftch.c LINE:699 FUNCTION:hgoftch() ID:Row error while doing array fetch
hostmstr: 0: HOA After hoaftch
hostmstr: 0: RPC After Fetch Row
hostmstr: 0: RPC Before Commit Trans
hostmstr: 0: HOA Before hoxclse
Entered hgoclse, cursor id 1 at 2012/12/07-16:36:06
Exiting hgoclse, rc=0 at 2012/12/07-16:36:06
hostmstr: 0: HOA After hoxclse
hostmstr: 0: HOA Before hoadafr
Entered hgodafr, cursor id 1 at 2012/12/07-16:36:06
Exiting hgodafr, rc=0 at 2012/12/07-16:36:06
hostmstr: 0: HOA After hoadafr
hostmstr: 0: HOA Before hoacomm
Entered hgocomm at 2012/12/07-16:36:06
keepinfo:0, tflag:1
00: 46544553 542E4641 4B494548 47524F55 [FTEST.FAKIEHGROU]
10: 502E434F 4D2E6365 63356661 38322E38 [P.COM.cec5fa82.8]
20: 2E32342E 32343030 3532 [.24.240052]
tbid (len 39) is ...
00: 46544553 542E4641 4B494548 47524F55 [FTEST.FAKIEHGROU]
10: 502E434F 4D5B382E 32342E32 34303035 [P.COM[8.24.24005]
20: 325D5B31 2E345D [2][1.4]]
cmt(0):
Entered hgocpctx at 2012/12/07-16:36:06
Exiting hgocpctx, rc=0 at 2012/12/07-16:36:06
Exiting hgocomm, rc=0 at 2012/12/07-16:36:06
hostmstr: 0: HOA After hoacomm
hostmstr: 0: RPC After Commit Trans
hostmstr: 0: RPC Before Logoff
hostmstr: 0: HOA Before hoalgof
Entered hgolgof at 2012/12/07-16:36:06
tflag:1
Exiting hgolgof, rc=0 at 2012/12/07-16:36:06
hostmstr: 0: HOA After hoalgof
hostmstr: 0: RPC After Logoff
hostmstr: 0: RPC Before Exit Agent
hostmstr: 0: HOA Before hoaexit
Entered hgoexit at 2012/12/07-16:36:06
Exiting hgoexit, rc=0 at 2012/12/07-16:36:06
hostmstr: 0: HOA After hoaexit
hostmstr: 0: RPC After Exit Agent
This is just an additional information that this oracle database is E-business database and "FTEST" is the SID.
Thank You. -
Hello,
I'm getting an error when trying to set up an ODBC data source. I just installed the ODBC driver 9.2.0.54. When I test the connection, I first get an error that says:
The procedure entry point lxhlcmod could not be located in the dynamic link library oranls9.dll.
Then I get the same error again. The next message box says:
Unable to connect
SQLState=IM004
[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
I would be most appreciative of any light someone could shed on this!
Thank you, and happy new year,
Owen GibbinsOracle Objects for OLE Contents / Search /
Contents
Introducing Oracle Objects for OLE
Overview of Oracle Objects for OLE
About the OO4O Automation Server
About Oracle Data Control
About Oracle Objects for OLE C++ Class Library
New Features of Oracle Objects for OLE
Tips and Techniques for Performance Tuning
Requirements
Required Setups
OO4O Redistributable Files
Demonstration Schema and Code Examples
Getting Started with the OO4O Automation Server
Basics of Client Applications
Accessing the OO4O Automation Server
Connecting to the Oracle Database
Detection of Lost Connections
Automation Objects
PL/SQL Support
Executing Commands
Asynchronous Processing
XML Data Interchange
Initializing Oracle LOBs, Objects, and Collections
Large Objects (LOBs)
Oracle Object Datatypes
Oracle Collections
Advanced Queueing Interfaces
Database Schema Objects
Application Failover Notifications
Database Events
Using OO4O with Automation Clients
Overview
With Visual Basic
With Excel
With Active Server Pages (ASP)
Oracle Data Control with Visual Basic
Oracle Data Control with MS VC++
OO4O Code Wizard for Stored Procedures
About the Code Wizard
Supported Datatypes
Using the OO4O Code Wizard
Code Wizard Examples
OO4O Automation Server Reference
Objects
Methods
Properties
Oracle Data Control Reference
Events
Methods
Properties
Troubleshooting
Error Handling
Troubleshooting
http://download-west.oracle.com/docs/cd/B10501_01/win.920/a95895/toc.htm
In general way the information above can help you.
Joel P�rez -
I am getting the following error when trying to create a DSN on ODBC
Unable to Connect
SQLState=IM004
error:[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed.
I have installed Oracle 9i on my PC
O/s = Win 2000 Professional
I am able to connect to the database using Enterprise Manager and SQL*Plus and perform any operation.
the only problem is while trying to connect through ODBC
Does anyone else face similar problem and was able to solve it? Please help.Hi Kevin
One item that can cause this error is not having the ORACLE_HOME bin directory in your Windows OS path.
Open a command prompt and type either PATH or SET to see if the directory is included. Adjust as required
Another user also replied to a similar problem:
I also had this same problem with Oracle 10g. I resolved it by placing Oracle_Home Bin directory first before any other Oracle directory path in the Windows Environment variable Path.
Please follow the following steps:
1.Right Click on My Computer and Click Properties.
2.Navigate to Advanced Tab and click Environment variables.
3.Under the System Variables List select the "Path" variable and click the Edit Button.
On my system I changed the Path variable FROM
E:\Oracle10OWB\bin;E:\Oracle10\bin;c:\Program Files\Oracle\bin;%SystemRoot%\system32;%SystemRoot% ;%SystemRoot%\System32\Wbem;C:\Program Files\Intel\DMIX
TO
E:\Oracle10\bin;E:\Oracle10OWB\bin;c:\Program Files\Oracle\bin;%SystemRoot%\system32;%SystemRoot% ;%SystemRoot%\System32\Wbem;C:\Program Files\Intel\DMIX
This worked for me (I have Oracle 10g).
Please check the following links:
http://www.orafaq.com/forum/t/24005/0/
and
http://www.orafaq.com/msgboard/windows/messages/2015.htm
I hope this helps
Regards
Chen -
SQLAllocHandle on SQL_HANDLE_DBC failed {IM005}
Trying to configure Lotus Notes ODBC driver (NotesSQL) with DG4ODBC 11gr2.
The database from which I initiate a Select statement is 10g, and I receive an error message : SQLAllocHandle on SQL_HANDLE_DBC failed {IM005}
Here is an extract of the Trace file :
Entered hgopoer at 2010/11/11-15:18:06
hgopoer, line 233: got native error 0 and sqlstate IM005; message follows...
[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC failed {IM005}
Exiting hgopoer, rc=0 at 2010/11/11-15:18:06
hgocont, line 2753: calling SqlDriverConnect got sqlstate IM005
Exiting hgocont, rc=28500 at 2010/11/11-15:18:06 with error ptr FILE:hgocont.c LINE:2773 ID:Something other than invalid authorization
Exiting hgolgon, rc=28500 at 2010/11/11-15:18:06 with error ptr FILE:hgolgon.c LINE:781 ID:Calling hgocont
Entered hgoexit at 2010/11/11-15:18:06
Exiting hgoexit, rc=0Looks like you are calling it on a windows platform. Could you please provide an ODBC trace file?
ODBC tracing is enabled in the MS ODBC Admin -> Trace and here please make sure to enable MACHINE WIDE TRACING. The Log for DG4ODBC is commonly found in Windows/temp and it is called sql.log.
Also please post your gateway config file. -
Datetime field overflow ODBC error using EIS 11.1.2.2
Hi
I have EPM 11.1.2.2 installed on Windows 7 64bit. I am using EIS to create a Essbase cube. The installation comes with DataDirect 6.1 Oracle Wire Protocol ODBC driver which I have used to create a DSN for the metadata catalog (driver - C:\Oracle\Middleware\EPMSystem11R1\Common\ODBC-64\Merant\6.1\Drivers\ARORA25.dll). I created the OLAP model successfully but while saving the OLAP meta outline I get an error:
+Error -28616: ODBC Error [DataDirect][ODBC Oracle Wire Protocol driver] Datetime field overflow. Error in parameter 5.+
Any idea how to get rid of this error? Any workarounds?
Regards,
VinayVinay,
Set the connection option "TimestampTruncationBehavior" to 1. This should be placed either in the connection string, the data source listed in the odbc.ini file (for UNIX), or in the data source listed in the registry (Windows)".
Hope it helps....
KosuruS -
Hi All,
when i add setAutoCommit(false),
i got run error [Microsoft][ODBC Excel Driver]Optional feature not implemented.
i just want to insert data into excel using db.
can anyone give suggestion??
here my code:
public void insertDatabase( ){
String rule = "fty";
double weight = 0.245;
try{
String sql = "INSERT INTO [Sheet2$] ( Rule, Weight ) " +
"VALUES ( '"+ rule +"', '" + weight + "' )";
int row = myStatement.executeUpdate(sql);
myConnect.setAutoCommit(false);
myResultSetPapar = myStatement.executeQuery("Select * from [Sheet2$]");
catch(SQLException e){
System.out.println(e.getMessage());
}//catch
}is it true that my driver does not supported??
my MS Excel version 2002
and driver vers. 4.0 -
Dear experts,
I'm trying to create an universe linked to an Excel File.
I've created the ODBc connection and the DNS Data Source and inserted the table (table name RAC$) in the Universe. however, when I try to map each table field in the universe's Objects I'm getting this error message:
"Exception: DBD, [ODBC Excel Driver] Syntax error in FROM clause.State:37000".
I've tried to rename the table, inserting square brackects and also add new parameters to the universe («Transactional Available = "Yes"» and «Delimited Identifier = "Yes"») but still no solution to my problem.
Any advice, tip or trick?
Thank you. My best regards.
Inês SantosHi Ines,
Thanks for sharing how you resolved this! I will bookmark this so that I can find it when I will likely need it!
Bill
Sorry I don't know how to make the accent circumflex! Or is that what you call it? On top of the e?
Edited by: wavery on Jun 11, 2010 12:07 AM
Edited by: wavery on Jun 11, 2010 12:09 AM -
Hi,
I am getting the above error when trying to connect to a database located on remote database. if the database is on same system no problem.
any clue???????pls help me.The full error msg is as follows and the back ground of the problem is decribed below...pls help me out.
I have written some perl programs to be called by java to execute some database related tasks. My database located at a remote win2K server and database is MSSql and my programs are executing on WIN2k server. The problem is with perl talking to remote database...the following error is displaying...
"ODBC Error= [17] [] "[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied."
Maybe you are looking for
-
I saved some files to the desktop a few days ago, when I switched on my mac the files had disappeared. Tried to locate them using find and spotlight but it looks like they have vanished altogether! Also I can't save anything to the desktop (when I tr
-
BPEL Integration with Mainframes
HI I am integrating BPEL with mainframes which would generate a cobol copy book using an FTP adapter at a particular location in mainframe (NTACF.ICCMH.IC100810.IC19.TRANS<+1>).i am encountering a problem as when bpel is trying to create a file it's
-
How can i unlock i phone, i using it in pakistan?
dear how i unlock the i phone 4, i am using it in pakistan
-
Slight problem with video playback
Hi all, I have a slight issue with the right hand side of my 20" iMac when using frontrow. Playing back DVDs is fine, good quality but when I try to playback a Movie that I have on the HD it has a white flickering line down the right hand side, its o
-
Revision: 5325 Author: [email protected] Date: 2009-03-16 09:52:42 -0700 (Mon, 16 Mar 2009) Log Message: * Restricting FxContainer and it's subclass FxApplication to IVisualElements at compile time. tests Passed: checkintests Needs QA: YES Needs DOC: