If your getting the ora-12154 error...

If you have followed the directions provided and swear you have done everything right... then try this.
Check to make sure the tnsnames.ora and sqlnet.ora files are actually .ORA files. I recently started a new job and was tasked with getting instant client working with a VB app. Anyhow, I installed instant client and added the enviroment variables etc etc. I kept getting the 12154 error when testing a sqlplus connection and I couldn't understand why.
Well since this was a new computer I was working on, I hadn't change the setting when viewing files so it was hiding the file type from me and all I could see was "tnsnames.ora" when the file was really "tnsnames.ora.txt". A day later I figured it out and felt pretty stupid!
Windows Explorer | Tools | Folder Options | View | Uncheck "Hide extensions for known file types"
Check those file types people...

I think you had done a "terrific" job helping novices like me to check/fix the error with the hidden tnsnames.ora.txt extension. I think it is very useful information.
Thank a lot.

Similar Messages

  • Only in my PC I get the ORA-03113 ERROR..

    Hi
    I have tried to run a simple QUERY (SELECT * FROM marcas;) but if the table has more than 2,000 records I get the error ORA-03113, but if I run the same query in other PC I don't have problems. If the table has less than 2,000 I don't have problems in my PC.
    I have SQL*Plus: Release 9.2.0.1.0
    Why?...I need help!!!!! thanks!!!

    Hi,
    could be a network problem. Check your Oracle Client installation using others tools like tnsping. Sometime firewalls or similar can interrupt a connection. Check also your pc with applications that use a persistent connection like a long file transfert.
    Hope this helps
    Sam

  • The ORA-12154 error again (one DB fine, the other not)

    Hi,
    I have 2 DBs on my PC with the same home. There is only 1 tnsnames.ora in my oracle folder (excluding 2 samples). My tnsnames.ora looks like this:
    # 10.2.0\db_1\network\admin\tnsnames.ora
    TNTDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = oocl-dird)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = tntdb)
    TEST02 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = oocl-dird)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = TEST02)
    EXTPROC_CONNECTION_DATA = ..My sqlnet.ora:SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZNAMES)listener.ora:SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = oocl-dird)(PORT = 1521))
      )I can connect to tntdb. I can't connect to TEST02 using @TEST02. I can connect using @oocl-dird:1521/TEST02 though (same values as the tns)
    Whats the reason? How to fix? :s

    sb92075 wrote:
    open Command Window & issue following OS commands
    lsnrctl status
    lsnrctl serviceStatus:
    Service "+ASM_XPT" has 1 instance(s).
      Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
    Service "+asm" has 1 instance(s).
      Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "TEST02XDB" has 1 instance(s).
      Instance "test02", status READY, has 1 handler(s) for this service...
    Service "TEST02_XPT" has 1 instance(s).
      Instance "test02", status READY, has 1 handler(s) for this service...
    Service "test02" has 1 instance(s).
      Instance "test02", status READY, has 1 handler(s) for this service...
    Service "tntdb" has 1 instance(s).
      Instance "tntdb", status READY, has 1 handler(s) for this service...
    Service "tntdbXDB" has 1 instance(s).
      Instance "tntdb", status READY, has 1 handler(s) for this service...
    Service "tntdb_XPT" has 1 instance(s).
      Instance "tntdb", status READY, has 1 handler(s) for this service...
    The command completed successfullyService:Services Summary...
    Service "+ASM_XPT" has 1 instance(s).
      Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "+asm" has 1 instance(s).
      Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "TEST02XDB" has 1 instance(s).
      Instance "test02", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: OOCL-DIRD, pid: 1472>
             (ADDRESS=(PROTOCOL=tcp)(HOST=oocl-dird)(PORT=1037))
    Service "TEST02_XPT" has 1 instance(s).
      Instance "test02", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:11 refused:0 state:ready
             LOCAL SERVER
    Service "test02" has 1 instance(s).
      Instance "test02", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:11 refused:0 state:ready
             LOCAL SERVER
    Service "tntdb" has 1 instance(s).
      Instance "tntdb", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:8 refused:0 state:ready
             LOCAL SERVER
    Service "tntdbXDB" has 1 instance(s).
      Instance "tntdb", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: OOCL-DIRD, pid: 2364>
             (ADDRESS=(PROTOCOL=tcp)(HOST=oocl-dird)(PORT=1038))
    Service "tntdb_XPT" has 1 instance(s).
      Instance "tntdb", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:8 refused:0 state:ready
             LOCAL SERVERMike

  • Ora 12154 error when trying to add a database to VS Server Explorer

    Hi Everyone,
    I get the Ora 12154 error when trying to add a database to VS Server Explorer.
    How do I get around this problem.
    The database service is running and I can connect to the database with pl/sql.
    I can also tnsping the database and that is also ok.
    Looks like a problem with the odp.net software.
    I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
    I am new to this stuff so please help me step by step.
    Thanks.
    Emad

    Hi J. B.
    I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
    Anyway here is the VB coding I used. I'm new to this and still learning:
    Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
    Public Class Form1
    ' String to connect to the database.
    Dim strConnectionString As String = _
    "Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
    ' Associate the connection string with a connection object.
    Dim objOracleConnection As New OracleConnection(strConnectionString)
    ' SQL query for returning data rows.
    Dim strSqlQuery As String = _
    "Select dname, deptno " & _
    "From dept " & _
    "Where deptno = 10" '
    ' Command object to make this query work.
    Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ' Identify what type of command is being used.
    objOracleCommand.CommandType = CommandType.Text
    Try
    objOracleConnection.Open()
    ' Set up a Data Reader and load it with data.
    Dim objOracleDataReader As OracleDataReader = _
    objOracleCommand.ExecuteReader()
    objOracleDataReader.Read()
    ' Convert the department number to a string.
    lblDepartmentNumberFromOracle.Text = _
    CStr(objOracleDataReader.Item("deptno"))
    Catch ex As Exception
    MessageBox.Show(ex.Message, "Error")
    End Try
    End Sub
    End Class
    I still want to thank you for the help you are providing.
    Truly,
    Emad

  • ORA-12154 Error - NET8 Connection Tester Works Though

    I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
    When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
    Any ideas?

    I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
    When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
    Any ideas?

  • Getting an ORA-24333 error while parsing a non SELECT statement ...

    Hi,
    I'm new to this forum and I've search through the entire forum to see if my problem was already solved, but at first sight it doesn't ?
    So I hope that someone can help me one this : I'm facing a strange problem with the OCI 8i. I've encapsulated any OCI call into a set of C++ classes. Everything works fine apart for one point : whenever I try to parse a NON "select" statement, I get the ORA-24333 error.
    Basically, the code follow the current schema (only "important" states are written here) :
    -> Opening an Oracle Session
    -> Receving de statement.
    -> Analyse it with a call to OCIStmtPrepare() with OCI_NTV_SYNTAX set.
    -> Calling OCIBindByName() to associate each variable with a data.
    -> Calling OCIStmtExecute() with OCI_DESCRIBE_ONLY set in order to retrieve the current list of INPUT/OUTPUT columns.
    And this is where the problem arise.
    With a statement like : "SELECT MyPackage.MyFunction(:v1) FROM DUAL"
    Everthing works fine. I can bind the INPUT/OUTPUT ":v1" variable.
    But with a statement like : "BEGIN MYFUNTION(:v1); END;"
    I get the ORA-24333 error after the call to OCIStmtExecute().
    I get this error only when I set OCI_DESCRIBE_ONLY. If I call OCIStmtExecute() with OCI_DEFAULT, the OCI execute the statement. This is fine but it's not what I want. I cannot change the statement received (by design), so they should be proceeded as received.
    What I'm looking for is a way to successfully perform the OCIStmtExecute() with OCI_DESCRIBE_ONLY set in order to get the list of variables columns related to the current statement.
    Any help would be greatly apprecitated here. Thanks !
    Here are my current configurations.
    -> Windows 2000 SP5 OCI 8i / VC++ 6.0
    -> Macintosh OS X 10.3.4 / Code Warrior 8.3
    (The code produce exactly the same results/troubles on both plateforms.)
    Thanks in advance for your respons.

    Hi,
    I'm new to this forum and I've search through the entire forum to see if my problem was already solved, but at first sight it doesn't ?
    So I hope that someone can help me one this : I'm facing a strange problem with the OCI 8i. I've encapsulated any OCI call into a set of C++ classes. Everything works fine apart for one point : whenever I try to parse a NON "select" statement, I get the ORA-24333 error.
    Basically, the code follow the current schema (only "important" states are written here) :
    -> Opening an Oracle Session
    -> Receving de statement.
    -> Analyse it with a call to OCIStmtPrepare() with OCI_NTV_SYNTAX set.
    -> Calling OCIBindByName() to associate each variable with a data.
    -> Calling OCIStmtExecute() with OCI_DESCRIBE_ONLY set in order to retrieve the current list of INPUT/OUTPUT columns.
    And this is where the problem arise.
    With a statement like : "SELECT MyPackage.MyFunction(:v1) FROM DUAL"
    Everthing works fine. I can bind the INPUT/OUTPUT ":v1" variable.
    But with a statement like : "BEGIN MYFUNTION(:v1); END;"
    I get the ORA-24333 error after the call to OCIStmtExecute().
    I get this error only when I set OCI_DESCRIBE_ONLY. If I call OCIStmtExecute() with OCI_DEFAULT, the OCI execute the statement. This is fine but it's not what I want. I cannot change the statement received (by design), so they should be proceeded as received.
    What I'm looking for is a way to successfully perform the OCIStmtExecute() with OCI_DESCRIBE_ONLY set in order to get the list of variables columns related to the current statement.
    Any help would be greatly apprecitated here. Thanks !
    Here are my current configurations.
    -> Windows 2000 SP5 OCI 8i / VC++ 6.0
    -> Macintosh OS X 10.3.4 / Code Warrior 8.3
    (The code produce exactly the same results/troubles on both plateforms.)
    Thanks in advance for your respons.

  • Today is April 10, 2013. I try to login to iTunes connect and I keep getting the message "An error has occurred processing your request. Please try again later or send an email for assistance." It never tells us what email address we need to write to.

    Today is April 10, 2013. I try to login to iTunes connect and I keep getting the message "An error has occurred processing your request. Please try again later or send an email for assistance." It never tells us what email address we need to write to.

    The problem was solved by Apple Technical Help. The process is as flollows:
    1. Open Safari
    2. Menu item Safari-Reset Safari - remove all website data - reset
    3. Now if you try to login on iTunes connect it will work.

  • ITunes radio was working last night and now today I get the message An error occurred while contacting the radio tuning service. Check your internet connection, or try again later" What's up?

    ITunes radio was working last night and now today I get the message "An error occurred while contacting the radio tuning service. Check your internet connection, or try again later"
    What's up?

    Two things to try, first, reset your PRAM.
    Next, try rebooting your computer.
    Please post back with results,

  • ORA-12154 Error

    Hi there,
    I am having a problem connecting to a database that we have just created on a new server. The connection is fine using SQL*PLus, Enterprise Manager or SQL Developer, but we have an application that connects to this database sitting on the same server and this returns the error listed above. The username / pwd etc are all correct in the config file, and is a .NET app, but I cannot understand why it won't connect. I am using the standard oracle client (Oracle.Client) in .NET, the only real difference is that I am running the software on a x64 OS, could this be causing a problem?
    Many thanks for any help that you might be able to provide
    Dan

    Hi Dan,
    It sounds like the local sqlnet.ora or listener.ora file is wrong . . .
    The ORA-12154 is a very common error, always related to your local copy of the tnsnames.ora file, your listener configuration and your database name aliases.
    Make sure that your listener is listening for the same service name that you are using.
    Your service name might have an alias, so check for global (world) entries and local entries. Check $ORACLE_HOME/network/admin/tnsnames.ora.
    Check your global_name setting with this SQL:
    select * from global_name;
    The query value should match your init.ora parms for db_name and db_domain, You can change the global_name with an alter database commend, as follows:
    alter database rename global_name to xxx;
    ORA-12154: TNS:could not resolve the connect identifier specified
    Cause: A connection to a database or other service was requested using a connect identifier, and the connect identifier specified could not be resolved into a connect descriptor using one of the naming methods configured. For example, if the type of connect identifier used was a net service name then the net service name could not be found in a naming method repository, or the repository could not be located or reached.
    Action: - If you are using local naming (TNSNAMES.ORA file):
    - Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA)
    - Verify that a TNSNAMES.ORA file exists and is in the proper directory and is accessible.
    - Check that the net service name used as the connect identifier exists in the TNSNAMES.ORA file.
    - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA file. Look for unmatched parentheses or stray characters. Errors in a TNSNAMES.ORA file may make it unusable.
    - If you are using directory naming:
    - Verify that "LDAP" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Verify that the LDAP directory server is up and that it is accessible.
    - Verify that the net service name or database name used as the connect identifier is configured in the directory.
    - Verify that the default context being used is correct by specifying a fully qualified net service name or a full LDAP DN as the connect identifier
    - If you are using easy connect naming:
    - Verify that "EZCONNECT" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Make sure the host, port and service name specified are correct.
    - Try enclosing the connect identifier in quote marks. See the Oracle Net Services Administrators Guide or the Oracle operating system specific guide for more information on naming.

  • ORA-12154 Error After Install of Enterprise Manager

    I have a new new laptop with minimal software installed. Everything was fine and I was able to connect to 4 different Oracle 9i databases.
    This morning I installed Oracle Enterprise Manager (10g) and now I get the dreaded ORA-12154 error.
    I now find a copy of TNSNAMES.ORA in three places. I have copied the correct version to the two new 10G locations and I have verified that all three copies of TNSNAMES.ORA and SQLNET.ORA are correct and identical.
    Do anybody have any idea what else could be wrong?

    I am certain the TNSNAMES.ORA file is fine as it is "pushed" from a central IT department. I have compared it to the one on a second computer (which has only 9i installed) in my office and they are identical.
    I examined the Oracle 9i directories and there was no LISTENER.ORA anywhere. On the 9i only computer the command - C:\>dir listener.ora /s /p executed in a DOS window returned no files.
    Everything was working fine until I installed Enterprise Manager 10g (10.2.0.2.1).
    I have TOAD installed and it connects to both of the 9i development and production databases, so I know the TNSNAMES.ORA is okay.
    It woudl seem that there is a conflict between 10g and 9i Developer/2000.

  • I am unable to install Itunes on Windows 7 as I am getting the message "an error occured during the installation of assembly "Microsoft VC80.CRT Type ="win32" version="8.0.50727.6195",public key token 1fc8b 3b 9a 1e 18e 3b",processorArchitecture="x86".Ple

    I am unable to install Itunes on Windows 7 as I am getting the message "an error occured during the installation of assembly "Microsoft VC80.CRT Type ="win32" version="8.0.50727.6195”,public key token 1fc8b 3b 9a 1e 18e 3b”,processorArchitecture=”x86”.Please refer to Help and Support for more information:"HResult 0x800736FD

    I found htis other post https://discussions.apple.com/thread/3401328?start=0&tstart=0
    I also found this in another post
    These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
    Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
    If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? (For example, 8007000B.)

  • I am unable to install Itunes on Windows 7 as I am getting the message "an error occured during the installation of assembly "Microsoft VC80.CRT Type ="win32" version="8.0.50727.4053,public key token....."HResult 0X8007054f

    I am unable to install Itunes on Windows 7 as I am getting the message "an error occured during the installation of assembly "Microsoft VC80.CRT Type ="win32" version="8.0.50727.4053,public key token....."HResult 0X8007054f

    I found htis other post https://discussions.apple.com/thread/3401328?start=0&tstart=0
    I also found this in another post
    These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
    Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
    If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? (For example, 8007000B.)

  • I cannot download itunes on my pc.  I get the message "An error occurred during the installation of assembly. "microsoft.VC80.CRT.type=8 0.50727.4053". publicKeyToken="1fc8b3b9a1e18e3b". processor rArchitecture=amd64".

    i cannot download itunes on my pc.  I get the message "An error occurred during the installation of assembly. "microsoft.VC80.CRT.type=8 0.50727.4053". publicKeyToken="1fc8b3b9a1e18e3b". processor rArchitecture=amd64".
    Please help. Have just bought a new ipod and cannot use it !!! Thank you.

    Hi Gurmo,
    HRESULT: 0x80073712 means ERROR_SXS_COMPONENT_STORE_CORRUPT, and it is one of the error codes listed at this
    KB article.
    I suggest you run the System Update Readiness tool and check if the error still persists.
    There is a similar thread for your reference.
    https://social.technet.microsoft.com/Forums/en-US/0b3d0479-b9c0-4551-a623-1519ce7584af/error-when-installing-sql-server-2008-r2-rtm-on-windows-server-2008-r2-foundation?forum=winservergen
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • When I try to download the newest version of iTunes, I get the message : "An error occured during the installation of assembly "policy 8.0 Microsoft VC80.CRT type= "win32-policy".version="8.0.50727.6195.public Key Token="1fc8b3b9a1e18e3b.processorArchitct

    When I try to download the newest version of iTunes, I get the message : "An error occured during the installation of assembly "policy 8.0 Microsoft VC80.CRT type= "win32-policy".version="8.0.50727.6195.public Key Token="1fc8b3b9a1e18e3b.processorArchitecture = "x86" Please refer to help and support.
    Ok I cant find a way to fix this so I basically cant use my Verizon Iphone 4 because it wont connect on an old version...

    OK.  You may have to reinstall everything from scratch but follow following steps:
    1. Go to Microsoft website to fix install and Unistall problems. Click "Run now" from Fix it to remove all iTunes & related installer files:
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Be aware that Windows Installer CleanUp Utility will not remove the actual program from your computer. However, it will remove the installation files so that you can start the installation, upgrade, or uninstall over.
    2. You should remove all instances of iTunes and the rest of the components listed below:
    it may be necessary to remove all traces of iTunes, QuickTime, and related software components from your computer before reinstalling iTunes.
    Use the Control Panel to uninstall iTunes and related software components in the following order:
    iTunes
    QuickTime
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Follow the instructions from Apple article listed here: http://support.apple.com/kb/HT1923 to remove all components
    3. Reboot your computer. Next, download iTunes from here:http://www.apple.com/itunes/download/ and install from scratch

  • Why am I getting an ORA-04052 error when I try to compile a Procedure?

    Hi,
    The following procedure I'm getting an ORA-04052 error when I try to compile the following procedure.
    CREATE OR REPLACE PROCEDURE APPS.Find_String (
    pin_referenced_name IN dba_dependencies.referenced_name%TYPE)
    IS
    cursor cur_get_dependancy
    is
    SELECT distinct owner, name, type
      FROM [email protected]        -- prod.world
    WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
       AND referenced_type <> 'SYNONYM'
       AND owner <> 'SYS'
    order by name;
    v_owner  varchar2(40);
    v_name   varchar2(50);
    v_type   varchar2(40);
        BEGIN
           dbms_output.put_line(upper(pin_referenced_name)||' is found in the following objects.');
           dbms_output.put_line(' ');
           dbms_output.put_line(RPAD('OWNER', 30, ' ')||RPAD('NAME', 60, ' ')||RPAD('OBJECT TYPE', 30, ' '));
           dbms_output.put_line('-------------------------------------------------------------------------------------------------------------------');
            FOR i IN cur_get_dependancy
            LOOP
                v_owner := RPAD(i.owner, 30, ' ');
                v_name  := RPAD(i.name, 45, ' ');
                v_type  := RPAD(i.type, 30, ' ');
                dbms_output.put_line(v_owner ||v_name|| v_type);
            END LOOP;
    END find_string;I'm using the link [email protected]. The procedure compiles for other database links used in the cursor including the one commented to the right of the code 'prod.world'.
    What's even stranger is that I took the SELECT statement
    SELECT distinct owner, name, type
      FROM [email protected]        -- prod.world
    WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
       AND referenced_type <> 'SYNONYM'
       AND owner <> 'SYS'
    order by name;out of the procedure and ran it on the command line using the @pinp.world link, the SQL statement ran just fine. But when I tried to compile the above procedure with that exact same SQL statement with the exact same link I get the following string of errors.
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02068: following severe error from PINP
    ORA-03113: end-of-file on communication channelHow can the link work just fine in a regular SQL statement but then cause an error when its compiled in code that otherwise compile just fine when using any other link or even just a plain database. Does anyone have any suggestions?

    OK Justin,
    Here's the query by itself run in another database using the @pinp.world link and querying the dba_dependencies table in the pinp.world database. As you can see the query using this link works just fine returning the requested rows. I can't figure out why the compiler is having an issue with essentially this same query when I try to compile it in a cursor in TOAD. Also this is the database (dev1.world) that I'm trying to compile this Procedure in.
    By the way I'm in an Oracle 9.2.0.6 database and TOAD v9.2.
    SQL> conn apps/apps1@dev1
    Connected.
    SQL> SELECT distinct owner, name, type
      2    FROM [email protected]
      3   WHERE lower(referenced_name) = lower('ALL_USERS')
      4     AND referenced_type <> 'SYNONYM'
      5     AND owner <> 'SYS'
      6   order by name;
    OWNER                          NAME                           TYPE
    PUBLIC                         ALL_USERS                      SYNONYM
    XDB                            DBMS_XDBUTIL_INT               PACKAGE BODY
    XDB                            DBMS_XDBZ0                     PACKAGE BODY
    SYSTEM                         MVIEW_EVALUATIONS              VIEW
    SYSTEM                         MVIEW_EXCEPTIONS               VIEW
    SYSTEM                         MVIEW_FILTER                   VIEW
    SYSTEM                         MVIEW_LOG                      VIEW
    SYSTEM                         MVIEW_RECOMMENDATIONS          VIEW
    SYSTEM                         MVIEW_WORKLOAD                 VIEW
    ORASSO                         WWCTX_API                      PACKAGE BODY
    PORTAL                         WWCTX_API                      PACKAGE BODY
    ORASSO                         WWEXP_UTL                      PACKAGE BODY
    PORTAL                         WWEXP_UTL                      PACKAGE BODY
    PORTAL                         WWPOB_API_PAGE                 PACKAGE BODY
    PORTAL                         WWPOF                          PACKAGE BODY
    ORASSO                         WWPRO_PROVIDER_VALIDATION      PACKAGE BODY
    PORTAL                         WWPRO_PROVIDER_VALIDATION      PACKAGE BODY
    PORTAL                         WWSBR_EDIT_ATTRIBUTE           PACKAGE BODY
    PORTAL                         WWSBR_FOLDER_PORTLET           PACKAGE BODY
    PORTAL                         WWSBR_USER_PAGES_PORTLET       PACKAGE BODY
    ORASSO                         WWUTL_API_PARSE                PACKAGE BODY
    OWNER                          NAME                           TYPE
    PORTAL                         WWUTL_API_PARSE                PACKAGE BODY
    PORTAL                         WWUTL_EXPORT_IMPORT_LOV        PACKAGE BODY
    ORASSO                         WWUTL_LOV                      PACKAGE BODY
    PORTAL                         WWUTL_LOV                      PACKAGE BODY
    PORTAL                         WWV_CONTEXT                    PACKAGE BODY
    PORTAL                         WWV_CONTEXT_UTIL               PACKAGE BODY
    PORTAL                         WWV_DDL                        PACKAGE BODY
    PORTAL                         WWV_GENERATE_UTL               PACKAGE BODY
    PORTAL                         WWV_GLOBAL                     PACKAGE
    PORTAL                         WWV_MONITOR_DATABASE           PACKAGE BODY
    PORTAL                         WWV_PARSE_AS_SPECIFIC_USER     PACKAGE BODY
    PORTAL                         WWV_PARSE_AS_USER              PACKAGE BODY
    PORTAL                         WWV_SYS_DML                    PACKAGE BODY
    PORTAL                         WWV_SYS_RENDER_HIERARCHY       PACKAGE BODY
    PORTAL                         WWV_THINGSAVE                  PACKAGE BODY
    PORTAL                         WWV_UTIL                       PACKAGE BODY
    PORTAL                         WWV_UTLVALID                   PACKAGE BODY
    38 rows selected.
    SQL>Let me know what you think.
    Thanks again.

