OCA & ODBC

I am trying to use Oracle Forms 6 to connect to an Access Database and an AS400 system.
Being some what new to Oracle I have no idea how to overcome this problem, when trying to connect to an ODBC data source through SQL *Plus:
ORA-00022: invalid session id; access denied
ORA-00022: invalid session id; access denied
ORA-00022: invalid session id; access denied
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
Server not available or version too low for this feature
ORA-00022: invalid session id; access denied
Connected to:
Oracle Open Client Adapter for ODBC 6.0.5.29.0
ACCESS 03.50.0000
Although it does connect via SQL *Plus, connecting with Oracle forms is a different matter! Form Builder brings up possibly the most unhelpful error message I have ever seen, it alerts me the following:  F!G!G or sometimes simply: !G though sometimes it alerts random 'E's and 8's occasionally. Form builder then crashes and will not allow me to even connect to my Oracle Database. I have done everything by the book (oracle white paper oca_info.pdf) so I have no idea why this problem could be occuring.
Any help you could give me would be gratefully recieved, well to be honest it would be a god send! If I dont overcome this problem I will manually have to transfer thousands of records! Thank you in advance
Kind Regards
Richard Clayton

You can download it from Metalink. I'm not sure where to find it if you don't have access to Metalink. I'm sure the nice folks at Oracle are more than willing to help you out.
Good Luck.

