ASP connection to Oracle using MS ODBC Driver fails

I have a Win2000 server with ORCL9.2 client and MDAC2.7 and the following code fails (last line gives the error):
set dbConn = Server.CreateObject("ADODB.Connection")
set rsSeq = server.CreateObject("ADODB.Recordset")
sSql = "Select count(*) From bs_table"
dbConn.Open "DSN=tp10;UID=aaa;PWD=aaa;"
The error text is :
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC driver for Oracle][Oracle]Error while trying to retrieve text for error ORA-01019
This code works fine with Oracle 8i client on the server, I really appreciate if any one can help me out here.
Thanks

Can you try with the Oracle ODBC driver, rather than the Microsoft ODBC driver for Oracle? Microsoft's driver still uses the old Oracle 7 OCI calls, which are no longer supported on an Oracle 9.2 client.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Connect to oracle using jdba thin driver

    i want to use jdbc thin driver to connect to oracle 8i for linux intel.
    my code is:
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    String dbURL = "jdbc:oracle:thin:@dbserver:1521:iasdb";
    Connection con = DriverManager.getConnection(dbURL,"scott","tiger");
    but an error is reported as "the network adapter can not establish connection".
    why?
    i can connect to oracle using JDBC-ODBC bridge successfully.

    i want to use jdbc thin driver to connect to oracle 8i for linux intel.
    my code is:
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    String dbURL = "jdbc:oracle:thin:@dbserver:1521:iasdb";
    Connection con = DriverManager.getConnection(dbURL,"scott","tiger");
    but an error is reported as "the network adapter can not establish connection".
    why?
    i can connect to oracle using JDBC-ODBC bridge successfully.

  • How to connect Sql Server 2000 using JDBC ODBC Driver

    How to connect Sql Server 2000 using JDBC ODBC Driver ?
    plz Send Syntax.
    thanks

    In SQL Server 2000 the driver class is com.microsoft.jdbc.sqlserver.SQLServerDriver
    The connection URL for the default SQL Server 2000 database is jdbc:sqlserver://localhost:1433
    Class.forName(
      "com.microsoft.sqlserver.jdbc.
      SQLServerDriver");
    String url =
      "jdbc:sqlserver://localhost:1433";
    Connection conn = DriverManager.
      getConnection(
      url, "sa", "sqlserver");

  • How to connect to oracle using type4 driver in JSP

    i want code to connet to oracle using type 4 driver in JSP

    i want code to connet to oracle using type 4 driver in JSP

  • Incorrect version of oracle server or odbc driver

    Hi friends,
              I am using oracle database 11g ,i like to connect oracle database with my sage ERP accpac 5.6 , i connect with sage it show me the error "incorrect version of oracle server or odbc driver or odbc driver manager"
    please anyone help me
    Thanks

    It appears the problem was that I had J2EE 1.4.2 and actually required J2SDK 1.4.2 i.e. the Standard edition rather than the Enterprise edition. Even though there are exactly the same files in the 'bin' directory in both versions. The installation now works.
    Mark

  • Oracle in instantclient_11_2 ODBC driver error 14001

    Hi there,
    I've tried to set up an Oracle ODBC Instant Client driver and I get this error:
    "The setup routines for the Oracle in instantclient_11_2 ODBC driver could not be loaded to system error code 14001
    "Errors found
    "Could not load the setup or translator library
    My Configuration is :
    - ESX 5.0
    - Virtual machine Windows 2008 64 bits (created originally under ESX 4.1)
    - VMTools activated
    - Oracle 11gR2 64 bits (11.2.0.1.0)
    - Instant Client: instantclient-basic-nt-11.2.0.2.0.zip + instantclient-odbc-nt-11.2.0.2.0.zip
    Path is :
    C:\Oracle\instantclient\instantclient_11_2;C:\Oracle\product\11.2.0\dbhome_1;C:\Oracle\product\11.2.0\dbhome_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%systemroot%\system32\inetsrv;%systemroot%\system32\inetsrv
    What can be done to rectify this?

    Hi,
    I had exactly the same problem with a comparable system configuration, but with the x86-64 packages (you tried to use the 32bit instant client due to the file names you mentioned).
    Somewhere in the depths of the WWW I got the hint that the solution is to use the instant client V 11.2.0.1.0.
    So I downloaded the older version and everything worked fine...
    Also rememeber to set the TNS_ADMIN environment variable to the path of your "instantclient_11_2" directory and edit a tnsnames.ora file in that directory or else you won't be able to open a connection...
    Good luck and best regards
    Sebastian

  • How can I open an AS400 connection w/o using the ODBC in the Control Panel

    Hi.
    Is it possible that i manipulate the ODBC settings in Windows NT using Java?
    I've been using the Client Access ODBC Driver (32 bit) of IBM to connect to AS400 database. Normally i would just configure my DSN and input the default library inside the Server tab that i would be using . All was working perfectly. But i was informed that the default library would vary depending on the data inputed in the library database.
    As in, in our SQL Server they have there a tbl_library where in lib_type is one of it's field. This(lib_type) is where they can specify which library my program would be opening. So in this case, I can't just manually configure my DSN library when retrieving data from AS400 because it would always vary.
    Thank you very much for your time.
    -marlin
    ps.
    Btw, i am doing a servlet for this connectivity.

    If you use the JDBC driver that's included in the AS/400 Toolbox for Java you don't need to use ODBC at all, you can access the AS/400 directly. See this link:
    http://www-1.ibm.com/servers/eserver/iseries/toolbox/

  • Oracle 9i Lite ODBC driver issues

    Does the 9i Lite driver support a concept of username and password when getting a connection?
    With the Oracle 8i Personal ODBC driver, we are doing this, and then if we give a query like 'SELECT CASE_ID FROM CASE_AX', it works; but with the Lite driver, it expects the query to be 'SELECT CASE_ID FROM AXAPG2USER.CASE_AX'. Can we somehow avoid giving the schema name when referring to tables? (This is actually not a big problem, but we would still like to know if there is a way.)

    Are you logging in as AXAPG2USER? Generally, Oracle assumes that non-qualified table names are in the current user's schema. If you want to expose tables in one user's schema to another user without having to qualify the table name, you'll want to create a synonym in the second user's schema that resolves to the table in the first user's schema.
    Justin

  • Connecting to Oracle using JDBC

    Hi all,
    I am a new to Oracle. I am trying to connect to Oracle using JDBC
    The URL with which I tried to connect was:
    jdbc:oracle:oci8:@myServiceName,user='myLogin',password='myPassword'
    I get an error (ORA-12154)
    - TNS could not resolve service name
    When I use the same userid, password and service and connect thru' SQL*Plus it goes thru'. Is there any parameter which I am missing. Can anyone throw some light on this. I am held up with this issue badly.
    Thanks for all your help and time.
    Regards,
    Latha

    Hi Latha,
    Please try to use thin and add port number.
    m_conn = DriverManager.getConnection("jdbc:oracle:thin:@" + hostURL + ":" + port + ":" + database, user, password);
    Hong
    null

  • Can not connect to Oracle using ASP, but i can connect  to VB6.0

    i have installed ODAC 11.2.0.2.1(latest version) and i m trying to connect to Oracle 11G server
    So no vb programs are worked so i have installed oracle 11g client and vb programs are all started to work,
    but when i try to connect it using asp. i m getting the following error.pls help me
    Error Type:
    OraOLEDB (0x80004005)
    ORA-12154: TNS:could not resolve the connect identifier specified
    conn.asp, line 12
    on line 12, i did this,
    Conn221.Open ConnString221
    but my original connection code is
    ConnString221 = "Provider=OraOLEDB.Oracle;Password=newbie;User ID=newchips;Data Source=HIS241;PersistSecurity Info=True;PLSQLRSet=1"
    Conn221.Open ConnString221
    but the same piece of code is working in my friend PC,she installed only 8i Client and this is working perfectly...

    Please Double check your database name...
    Regards,
    Raghu

  • Unable to connect to oracle using type4 driver

    hi
         I was trying to connect to oracle Database using type 4 thin drivers on win98.
         I downloaded the driver from oracle site and also downloaded some more drivers
         from other sites.While connecting to data base I ran into problems I am working
         for about two days on this thing but couldn't succeed.
         I get the following message:
              Connection refused ...........
         The driver is succefully loaded but when it tries to connect using
         conn = DriverManager.getConnection("jdbc:oracle:thin:@server:1521:orcl","userid","password");
         it gives the above message.
         now I think that I am giving the host name incorrect I couldn't find
         any way in oracle to figure out the host name.
         I am giving
                   "jdbc:oracle:thin:@127.0.0.1:1521:orcl"
              I have also tried other options for host name like localhost etc.but it
         didn't resolve.I think that the listener for oracle is not listening at the port 1521.
         I tried telnet to check that but it failed to connect at this port.I tried to do this
         with mysql to connect at port 3306 using telnet it succeeded.
              Second thing is that I tried to create a service name in oracle using TCP/IP protocol
         giving the above mentioned host names at all the attempts it gave the error that it has performed
         an illegal operation .
              I think that there are some settings needed for oracle to listen at this port which
         I dont know or I am giving the host name wrong . I shall be extremely thankful if u help
         me to solve this problem.
                                       Regards
                                                 shAhzad      

    It has been a long time since I tried to run Oracle on Win98 (or Win95) for that matter, but I don't believe that there is a listener in the traditional sense since you would be using Personal Oracle. Your first step should be to make sure you can login to Oracle using the standard client and SQLPLUS. You could then use TNSPING to see if the listener is listening (you will need to setup TNSNAMES.ORA properly but you can use the Net8 Assistant or whatever). Next I would suggest you try using the OCI client instead of the thin client.
    If you can, it would be much better to install Oracle on an NT, Win2K, or Linux machine. Oracle on Win98 is not really the same thing.

  • ASP connection to Oracle

    I have a database on Oracle 8i Database server. An application developed in VB 6 accesses the database through Microsoft ODBC driver for Oracle. The application is installed on a PC which also has Oracle 8i client installed on it. The same PC (Win2000 Server on NTFS) is also acting as an intranet web server. The web application developed in ASP also accesses the database using the same ODBC DSN connection. Unfortunately when I try to access the data using ASP (vbScript) web access I get the following error:
    Error Type:
    Microsoft OLE DB provider for ODBC Drivers (0x80004005)
    [Microsoft][ODBC driver for Oracle][Oracle]ORA-12640;
    Authentication adapter initialization failed
    I can access the database using SQL Plus, Visual Interdev data connection as well as using Dreamweaver besides through the application developed in VB.
    I tried using the same application on a Win2K Professional PC on FAT32 with IIS 5 installed and it works there.
    Please help.

    Can you try with the Oracle ODBC driver, rather than the Microsoft ODBC driver for Oracle? Microsoft's driver still uses the old Oracle 7 OCI calls, which are no longer supported on an Oracle 9.2 client.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • DG4ODBC (11.2 g) on LINUX 64bit using FreeTDS ODBC Driver Manager

    Hi,
    I got a problem to connect via dg4odbc using usind database link. Below I've listed all my configuration files + dg4odbc trace output.
    This is what I've already done:
    1. Configured FreeTDS with odbc (see below)
    2. I did some test using odbc.ini using isql,tsql and all were succeed :)
    3. Configured three files initMSSQL.ora, listener and tnsnames
    4. tnsping tns_entry also was succeed (HS=OK)
    But when I created public dblink (CREATE PUBLIC DATABASE LINK hslink CONNECT TO "dbuser" IDENTIFIED BY "dbpassword" using 'my_tns entry') i cannot use it becouse it shows me errors listed in dg4odbc file.
    Please see my configuration and help me tu figure out what I could done wrong or missmatch something !!!!!!!!!!!!
    DATABASE INFO:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    Heterogeneous Agent Release 11.2.0.1.0 - 64bit Production Built with
    Oracle Database Gateway for ODBC
    **********typical freetds.conf, odbc.ini, odbcinst.ini configuration*********
    /etc/freetds/freetds.conf
    # Microsoft server
    [SQLSERVER]
    host = my_host_ip
    port = 593377
    tds version = 7.0
    /etc# cat odbc.ini
    [MSSQL]
    Driver = FreeTDS
    Description = ODBC connection via FreeTDS
    Trace = No
    Servername = SQLSERVER
    Language =
    Database = mydb_name
    User = mydb_user
    Password = mydb_passwd
    Logging = 0
    LogFile =
    QuotedId = Yes
    AnsiNPW = Yes
    /etc# cat odbcinst.ini
    [FreeTDS]
    Description = TDS driver (Sybase/MS SQL)
    Driver = /usr/lib/odbc/libtdsodbc.so
    Setup = /usr/lib/odbc/libtdsS.so
    CPTimeout =
    CPReuse =
    FileUsage = 1
    *****Configuration init[SID].ora, listener.ora, tnsnames.ora*****
    /u01/app/oracle/product/11.2.0/dbhome_1/hs/admin$ cat initMSSQL.ora
    # is a sample agent init file containing the HS parameters that
    # are needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = MSSQL
    HS_FDS_SHAREABLE_NAME = /usr/lib/odbc/libtdsodbc.so
    set ODBCINI=/etc/odbc.ini
    set ODBCINSTINI=/etc/odbcinst.ini
    HS_FDS_TRACE_LEVEL = Debug
    #HS_FDS_SUPPORT_STATISTICS = FALSE
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin$ cat listener.ora
    # listener.ora Network Configuration File: /u01/app/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))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC=
    (SID_NAME=MSSQL)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM=dg4odbc)
    (ENVS=LD_LIBRARY_PATH = /usr/lib:/usr/lib/odbc)
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin$ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    MSSQLCONN=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA= (SID=MSSQL))
    (HS=OK)
    *******dg4odbc trace output***********
    :/u01/app/oracle/product/11.2.0/dbhome_1/hs/log$ cat MSSQL_agt_12650.trc
    Oracle Corporation --- MONDAY MAY 09 2011 16:22:44.248
    Heterogeneous Agent Release
    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 "MSSQL"
    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:MSSQL
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=873
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2011/05/09-16:22:44
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib/odbc/libtdsodbc.so"
    Entered hgolofns at 2011/05/09-16:22:44
    symbol_peflctx=0xbff65b50
    hoaerr:0
    Exiting hgolofns at 2011/05/09-16:22:44
    Entered hgolofns at 2011/05/09-16:22:44
    symbol_peflctx=0xbff63720
    hoaerr:0
    Exiting hgolofns at 2011/05/09-16:22:44
    Entered hgolofns at 2011/05/09-16:22:44
    symbol_peflctx=0xbff62f30
    hoaerr:0
    Exiting hgolofns at 2011/05/09-16:22:44
    Entered hgolofns at 2011/05/09-16:22:44
    symbol_peflctx=0xbff638f0
    hoaerr:0
    Exiting hgolofns at 2011/05/09-16:22:44
    Entered hgolofns at 2011/05/09-16:22:44
    hoaerr:28500
    Exiting hgolofns at 2011/05/09-16:22:44
    Failed to load ODBC library symbol: /usr/lib/odbc/libtdsodbc.so(SQLDescribeParam)
    Exiting hgolofn, rc=28500 at 2011/05/09-16:22:44
    Exiting hgoinit, rc=28500 with error ptr FILE:hgoinit.c LINE:337 FUNCTION:hgoinit() ID:Loading ODBC aray of function ptrs
    Entered hgoexit
    HS Gateway: NULL connection context at exit
    Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:108 FUNCTION:hgoexit() ID:Connection context
    Could somebody help me please to figure out what is wrong with??????

    Hi,
    Thanks for very quick response Kgronau!!!
    I applied the changes which you suggest and this is what I achived - "Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION" but when I changed HS_FDS_SQLLEN_INTERPRETATION to 32 it disapered and appeared new one :).
    I won't pase all trace couse it silly long:
    *************trace*******************
    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"
    HOSGIP returned value of "32" 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 "MSSQL"
    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:MSSQL
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=873
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2011/05/10-09:25:57
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/unixODBC/lib/libodbc.so"
    Entered hgolofns at 2011/05/10-09:25:57
    symbol_peflctx=0x9bf405f0
    hoaerr:0
    Exiting hgolofns at 2011/05/10-09:25:57
    Entered hgolofns at 2011/05/10-09:25:57
    symbol_peflctx=0x9bf40750
    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"
    treat_SQLLEN_as_compiled = 0
    Exiting hgoinit, rc=0 at 2011/05/10-09:25:57
    Entered hgolgon at 2011/05/10-09:25:57
    reco:0, name:monitoringdb, tflag:0
    Entered hgosuec at 2011/05/10-09:25:57
    Exiting hgosuec, rc=0 at 2011/05/10-09:25:57
    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 monitoringdb as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2011/05/10-09:25:57
    HS_FDS_CONNECT_INFO = "MSSQL"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2011/05/10-09:25:57
    dsn:MSSQL, name:monitoringdb
    optn:
    Entered hgocip at 2011/05/10-09:25:57
    dsn:MSSQL
    Exiting hgocip, rc=0 at 2011/05/10-09:25:57
    Exiting hgogenconstr, rc=0 at 2011/05/10-09:25:57
    Entered hgopoer at 2011/05/10-09:25:57
    hgopoer, line 233: got native error 0 and sqlstate I; message follows...
    Exiting hgopoer, rc=0 at 2011/05/10-09:25:57
    hgocont, line 2752: calling SqlDriverConnect got sqlstate I
    Exiting hgocont, rc=28500 at 2011/05/10-09:25:57 with error ptr FILE:hgocont.c LINE:2772 FUNCTION:hgocont() ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2011/05/10-09:25:57 with error ptr FILE:hgolgon.c LINE:781 FUNCTION:hgolgon() ID:Calling hgocont
    Entered hgoexit at 2011/05/10-09:25:57
    Exiting hgoexit, rc=0
    So I've no idea why it's doesen't work :( . Does somebody know if there is any patch to solve it ??? I did not install any patch on database 11.2.
    Thanks a lot

  • Direct connect to Oracle using Delphi

    How I can direct connect and transfer data from Oracle Database using Delphi.
    Not via ODBC driver!!!

    There are several BDE replacements that allow you to connect to
    Oracle from Delphi with out BDE or ODBC
    DOA- Direct Oracle Access from Allaround Automation ~$200.00
    http://www.allroundautomations.nl/index.html
    NCOCI8 is freeware.
    Goto to www.kylecords.com and they list BDE replacements.
    I use DOA and their PL/SQL developer systems from Allaround
    Automations and they are both excellent systems with excellent
    support.

  • Newbie trying to connect to Oracle using ojdbc14

    Hey Programming Pals;
    I am trying to connect to a remote oracle data base.
    I have installed oracle client (allowing me to be able to connect with PL/SQL developer).
    Now I need to connect with JDBC.
    I down loaded ojdbc14 and put it in my tomcat bin directory.
    I than made an entry in path and in classpath to this jar file.
    Here is the code I am using to try and connect with:
    try
    {                                                DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    catch (ClassNotFoundException c)
    System.out.println("Could not load the ODBC driver:" + c);
    Here is the error I am getting:
    An error occurred at line: 38 in the jsp file: /jsp/form.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    D:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\jhtp5\jsp\form_jsp.java:85: package ojdbc14.oracle.jdbc.driver does not exist
                                            DriverManager.registerDriver(new ojdbc14.oracle.jdbc.driver.OracleDriver());
    I browsed through the jar and verified this path exists. Why can't the jvm find it?
    Here are my system variables:
    CLASSPATH:
    .;D:\Program Files\Apache Group\Tomcat 4.1\bin\ojdbc14.jar
    PATH:
    D:\Program Files\Apache Group\Tomcat 4.1\bin\ojdbc14.jar;D:\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
    Any help would be appreciated.
    Luke

    Tomcat doesn't use the System classpath.
    Put the ojdbc14.jar file in the web-inf/lib directory of your web application, restart Tomcat, and try again.
    Cheers,
    evnafets

Maybe you are looking for

  • Rule service error

    when instantiating a process with decision service in it, i get the followign exception: Error while executing a rule session unit of work. The rule session CCC2:280001 failed to execute a unit of work. Check the underlying exception and correct the

  • Use only 3/4 of monitors in enhanced session.

    I have 3 displays connected to my physical machine(1 over 2) and I have a 4th on it's way for a 1 over 3 setup. RIght now I am trying to test multiple monitor functionality within a VM. I am connecting using Enhanced Session and can successfully use

  • Lightroom Slideshow to GoLive

    Good morning everyone... I have built a website in GoLive and want to add a slideshow with transitions (fades and such that the GoLive method does not provide). Is there a procedure to create a slideshow in Lightroom and insert it into a frame in GoL

  • ActiveSync 401 Access Denied, invalid user/password?

    Hi everyone, Just getting started on trying out Exchange Activesync and I'm having a few problems. First, a little background: Windows 2000 Server Exchange 2003 with SP2 Global Settings , Mobile Service Properties: * User Initiated synchronization *

  • RV325 System Log Entries - Kernel - kernel: wrong ip[0],not_list[0]

    Hello, I have a RV325 Router. Entries in the System Log are mysterious to me and all my search results and reading are not relevant. The Event-Type is - "Kernel", and the Message is "kernel: wrong ip[0],not_list[0]" The Log entries occur every few mi