Forms ORA-03115 on database link

Hi,
I'm not new to forms but I'm going crazy about one error:
When I try to connect in forms to oracle8 from oracle7
I get this message: ORA-31015 unsupported network datatype or representation.
The mad is that it works with Oracles TOAD, and on any other PC of my colleagues, but not on mine.
Has someone any ideas?
Here's my syntax:
-- SELECT COUNT(LOT) INTO mycount FROM [email protected]

i work in forms 6i with oracle 8i and the solution in my case was: i create a view ( my_view as select * from table@databaselink) and i used the view my_view in my form. can you create too a synonym private or public of your view.

Similar Messages

  • PL/SQL :ORA-04052 with Database link

    i have created a database link in my producation database as following
    CREATE PUBLIC DATABASE LINK <NAME>
    CONNECT TO <USER>
    IDENTIFIED BY <P/W>
    USING <CONNECT STRING OF TARGET DATABASE
    oracle version 9.0.2.8
    OS : Windows 2003 EE R2 SP2
    Using oracle failsafe 3.3.4 with windows cluster
    Problem Description :
    whenever i run my pl/sql procecdure to pull the data from the target database i get the following error
    ERROR at line 3
    ORA-06550:line 3 column 2
    PL/SQL : ORA-04052: error occured when looking up remote object _<SCHEMA>.<TABLE>@<DATABASE LINKE NAME>_
    ORA-00604 : ERROR occured at recursive SQL level 1
    ORA-03106 : fatal tow-task communication protocol error
    ORA-02063: preceding line from <DATABASE LINK NAME>
    I have tested the same way in the test environment the same oracle version as well the OS but without oracle failsafe and windows cluster
    the script goes smoothly with out any errors.
    i have google and checked the OTN for all available solutions but still nothing its not getting throw
    i will be very thankful for your replys and solutions
    any farther clarification i am ready
    thanks in advance

    Hi,
    This forum is for issues connecting to non-Oracle databases. As the problem is using PL/SQL to connect to another Oracle database then it would be better to post a thread in the PL/SQL forum -
    PL/SQL
    If you are trying to connect to a non-Oracle database then please give us the details of which non-Oracle database and the software you are trying to use to connect.
    Regards,
    Mike

  • ORA-00022 with Database Link and Trigger

    Hello altogether,
    I got a very strange behaviour with my oracle 10.2.
    I have two nets N1 and N2, where N1 can access the servers in N2, but not the other way round. In both nets I have an Oracle database running (D1 and D2).
    In N1 I calculate some data, which must be replicated to the database in N2. I do this by using triggers on my tables in database D1 copying the inserted or changed data to D2 by using a shared public database link.
    This works fine most of the time. But sometimes I get the following error:
    ERROR [STDERR] Caused by: java.sql.SQLException: ORA-02068: following severe error from D2
    ORA-00022: invalid session ID; access denied
    ORA-06512: at "CUSTOMER", line 13
    ORA-04088: error during execution of trigger 'CUSTOMER'
    When I use the database links manually, they work.
    Any idea?
    Thank you!!
    Daniel

    The ORA-02068 message might be important
    02068, 00000, "following severe error from %s%s"
    // *Cause: A severe error (disconnect, fatal Oracle error) received from
    //         the indicated database link.  See following error text.
    // *Action: Contact the remote system administrator.Have you searched Oracle support for any bugs associated with the ORA-02068?
    Was the remote session killed, the remote database changed to restricted session, or bounced?
    I take it the distributed session is created using a dedicated session and not shared server?
    HTH -- Mark D Powell --

  • ORA-12154 on database link

    I have two oracle databases which I want to connect,
    these are the entries in tnsnames.ora
    UAT =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 10.16.72.166)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = uat849)
    itdev6 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.16.72.167)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = itdev6)
      )I logged into UAT and create the link.
    this is my sql for dblink creation
    CREATE public DATABASE LINK test1 CONNECT TO username IDENTIFIED BY password USING 'itdev6';
    this database link created successfully. But when I try to run a query against it I'm getting an error
    select * from kh_gps_email_info_tab@test1
    ORA-12154: TNS:could not resolve the connect identifier specified
    Can anyone help me on this please?

    Try this
    itdev6.world =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.16.72.167)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = itdev6.world)
    CREATE public DATABASE LINK test1 CONNECT TO username IDENTIFIED BY password USING 'itdev6.world';

  • ORA-03113 using Database Link

    Asking help Urgently..
    We need to create a DB link from 7.3 to 10g. After initial problems, the DB link is finally established and we can query and do DML on the 10g DB from 7.3. using SQLPLUS.
    Now the problem: We want to create triggers on tables in 7.3 DB to insert the same rows in 10g DB using the DB Link. The moment we create the trigger the connection is dropped with the error: ORA-03113: end-of-file on communication channel. We tried to write the insert statement inside a procedure/function but still the same problem.
    Please help as we are desperate to find a solution for the said problem. The objective is to be able to insert a row in 10g (DB Linked) Database based on a trigger fired in 7.3 Database (Reference DB). Any help will be appreciated.
    Thanks and regards.
    Rajeev.

    I know that 7.x to 10g is not supported officially and should not be used in production environment.
    But in our case, we need it for a short duration (duration of Parallel run) and my query is that, if I am able to do inserts from the SQLPLUS using the said DB Link, then why this cannot be done thru a procedure or a trigger.
    if anyone has an explanation or workaround, it will be great.
    Rajeev.

  • ORA-02068+ORA-03113 on database link

    Hi all
    I have the following scenario:
    The application is connecting to DB (Oracle 10.2.0.5) using jdbc connection pool.
    The database is a 3-node RAC.
    Using DB Link we access a PLSQL package on a remote database (10.2.0.4).The remote database is a single instance.
    The remote database is not located behind FW.
    Sometimes the remote DB is restarted, but we seem to hit these errors about 30 mins afterwards.
    From time to time we get these errors and we cant find the root cause.
    Any ideas how to address this?
    Thanks,
    Rudi

    Rudi wrote:
    Hi all
    I have the following scenario:
    The application is connecting to DB (Oracle 10.2.0.5) using jdbc connection pool.
    The database is a 3-node RAC.
    Using DB Link we access a PLSQL package on a remote database (10.2.0.4).The remote database is a single instance.
    The remote database is not located behind FW.
    Sometimes the remote DB is restarted, but we seem to hit these errors about 30 mins afterwards.
    From time to time we get these errors and we cant find the root cause.
    Any ideas how to address this?
    Thanks,
    RudiORA-00600/ORA-07445/ORA-03113 = Oracle bug => search on Metalink and/or call Oracle support

  • Database link in forms is different that actual database name

    I am using a database link in Oracle Forms 6i, however, the database link name for the referenced database is not the same as the actual databse service/instance name.
    It does not work, and I suppose its something to do with the global names feature which is true in the source database it is in a replication group.
    I would like to know whether the dblink name which I am using in oracle forms, does it have to have the same name as an entry in the tnsnames.ora file, or can be substituted thgrough any so-calld alias from within oracle forms?
    Windows 2k Ad svr, Oracle Forms 6i, DB 9.2.0.1

    I recently upgraded my development environment from Forms 10.1.2.0.2 to Forms 10.1.2.3 and am experiencing the same problem -- not able to COMPILE a form that references a database link. The error is: "Error 352 at line 99, column 3 Unable to access another database 'LINKNAME'". This occurs on an UPDATE statement within PL/SQL code in a form trigger that used to compile and work fine.
    I tried the database link in SQL Plus and the link is working fine.
    Database environment is 10g 10.2.0.3 on Windows Server 2003.
    Is anyone able to do this?

  • Database link in forms 6i stopped working in database 10g release 2.

    Hi,
    We have Forms 6i with all patches added.
    We were able to recompile the form that contains database link in database 10g release 1 environment. Recently we migrated to database 10g release 2.
    We still can run the form (previously compiled in database 10g release 1), but when we tried to modify the form and recompile it in databbase 10g release 2,
    the forms developer closed down without giving any error message.
    When we removed any reference to the database link from the form, we were able to recompile the form with no problem. Database Linkd in SQL works.
    The question: what do we need to do in the database 10g release 2 to make the link in forms 6i work?
    Thank you. Lev.

    I recently upgraded my development environment from Forms 10.1.2.0.2 to Forms 10.1.2.3 and am experiencing the same problem -- not able to COMPILE a form that references a database link. The error is: "Error 352 at line 99, column 3 Unable to access another database 'LINKNAME'". This occurs on an UPDATE statement within PL/SQL code in a form trigger that used to compile and work fine.
    I tried the database link in SQL Plus and the link is working fine.
    Database environment is 10g 10.2.0.3 on Windows Server 2003.
    Is anyone able to do this?

  • Question about using database links in Forms 10g

    I have a form that uses a database link for the "Query Data Source Name," i.e. it is set to some_view@some_db_link
    For some reason when I run a query using the DB link the query takes approximately 30 seconds. When I remove the link and go local the query takes about one second. Has anybody observed and addressed this issue before (without going local of course)?
    Thanks,
    Thomas

    Let me first say that it is never a good idea to use a db link in the data source. It is better to create a synonym in the database and use this as the data source. If the db link changes, you only have to do this in the database, without recompiling forms.
    create synonym some_view for some_view@some_db_link
    This may already solve your problem. If not, than see if the query is also slow in sqlplus. You may have a problem in your connection between the two databases.

  • Problem creating a database link

    Hi,
    I tried to create a database link, but it doesn't work. When I connect to the database via SQL*Plus or SQL Developer, the entries in the tnsnames.ora work.
    create database link DBOPBWS2.BAG connect to demo identified by demo
    using 'DBOPBWS2.BAG';
    Entry in tnsnames.ora:
    DBOPBWS2.BAG =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST =serv01.server.spub-systeme.de)(PORT = 1485))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SID = DBOPBWS2)
    Entry in sqlnet.ora:
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    select * from [email protected];
    Error:
    ORA-12154: TNS: Angegebener Connect Identifier konnte nicht aufgelöst werden
    12154. 00000 - "TNS:could not resolve the connect identifier specified"
    What is wrong with the datbase link?
    Please help me
    Siegwin

    Hi,
    You could also "skip" the TNSNAMES use :Scott@my11g SQL>create database link DBOPBWS2.BAG connect to demo identified by demo
    using '(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =serv01.server.spub-systeme.de)(PORT = 1485)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = DBOPBWS2)))'
    Database link created.

  • ORA-24365 from db link

    Hi:
    I am on 10.2.0.3.
    A db link has been created from another database to my database which has the following parms. An ORA-24365 was raised even on an attempt to select sysdate from dual. Any suggestions?
    SQL> select sysdate from dual@dblink1 ;
    select sysdate from dual@dblink1
    ERROR at line 1:
    ORA-02068: following severe error from dblink1
    ORA-24365: error in character conversion
    PROPERTY_NAME PROPERTY_VALUE
    DICT.BASE 2
    DEFAULT_TEMP_TABLESPACE TEMP
    DEFAULT_PERMANENT_TABLESPACE USERS
    DEFAULT_TBS_TYPE SMALLFILE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET AL32UTF8
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 10.2.0.3.0
    GLOBAL_DB_NAME FSUAT.COVANCE.COM
    EXPORT_VIEWS_VERSION 8
    DBTIMEZONE 00:00

    This is documented in ML Doc 212043.1 (ORA-24635 Using Database Link Between 8i and 9i Databases)
    HTH
    Srini

  • On deploy tries to recreate database link?

    I have a problem when deploying a mapping.
    I keep getting the error ORA-02011: duplicate database link name.
    After I analyzed the Job Details of this deploy and the one of the mapping that is very similar to this one in the same location, I noticed that the one that gives problems tries to do Create of a location. The other one does a Replace of a location (database link). Both mappings are at the same location and the source and target locations are the same for both mappings.
    Sounds familiar? What coud be the problem?

    Hi!
    Probably you can check the connector status. In Control Center, you can expand the connector status and see what you have.
    Regards,
    Sebastian

  • Database link error when compiling forms 6.0 and forms 6i.

    Dear sirs,
    We have a database link between two databases of the same version oracle 8.0.5.
    Recently we have upgraded one of our databases to version 9.2.0.1 (the database where the database link was originally created ) and now we are having problems when compiling forms that have PL/SQL blocks using the database link.
    The error message received when compiling the form is the following:
    ORA-02068: Following severe error from dbproduc.world
    ORA-00600: Internal error code, arguments: [No conversion op],[],[],[],[],[],[],[]
    The forms did not present this error before, it began when we made the upgrade.
    Is this a FORMS 6.0 problem ?
    Is this an ORACLE 8.0.5 problem ?
    Is this an ORACLE 9.2.0.1 problem ?
    Can you please give me some advice to solve this problem ?
    Thanks in advance

    As I see, when you use a non-oracle database the tables don`t appear, you must create the realation with the table manually, on the properties

  • Using database link  with a dynamic SQL in Forms 5

    I have a Form 5 application where a database link is specified in a client version of dynamic SQL. The function that the application is designed to perform is to access data in a table in a remote database and use it to populate another table in a local database with the same structure as the source table. Dynamic SQL is used because the name of the table can only be resolved during run time.
    The problem is that it gives error with code 'ORA-03113' and text 'End-of-file on communication channel' when you try to run it.
    Is it not possible to use a database link with a dynamic SQL? What can I do to overcome the problem ?

    Try to create a local view based ao the remote table and use the view.

  • Infobus data form wizard returning ORA-03115

    Hi,
    I was trying to create a single table data form using (JBuilder2
    )infobus data form wizard and during the step 3 (select database
    objects)i got following error:
    >>
    ORA-03115 Unsupported network data taype or representation
    java.sql.SQLException
    <<
    I was connected to Oracle 8.0.5 database runing on AlphaVMS!
    What I am doing wrong ?
    Thanks
    Nadeem
    null

    Nadeem Siddique (guest) wrote:
    : Hi,
    : I was trying to create a single table data form using
    (JBuilder2
    : )infobus data form wizard and during the step 3 (select
    database
    : objects)i got following error:
    : >>
    : ORA-03115 Unsupported network data taype or representation
    : java.sql.SQLException
    : <<
    : I was connected to Oracle 8.0.5 database runing on AlphaVMS!
    : What I am doing wrong ?
    : Thanks
    : Nadeem
    I have tried all the JDBC /JDBC OCI drivers ! and geting the
    same error as mentioned above!
    null

Maybe you are looking for

  • Flashing Question Mark At Start Up/ Disk Utility Not Working

    I am having the old flashing question mark in a file show up when I try to start my computer. I went through a lot of the forums and I have attempted the Disk Utility. When I put the 10.3 install disk in and restart it takes me to the opening screen.

  • How to create BAPI?

    Is there anyone to help me in creating the BAPI. Please send me the step by step procedure of creating the BAPI. Thanks in Advance, MLN

  • Question about iTunes Genius

    How to do I update iTunes Genius with recently purchased songs?

  • Photoshop CS3 white screen / freeze

    had CS3 for over a year or so(legit on work computer) and this just started happening this week. at start up and/or after a few minutes in photoshop CS3 it freezes, goes to white screen and hangs and becomes useless. it starts off lagging like if i t

  • Dynamic PDF component on external server

    Hello I'd like to feed data from a MS SQL database to an ASP web page, and then also have the ability to download it as a (dynamically created) PDF. This seems to need a component on the server which my web host won't install. I was wondering if I co