Similar Messages

  • OCA - ODBC - Error/BUG

    Hi everybody,
    Could anybody help me on this :
    I encountered an error message when I use SQL-Plus 8.0.6 with OCA 8.0.6 and RSF 8.0.6, it said : ORA-00022 : invalid session id; access denied.
    I heard that the solution is to downgrade the RSF to 8.0.5, yes it really works. But the problem is RSF 8.0.5 resides in default_home directory, but the Form 6i that i use resides in oracle_home directory.
    Could anybody help me to solve the problem, since 8.0.6 resides in oracle_home and 8.0.5 resides in default_home.
    Thank you very much for the kind attention, greatly appreciate for the help.
    Best regards,
    Tonny Loekito
    null

    Here are few Metalinks that support the Error
    DOC ID: 159964.1
    DOC ID: 299604.1
    Bug No: 779714
    Sometimes it will be a ORA-1013 error!
    Re: ORA Error 1013 - Problem Connecting to Oracle Via ODBC
    Follow up with the above forum - hopefully it will solve your issue

  • The weirdest Oracle error, OCA & ODBC

    I am trying to use Oracle Forms 6 to connect to an Access Database and an AS400 system.
    Being some what new to Oracle I have no idea how to overcome this problem, when trying to connect to an ODBC data source through SQL *Plus:
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    Connected to:
    Oracle Open Client Adapter for ODBC 6.0.5.29.0
    ACCESS 03.50.0000
    Although it does connect via SQL *Plus, connecting with Oracle forms is a different matter! Form Builder brings up possibly the most unhelpful error message I have ever seen, it alerts me the following: F!G!G or sometimes simply: !G though sometimes it alerts random 'E's and 8's occasionally. Form builder then crashes and will not allow me to even connect to my Oracle Database. I have done everything by the book (oracle white paper oca_info.pdf) so I have no idea why this problem could be occuring.
    Any help you could give me would be gratefully recieved. To be honest it would be a god send, If I dont overcome this problem I will manually have to transfer thousands of records! I have recently recieved advice suggesting that it is a bug in my OCA version, however I would welcome any other suggestions on this subject. Thank you in advance
    Kind Regards
    Richard Clayton

    Run the Oracle installer (in the Oracle for NT start menu option) on the machine and that should pop up a window with the info

  • Oracle FORMS 6i over SQL Server

    Hi, I have an Oracle Forms 6i aplication over a Oracle Server 8i database. Is it possible to run it with SQL Server?

    Yes you can using OCA/ODBC - see the on line help (I also think there is an oca*.pdf file on the Forms install which
    will help).
    Regards
    Grant Ronald
    Forms Product Management

  • Forms talking to Microsoft SQL Server

    I have a form that is based on an Oracle database. DML is handled by forms and the oracle database.
    I have on field that takes a ticket number. When this field is filled out I want to connect to a Microsoft SQL Server and make sure that the ticket number references a real ticket.
    In the validation trigger, how do I connect to a microsoft sql server, run a sql statement, test the results?

    Here I give you a Oracle sample to access ACCESS DB by OCI, hope this will help you to SQL SERVER.
    How to query an MS Access database using an OCA ODBC connection?
    Note: This article makes reference to directories relevant to Forms 6i
    Solution Description
    ====================
    1. Attach the oca.pll, located in the %ORACLE_HOME%/oca60/plsqllib directory,
    to the desired fmb.
    For this directory to appear the Oracle Open Client Adapter Component
    needs to be installed from the base Developer 6i R2 cd.
    2. Write a program unit similar to the following:
    FUNCTION get_access RETURN pls_integer IS
    connection pls_integer;
    cursor1 pls_integer;
    stmt varchar2(1000);
    n pls_integer;
    BEGIN
    stmt := 'select count(*) from emp';
    connection := oca.dbconnect('scott/tiger@odbc:msa');
    message(to_char(connection));
    cursor1 := oca.execute(connection,stmt);
    loop
    begin
    oca.fetch_row(connection,cursor1);
    oca.coldata(connection,cursor1,1,n);
    message(to_char(n)||' record(s)');
    exception
    when no_data_found then
    message('NO MORE ROWS');
    exit;
    end;
    end loop;
    oca.close(connection,cursor1);
    oca.disconnect(connection);
    return n;
    exception
    when oca.connection_error then
    message('OCA-Connection error');
    when oca.cursor_error then
    message('OCA-Cursor error');
    when others then
    message('Other Error');
    end;
    References:
    %ORACLE_HOME%\tools\doc60\us\oca_info.pdf
    "Using Oracle Forms Developer, Oracle Reports Developer and the Oracle Open
    Client Adapter to Access ODBC Data Sources

  • DB2 OS400 Connection with Oracle Reports

    Dear My Friends
    I want to prepare report by DB2 OS AS400 on Oracle report how i Connecte DB2 Database with Oracle Report.
    Tahir

    Hello,
    To access "non oracle DB" :
    Reports 6i : OCA + ODBC driver
    http://www.oracle.com/technology/products/forms/pdf/275201.pdf
    Using Oracle® Forms Developer, Oracle® Reports Developer and the Oracle Open Client Adapter to access ODBC Data sources
    Reports 9.0.x / 10.1.2 : JDBC
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_jdbcpds.htm
    Oracle® Application Server Reports Services Publishing Reports to the Web
    10g Release 2 (10.1.2)
    B14048-02
    9 Configuring and Using the JDBC PDS
    Regards

  • Packaging runtime of Developer 2000 with my project.

    Hi,
    I want to package developer 2000 runtime environments with my
    project. So that if forms runtime and reports runtime is not
    installed, it should get installed along with my project.
    Please give a detail method to do so.
    Thanks,
    Bhaskar rao.
    null

    you need to use something called OCA/ODBC- in your installation of Forms there is a file called oca_info.pdf which describes how to connect forms to different data sources.
    Regards
    Grant Ronald
    null

  • OCA and ODBC connections

    I am trying to use Oracle Forms 6 to connect to an Access Database and an AS400 system.
    Being some what new to Oracle I have no idea how to overcome this problem, when trying to connect to an ODBC data source through SQL *Plus:
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    Connected to:
    Oracle Open Client Adapter for ODBC 6.0.5.29.0
    ACCESS 03.50.0000
    Although it does connect via SQL *Plus, connecting with Oracle forms is a different matter! Form Builder brings up possibly the most unhelpful error message I have ever seen, it alerts me the following:  F!G!G or sometimes simply: !G though sometimes it alerts random 'E's and 8's occasionally. Form builder then crashes and will not allow me to even connect to my Oracle Database. I have done everything by the book (oracle white paper oca_info.pdf) so I have no idea why this problem could be occuring.
    Any help you could give me would be gratefully recieved, well to be honest it would be a god send! If I dont overcome this problem I will manually have to transfer thousands of records! Thank you in advance
    Kind Regards
    Richard Clayton

    Hi !
    Do you know where can I find the OCA-6.0.5.35.0 version or higher ?
    I downloaded the Oracle Forms&Reports 6i from Oracle site and even now (January 2003) it still includes in the package the OCA-6.0.5.29.0 which has a bug when accessing ODBC data sources.
    Thanks in advance !

  • OCA and Access ODBC Problem

    When I attempt to connect to Microsoft Access: C:\>plus80 admin/maxtest@odbc:maxjet
    I get the following error. Please help!
    SQL*Plus: Release 8.0.6.0.0 - Production on Fri Oct 13 09:51:24 2000
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    Connected to:
    Oracle Open Client Adapter for ODBC 6.0.5.29.0
    ACCESS 04.00.0000
    null

    Hi,
    in case you update Access Connection, you must already have also following updates installed:
    - Power Management driver
    - Power Manager
    -Hotkey utility
    - System interface driver
    - Wifi driver <for AC 5.x it must be 13.x version>
    <all of course with the latest version>
    Once this all is installed, you can install AC .
    Let me know, if you have also the latest version of the above driver/updates on the system prior to the installation of AC .In case not, just remove AC, install the above mentioned updates and then install AC 5.x
    Chers

  • Connecting to db2 from report builder via odbc

    Hi!
    Some manuals said, it is possible to connect to DB2 from Oracle SQL*Plus (we have version 8.0.6.0.0)
    and from Oracle Report Builder.(6.0.8.11.3)
    User must install OCA (Oracle Open Client Adapter for ODBC (6.0.5.29.0)) and make ODBC entry.
    I did it.
    run with: plus80 db2user/db2pass@odbc:db2test
    SQL*Plus made the connection, but with errors:
    SQL*Plus: Release 8.0.6.0.0 - Production on Fri Oct 17 16:12:56 2003
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    Connected to:
    Oracle Open Client Adapter for ODBC 6.0.5.29.0
    DB2/NT 08.01.0000
    SQL>
    The error refers PUPBLD.SQL, but I think it is Oracle specific, don't help.
    Worse, that it can't connect from Report Builder, it just throws error.
    If I set OCA_DEBUG=TRUE in registry, I have bonus messages:
    oca-30053 unsupported network call (oracle code: 3115)
    oca-30002 ubofssw function not supported (1010)
    I tried to connect to MsAcces too, but I got same errors.
    Have you any idea, how can I solve this?
    Thanks

    resolved
    I just add the master entry in the c:\Report\NET80\ADMIN\tnsnames.ora, and it works.
    but I can't connect with the system or sys accounts, it work just with scott/tiger.

  • Using Forms through ODBC

    Hi guys!
    I've got a strong wish to use Forms6i, but... My desire is some strange. Because I want to use Oracle Forms and Reports to develop application for MSSQLServer. Please say to me it is possible. Should I tune Net8 for that purpose? If I should, please tell me how. Perhaps everything is easy and simple way exists for example: connecting string like this ODBC:ORCL:1251@scott/tiger or something like that.
    I really appreciate if you help me.
    I wonder if you send your response to me by e-mail. My address is [email protected]
    Thanks a lot!

    When you install Forms and Reports you need to install a component called the OCA (oracle Client Adaptor) as well. This will allow you to use ODBC: connect strings. See the oca_info.pdf file that gets installed with the OCA for more info.

  • Dev 6.0 with ODBC in UNIX

    Hi.
    Does Developer 6.0 for DIGITAL UNIX support connectivity to
    ODBC's databases?
    By the way:
    Do you know if exists an ODBC in Digital Unix for PROGRESS?
    Thanks.
    null

    Spencer Tabbert (guest) wrote:
    : As far as I know ODBC is a Microsoft standard and only exists
    in
    : Microsoft land. However the vendor may make a client that
    runs
    : on Unix such as Oracle makes clients for diferent types of
    : platforms.
    : Spencer Tabbert
    : Rosendo Flores (guest) wrote:
    : : Hi.
    : : Does Developer 6.0 for DIGITAL UNIX support connectivity to
    : : ODBC's databases?
    : : By the way:
    : : Do you know if exists an ODBC in Digital Unix for PROGRESS?
    : : Thanks.
    Developer 6.0 has Open Client Adapter (OCA) that enables you to
    connect to any ODBC compliant data sources. You can use this
    capability to connect ODBC databases providing that you need to
    obtain the ODBC driver for Digital Unix platform. You can get
    this driver from either Intersolv/Merant or Digital. There are
    two favors of ODBC on Digital Unix: DataDirect Connect and
    Sequelnk. You can find out details info of these drivers and
    down load them from Digital/Compaq web site. I don't think
    Developer 6.0 for Digital Unix is released yet.
    Kevin Lai.
    null

  • JDBC/ODBC Connections using 9iDS?

    I've just installed 9iDS and I noticed that there is no OCA installed. Has anyone with 9iDS tried using JDBC/ODBC to connect to a non-Oracle database?

    Correct we are no longer shipping the OCA - You should be looking at the Oracle gateways as a way of providing non-oracle access for Forms and Reports.
    http://technet.oracle.com/products/gateways/content.html
    You can't plug ODBC or JDBC into Forms as an alternative to SQL*Net (unless you want to do a lot of 3gl coding and Transactional triggers)

  • Oracle Open Client Adapter for ODBC on Solaris Platform?

    Hi,
    I want to deploy the Reports on Solaris platform. Oracle Report Server is installed on the Solaris. I want to connect to DB2 database using ODBC Connection. Is Oracle Open Client Adpater is available for Solaris platform, since for ODBC connection it is required. Thanks in advance.
    Regards,
    Aniruddha
    null

    Hi all,
    I have this problem too. Running 9i with forms 9i. Is there an updated OCA available?
    regards

  • Problems moving ODBC RDB driver from 2.1.13 to 3.x

    Hello. I'm new.
    I doubt that anyone can assist us in our situation, but I can't find any help anywhere else.
    We've been using Forms (see info below, please) for years with ODBC for RDB driver version 2.10.13.00. We would like to move to ODBC for RDB driver version 3.x (3.2 is the latest, I believe) for several reasons.
    However, when I run our application against a data source using the new driver, it crashes quite frequently when committing changes. I do not know why. I get a win32 exception dialog box, and nothing else (no forms dump file).
    BUT when I turn on SQL Tracing, everything works just fine! When I turn on Driver Logging, it sometimes works and sometimes doesn't, depending on which driver logging setting I use.
    When it fails, the last line in the rdbodbc.log file is...
    .._uCnvBinaryToChar 0X00000000
    or...
    bccSQLExecuteLckd
    or...
    the dml statement
    .0X03A27DF8: INSERT INTO ORGANIZATION ( ORGANIZATION_ID,ORGANIZATION_NA
    .ME,ORGANIZATION_NAME_2,ADDRESS_1,ADDRESS_2,CITY,STATE,ZIP_1,ZIP_2,EMAI
    .L_ADDRESS,REMARK_1,REMARK_2 ) VALUES ( ?, ?,NVL( ?,' '),NVL( ?,' '),N
    .VL( ?,' '),NVL( ?,' '),NVL( ?,'XX'),NVL( ?,0),NVL( ?,0),NVL( ?,' '),NV
    .L( ?,' '),NVL( ?,' ') ) RETURNING DBKEY INTO ?
    ...depending on the driver logging setting.
    One particular form always seems to crash on a simple insert statement within a block's On-Insert trigger. The block contains only items with a number or char data type. I have made a great many code variations and it doesn't make it work, but I can get it to work if I place an alert message right before the insert statement or a win_api_utility.sleep(...) statement. And as I mentioned before, it works fine if I turn on SQL Tracing.
    So, I am not sure if there is some known issue with Forms and ODBC RDB driver 3.x that we can work around, or if Forms 6i just won't work with the newer driver. Our application contains hundreds of often complex forms, so any fix would have to be relatively simple to implement.
    Thanks very much.
    Forms 6i (6.0.8.13.0) - running client/server
    Oracle RDB database (7.1)
    Windows XP
    OCA 6.0.5.35.0

    Follow-up for anyone interested since apparently no one else in the internet world has this problem. :)
    When I activate OCA_DEBUG_ERROR (i.e., set registry OCA_DEBUG_ERROR = TRUE under \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE), everything works, but I do see this debug message: "OCA-30002 ubofgrd function not supported", which does not get logged when I use the older driver. So, again, if I slow things down enough, it works, but it won't work without logging/tracing turned on. An OCA bug, I suppose?