Maybe you are looking for

  • Intel, 3d problem

    Hello, recently i updated my video drivers and i have this problem, here's some screenshots Untitled - Paveikslėlio peržiūra. Untitled - Paveikslėlio peržiūra. http://www.part.lt/perziura/4d79c9d860af53fcc34109a212240376527.png

  • Dummy profit center-company code assignment

    Dear Experts, How to deactivate company code assignment in dummy profit center? by mistake we selected one company code in dummy profit center, for which profit center accounting is not applicable, so we tried to remove the check box in profit center

  • Can i user UserTransaction  in a Container-managed transaction Bean

    can i use UserTransaction to control transaction boundaries in a container-managed transaction bean method? below is the method: there is one-to-many between Employees and SalaryItem @TransactionAttribute(value = TransactionAttributeType.REQUIRED) pr

  • I am unable to import raw images into elements 11 camera raw from my panasonic lumix 200

    I am unable to import raw files to E11 from my Panasonic Lumix 200. I get a response that says "nothing imported - no supportive file types" also "can't complete request as file appears to be from a camera model which is not supported by installed ve

  • Resizing frames issue in CS5

    When I resize an image or text frame by dragging a corner or side, there is a delay or a slowness where my mouse moves and the frame edge takes a while to catch up. Very annoying. CS4 worked great. Crisp and "on time" as it were. Anyone know if there