Maybe you are looking for

  • J1iex issue : J_1IEXCDTL GR qty doesn't get updated

    Hi , we have a process like .... Capture excise invoice , MIGO 103 , MIGO 105 and Post excise invoice. Facing one issue wherein system is not updated GR QTY in J_1IEXCDTL  table. The step I am following are 1) Capturing excise invoice ( Say number is

  • C4795 Wireless Setup Issue

    Please help.  I have a HP C4795 that I'm trying to figure for wireless access.  It is currently set up on my home network to a Windows XP printer and all other PCs have access to it.  However, I want to make sure it's wirelessly connected as well.  I

  • Cover Flow does alpha channels -- almost!

    Just for fun, inspired by the semi-transparent musical note default cover art, I tried adding some artwork (PICT with alpha channel) for some albums. It works! For example (one I think most people would recognize, even if it dates me somewhat): Pink

  • HDD Crashed, can't find my disk

    We'll my old MB Late 2007 HDD crashed a year and a half or so ago, and I still haven't found my disk to re-install Leopard.  I want to toss in a new HDD, switch my new RAM from my MBP to my old MB when I upgrade my RAM, and use it as a dedicated comp

  • Multiple Document using RFBIBLOO

    Hi, Any one please confirm is it possible to post multiple documents or records using RFBIBLOO standard program under one file. Thanks and Regards, Paul.