More ORA-12154, Tried FAQ and Search

I am getting this error when I try to open an Oracle connection in .Net 3.5 application on Visual Studio 2008. If I publish the application to the web server, the Oracle code works fine so I don't believe it is a code issue.
I have Oracle 11g and 10g on my PC. I have copied the Oracle tnsnames.ora and sqlnet.ora from our master location on a server to the local Network/ADMIN folders. I am confident that the content of those two files are correct because, if they weren't, then thousands of users on our network would becomplaining.
I can connect to the server I need using the Server Explorer Data Connections in Visual Studio and tnsping is successful when run against the target server. Regardless of all these successes, I still get "ORA-12154 :could not resolve the connect identifier specified" when I execute conn.Open().
I am sure that the connection string is correct because I copied and pasted from it to set up the Data Connection in Visual Studio's Server Explorer.
Is there anything else I can do? How does Visual Studio or the .Net framework decide where to look for tnsnames.ora? Any help at all will be greatly appreciated.

I am getting this error when I try to open an Oracle connection in .Net 3.5 application on Visual Studio 2008. If I publish the application to the web server, the Oracle code works fine so I don't believe it is a code issue.
I have Oracle 11g and 10g on my PC. I have copied the Oracle tnsnames.ora and sqlnet.ora from our master location on a server to the local Network/ADMIN folders. I am confident that the content of those two files are correct because, if they weren't, then thousands of users on our network would becomplaining.
I can connect to the server I need using the Server Explorer Data Connections in Visual Studio and tnsping is successful when run against the target server. Regardless of all these successes, I still get "ORA-12154 :could not resolve the connect identifier specified" when I execute conn.Open().
I am sure that the connection string is correct because I copied and pasted from it to set up the Data Connection in Visual Studio's Server Explorer.
Is there anything else I can do? How does Visual Studio or the .Net framework decide where to look for tnsnames.ora? Any help at all will be greatly appreciated.

Similar Messages

  • Hi - how do  I download items already purchased?  I have tried store and search for available nloads but it t

    Hi - how do  I download items already purchased?  I have tried store and search for available downloads but it tells me they are already downloaded - they are not however - fyi I lost my phone so I am using a new phone with the same apple id and assumed I could just re-access my previously purcahsed items - how do I find them to download?
    Many thanks

    many thanks for a really fast response - Yes I have seen on other postings since you only get one hit and you are right I should have backed up and didn't as I am a bit of a novice and naive (but learning fast now).  Have used your suggestion and accessed and downloaded some historical apps.
    many thanks - I will ensure I back up regularly going forward. 
    Thanks again

  • I got the error ORA-12154 trying to connect my app but not with the SQLplus

    Hello! i need your help,
    I have a client (Win XP SP2) and i'm trying to connect to the database in the server (Windows 2003, Oracle 10G) using the SQL plus, this is ok, but i try to do it throught the application developed in Developer 6i and i cannot, i got the error: ORA-12154 TNS:could not resolve service name. I tried to solve it by setting the env. var TNS_ADMIN and i still have the same error.
    Could anyone help me?, please

    Hi,
    Check for following file TNSNAMES.ORA at location;
    C:\<Forms-directory>\NET80\ADMIN
    See, if your service name is added to your file. If not then add a new entry like;
    gsm.world =
    (DESCRIPTION =
    (ADDRESS = (COMMUNITY = tcp)(PROTOCOL = TCP)(Host = 10.0.1.22)(Port = 1521))
    (CONNECT_DATA = (SID = gsm))
    Where:
    gsm.world = your service through which you connect to databse.
    Host = ip address of machine where oracle server is running.
    sid = name of your database
    If you already have entry of service in TNSNAMES.ora file then paste you service here as is did , so that we can check because the error you are facing is only due to service problem. Please update........

  • Error ORA-12154 trying to connect with instant client 11g / LDAP on Ubuntu

    Hello,
    I have successfully installed instant client 11.2.0.2 and sqlplus on my Ubuntu 11.04 workstation. I am able to successfully connect to DB's defined in tnsnames.ora, but when the resolution is (or should be) by LDAP, I get error
    ORA-12154: TNS:could not resolve the connect identifier specified
    Note: while it's fine for testing, it's not a viable option to setup all the DB's defined in the OID in tnsnames.ora - I need to use LDAP.
    My setup is as follows:
    Install folder: /opt/oracle/instantclient_11_2
    TNS_ADMIN=/opt/oracle/instantclient_11_2/
    sqlnet.ora
    NAMES.DIRECTORY_PATH=(TNSNAMES,LDAP)
    I am certain that tnsnames.ora and ldap.ora are valid, as I can connect successfully on another machine with the full client installed using the same files.
    I tried to setup tracing in sqlnet.ora as follows
    TRACE_LEVEL_CLIENT = SUPPORT
    TRACE_DIRECTORY_CLIENT = /tmp
    TRACE_FILE_CLIENT = sqlnet.trc
    but not trace file gets generated in /tmp - am I doing something wrong ? (Note, I also tried to set DIAG_ADR_ENABLED=OFF as suggested by Laurenz Albe in Instant client don't work trace but that did not help)
    I checked DocID=359206.1 but I don't think that applies as I'm on 11g.
    Hope someone can help. Thanks in advance !

    rgoold, you are a star ! I should have thought about line endings of course. Many thanks for your suggestion, that fixed the problem.
    # file *.ora
    ldap.ora: ASCII text, with CRLF line terminators
    sqlnet.ora: ASCII text, with CRLF line terminators
    # dos2unix *.ora
    dos2unix: converting file ldap.ora to UNIX format ...
    dos2unix: converting file sqlnet.ora to UNIX format ...
    # ./sqlplus -L user@database
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 5 15:26:16 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    WOHOOOOO !!! :-)

  • ORA-12154 trying to connect using TOAD

    Hi all,
    I have Oracle 10G up and running on W2K, and working fine with sqlplus.
    I have setup the registration KEYS (HKEY_LOCAL_MACHINE/...) so TOAD can look at the proper Database, but when I try to connect, I get the famous (and frustrating!) "ORA-12154: TNS:listener does not currently know of service requested in connect descriptor".
    the TNSPING works fine as well as requested in the TOAD help file.
    I don't really know what I have to do at this stage. Any idea is welcome.
    Thanks,
    Philippe Le Mounier

    Try this:
    set ORACLE_HOME and ORACLE_SID environment variables to the correct values by right clicking on "My Computer" on desktop and clicking:
    Properties -> Environment Variables -> New
    And then try connecting to TOAD.
    I would suggest restoring the registry entries to their original values (since the connecting should work without changing any registry entries).

  • Ora-12154 is finished and now ora-12514

    Hi,
    I have installed oracle client 10.0.2 on Windows Server 2003 R2 SP1, and then I copied tnsname.ora from another server (Windows Server 2003 SP1 ora client 10.0.2), which is used everyday.
    There is only one oracle foler on this server and only one tnsname.ora.
    ping DB server OK!
    tnsping OK!
    test connection from Net Manager OK!
    test connection from Net Configuration Assistant OK!
    sqlplus user/password@SID NOT ok!
    error:
    ORA-12154: TNS:could not resolve the connect identifier specified
    tnsname.ora:
    SLMP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.5.56)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = SLMP)
    listner.ora:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxx)(PORT = 1521))
    sqlnet.ora:
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    hat anyone suggestion?
    Thanks a lot!
    Message was edited by:
    Nerbcq
    Message was edited by:
    Nerbcq

    At the command prompt on the server, enter 'lsnrctl status' to find out which services the listener recognizes. If a relatively new version of Oracle, re-register the service by connecting to the database instance (using SQLPlus) as a DBA, issuing 'alter system register;' and checking the listener status again.
    One thing that might be giving a problem is the use of multiple listeners on the host. Or using a non-default port (lsnrctl status does not display port 1521).

  • IPod Not Showing in iTunes - Already Tried FAQ and Restoration

    Hi,
    I'm having trouble updating my iPod mini. When connected to the computer, the "Do not connect" screen still flashes, and ipod shows up in the "Safely Remore Hardware" screen. It just doesn't show up in iTunes.
    I already went online to the support pages and have found the article on this, but everything there didn't work (including reistalling iTunes, deleting the bin folder, the stuff with ipodservice.exe, etc.) I also have just come back from the Apple store that just tried to restore the iPod. The ipod DID show up in the assistant's laptop's itunes. Why isn't it showing up in my itunes at home?
    This only started happening about a week ago. It worked fine before that, and I didn't make any noticable changes since then.
    If you have any ides, I'd appreciate it.
    Thanks.
    Ipod Mini   Windows XP  

    OK, here's an update. I got it to work, sort of. Firstly i completely uninstalled both ipod updater and itunes and resarted the computer then i reinstalled them and restarted the computer. Then I restored my ipod again for the umpteenth time. I had done all of these things multiple times, but here's the catch, When i plugged it back into the wall after the restore i left it there until it was fully charged and I mean fully. Then i plugged it into the computer.
    The computer immediately recognized, itunes took some finagling, i had to end ipodservice.exe in task manager, did run ipodservice.exe, the instructions are on this site under itunes doesn't recognize ipod but windows does. SO i got it to work i was jumping for joy as itunes was copying all my songs back on to my ipod, then it suddenly stopped. Said update complete even though it had only copied about 25% of my songs. and i couldn't get the ipod to respond. I had to finally after ejecting it in itunes and trying to manually stop it and neither getting rid of the do no disconnect on my ipod, i had to "gasp" just pull it out. But the songs were on there and i plugged it back into the wall.
    This morning i plugged it in again and it worked again, but the moment it became halfway discharged it would freeze and my computer won't charge it.
    Compaq Presario R3000   Windows XP   4G ipod

  • Already read the FAQ and searched and still have popping in my speake

    System is;
    AMD Athlon 64 3000
    Asus A8N-SLI Premium
    ATi X800XL
    ATi TV Wonder Pro
    SoundBlaster Audigy 2 Platinum
    Maxtor 300GB SATA HD
    4 Western Digital 80GB HDDs - RAID 0
    .5 GB Ram
    Klipsch Pro Media 5.
    Developed popping/cracking on my Asus A7N8X-Deluxe MOBO. Upgraded to Asus A8N-SLI Premium MOBO along with new CPU and Vid card. Still have popping/crackling in speakers. Even have same problem using headphones. Popping/Crackling is gone when using on-board audio with either MOBO. Card is on IRQ 6 and shared with Texas Instruments OHCI compliant IEEE 394 Host Controller. Is the Audigy toast or what?

    I had the same problem after an upgrade to 3.6.3.
    I was using password manager for a number of web sites before. Not using cookies but password manager.
    After 3.6.3 auto upgrade it did not work.
    I could not enter private browsing mode.
    When I looked in tools>options>security at my saved passwords the list was blank. The button in the saved passwords dialog that normally says "Show saved passwords" was actually blank (the button was there but there was no text on it).
    I did have my old bookmarks and was able to create new ones but oddly the bookmark all tabs menu function wouldn't work.
    I decided to reinstall firefox 3.6.3. There is no way something with that many bugs got out!
    I was able to get the full firefox executable from http://mozilla.com
    I closed all firefox windows and ran the installation.
    After re-running the install and starting firefox everything was fine. It must have been a bad download or the original install got messed up somehow.
    I hope you have the same good fortune I had!

  • Ora-12154 vs. tns-03505

    Since both ora-12154 and tns(ora)-03505 deal with not being able to locate a connect string in tnsnames (or other naming method), has anyone ever seen a good definition of exactly what differentiates between the two? What little variable would trigger the issuing of one error msg.vs. the other?
    I know how to resolve them. The web is full of descriptions on resolving the problem (some of them are even valid! ;-) ). But I've never seen anything that would define why you would see an ora-12154 on time, and an tns-03505 another time.
    Inquiring minds want to know! (Since this deals with published error codes, it's <i>somewhat</i> less arcane than how the archiver determines the "first" member of a redolog group! :-)

    sybrand_b wrote:
    IIRC only tnsping will produce tns-03505.
    Sybrand Bakker
    Senior Oracle DBACould be. I never picked up on any pattern of behavior before (thus my question). A simple test seems to bear that out:
    With tnsping
    [oracle@vmlnx01 ~]$ tnsping fubar
    TNS Ping Utility for Linux: Version 10.2.0.4.0 - Production on 16-FEB-2011 16:33
    Copyright (c) 1997,  2007, Oracle.  All rights reserved.
    Used parameter files:
    /ora00/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    TNS-03505: Failed to resolve namesame connect string with sqlplus
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger@fubar
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Feb 16 16:35:53 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name:

  • Sql@loader-704  and ORA-12154: error messages when trying to load data with SQL Loader

    I have a data base with two tables that is used by Apex 4.2. One table has 800,000 records . The other has 7 million records
    The client recently upgraded from Apex 3.2 to Apex 4.2 . We exported/imported the data to the new location with no problems
    The source of the data is an old mainframe system; I needed to make changes to the source data and then load the tables.
    The first time I loaded the data i did it from a command line with SQL loader
    Now when I try to load the data I get this message:
    sql@loader-704 Internal error: ulconnect OCISERVERATTACH
    ORA-12154: tns:could not resolve the connect identifier specified
    I've searched for postings on these error message and they all seem to say that SQL Ldr can't find my TNSNAMES file.
    I am able to  connect and load data with SQL Developer; so SQL developer is able to find the TNSNAMES file
    However SQL Developer will not let me load a file this big
    I have also tried to load the file within Apex  (SQL Workshop/ Utilities) but again, the file is too big.
    So it seems like SQL Loader is the only option
    I did find one post online that said to set an environment variable with the path to the TNSNAMES file, but that didn't work..
    Not sure what else to try or where to look
    thanks

    Hi,
    You must have more than one tnsnames file or multiple installations of oracle. What i suggest you do (as I'm sure will be mentioned in ed's link that you were already pointed at) is the following (* i assume you are on windows?)
    open a command prompt
    set TNS_ADMIN=PATH_TO_DIRECTOT_THAT_CONTAINS_CORRECT_TNSNAMES_FILE (i.e. something like set TNS_ADMIN=c:\oracle\network\admin)
    This will tell oracle use the config files you find here and no others
    then try sqlldr user/pass@db (in the same dos window)
    see if that connects and let us know.
    Cheers,
    Harry
    http://dbaharrison.blogspot.com

  • Error while trying to retrieve text for error ORA-12154

    Hello,
    I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
    On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
    I've declare many environnement variables :
    - NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
    - TNS_ADMIN : E:\...\oracle\instantclient_10_1
    - ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
    With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
    When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
    If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
    A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
    oci8
    OCI8 Support enabled
    Revision $Revision: 1.269.2.8 $
    Active Persistent Connections 0
    Active Connections 0
    Temporary Lob support enabled
    Collections support enabled
    Do you have any idea ? Thanks a lot

    The web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
    These may help:
    http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
    http://blogs.oracle.com/opal/2006/05/01

  • Ora-12154  problem with database link and transparent gateway

    Hello,
    I’m trying to make a communication between oracle and SQL server 2005.
    I use oracle 10g E.E Release 10.2.0.3.0 and the transparent gateway for SQL server 10201_gatway_win32.zip.
    Install:
    The oracle database is installed into a server named ss-serv. This server has two partition disk C and E. Oracle database is installed in E and the gateway in C. There is already a database (instance) running in the oracle home (in E).
    I configured the gateway as described into: http://download.oracle.com/docs/cd/B...3/conf_sql.htm.
    In sql server 2005, there is a database running named ClientTricks.
    I created a user named Avogadro with a login.
    In the partition C where the gateway is installed, the file inittg4msql.ora is like this:
    HS_FDS_CONNECT_INFO= ss-serv. ClientTricks
    The file sqlnet.ora where the gateway is installed is configured like this:
    SQLNET.AUTHENTIFICATION_SERVICES=(NTS)
    NAMES.DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
    I configured the listener that is in the C partition where the gateway is installed, and the tnsnames that is in the oracle database in E partition disk like this:
    Listener :
    LISTENER=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=ss-serv)
    (PORT=1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=tg4msql)
    (ORACLE_HOME=C:\oracle\product\10.2.0\tg_1)
    (PROGRAM=tg4msql)
    tnsnames:
    mytg4msql=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=ss-serv)
    (PORT=1521)
    (CONNECT_DATA=
    (SID=tg4msql))
    (HS=OK))
    After edited the listener, I stop and start the listener for the transparent gateway from administrative tools in the services.
    Then, connected in oracle (in a database named fakeclient) I created a database link in sqlplus.The the dblink were created, but when I tried to querry some data from ClientTricks by executing the following instructions:
    select * from s_client@dblink
    i got this fatal and terrible error :
    ora-12154 TNS:could not resolve the connect identifier specified
    I verified all my procedure and stapes, all seems to be good. I did a tnsping of mytg4msql
    I got this error in the command prompt:TNS-03505 fail to resolve name
    Could someone help me ?
    Sorry for my English ,I’m French
    best regards

    Hi Mkirtley,
    i clarify you what i've done:
    Pease have a look in the link in my first post. Then, i said that in oracle database home the listener is in port 1521
    here is this listener:
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=PLSExtproc)
    (ORACLE_HOME=E:\oracle\production\10.2.0\db_1)
    (PROGRAM=extproc)
    LISTENER=
    (DESCRIPTION_LIST=
    (DESCRIPTION=
    (ADDRESS= (PROTOCOL=TCP)(HOST=ss-serv)(PORT=1521))
    (ADDRESS= (PROTOCOL=IPC)(KEY=EXTPROC0))
    Here is the tnsnames.ora in oracle database home:
    N.B in this ora file, there's already some descriptions for the database running, so i just add these lines under the description in ora file.Here is:
    Jest=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=TCP)(HOST=ss-serv)(PORT=2000))
    (CONNECT_DATA=
    (SID=tg4msql)
    (HS=OK)
    for the listener of the gateway (installed in C partition):
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=tg4msql)
    (ORACLE_HOME=C:\oracle\production\10.2.0\tg_1)
    (PROGRAM=tg4msql)
    LISTENER=
    (DESCRIPTION_LIST=
    (DESCRIPTION=
    (ADDRESS= (PROTOCOL=TCP)(HOST=ss-serv)(PORT=2000))
    (ADDRESS= (PROTOCOL=IPC)(KEY=EXTPROC1))
    here are all i did.
    Best regards

  • ORA-12154 error when trying to connect to Oracle 11g DB from Excel 2010

    All,
    I am trying to set up Excel 2010 64-bit to connect to an Oracle 11g database, but am having some trouble due to an "ORA-12154 could not resolve the connect identifier specified" error. I am able to TNSping the SID name, as well as connect to SQLplus. The TNS entry works, and the Oracle Home is in the right spot. I am even able to put the full connection string in the "Data Source" field when creating a data link in Excel and have it connect to the DB. But I would like to be able to create one that used the SID rather than the full connection string, as other users will have to use this. The developer behind the Excel solution created a number of .odc files to connect to various databases, so this gives extra weight behind figuring out how to connect via a SID rather than a full connection string. Any suggestions?

    user10832104 wrote:
    All,
    I am trying to set up Excel 2010 64-bit to connect to an Oracle 11g database, but am having some trouble due to an "ORA-12154 could not resolve the connect identifier specified" error. I am able to TNSping the SID name, as well as connect to SQLplus. The TNS entry works, and the Oracle Home is in the right spot. I am even able to put the full connection string in the "Data Source" field when creating a data link in Excel and have it connect to the DB. But I would like to be able to create one that used the SID rather than the full connection string, as other users will have to use this. The developer behind the Excel solution created a number of .odc files to connect to various databases, so this gives extra weight behind figuring out how to connect via a SID rather than a full connection string. Any suggestions?
    If you are able to connect with sqlplus, then this really becomes a question of how to define a data connection in Excel.
    But after quickly googling ..
    In excel ...
    "Data" tab
    "from other sources"
    "from data connection wizard"
    select ODBC DSN
    On data link properties, select the "connection" tab
    select "Use Data Source Name" and hit the drop-down
    select a dsn that you had previously set up to point to the oracle database.
    Anyway, that looks like how it is supposed to be done.  I'm getting a dll initialization error.  Probably due to the fact I have both 32-bit and 64-bit oracle clients, and windows never handles that very gracefully.  But then Windows never graceffully handles anything that isn't MicroSoft.   To paraphrase Forest Gump, "My momma always said Windows was like a box of chocolates.  You never know what you're going to get."
    In any event, the error you report means it was actually tying to look it up in tnsnames, but what you supplied wasn't found there.  That can also be a big issue when dealing with MS products, because they don't use the same terminology, so lead people into entering something other than what Oracle expects.  Are you referencing an ODBC DSN?  If so, have you tested that apart from Excel?

  • Ora-12154 when trying to connect to database from fortran application

    I am trying to connect to database and run an simple select query to a table(without any where clause) using pro*fortran code.
    the connect strng is like
    exec sql connect :uidpwd
    where uidpwd = username/password@SID
    SID and tnsnames connect string are the same.
    The fortran (profortran) code is placed in the database server and there are no errors when make is run.
    Tnsping is working fine, also i am able to conect using sql*plus and run the same query.
    Please help
    Thanks and Regards
    Nitin

    Hi Nitin
    Thanks for the helpful! With your point I'm now Pro! Great thanks.
    By the way have your seen that?
    Files such as LISTENER.ORA, TNSNAMES.ORA, SQLNET.ORA, if configured manually, or copied and edited from earlier releases of Oracle Database may have record attributes that are incompatible with Oracle Database 10g release 2. The software cannot read such files. The required record format is stream_lf and the record attributes are carriage_control and carriage_return.
    This may result in:
    Inability to start the listener
    Services not registered with the listener
    Inability to connect to other databases
    ORA-12154: TNS:could not resolve service name
    Run the following command on each file affected:
    $ DIR/FULL filename
    An output similar to the following may be displayed:
    Record format: Variable length, maximum 255 bytes
    Record attributes: Carriage return carriage control
    If the output includes the preceding entries, then run the following command:
    $ CONVERT/FDL=SYS$INPUT filename filename
    RECORD
    CARRIAGE_CONTROL CARRIAGE_RETURN
    FORMAT STREAM_LF
    ^Z
    Otherwise herewith an interesting metalink note. Doc ID:      Note:437597.1
    Subject:      Ora-12154 When Executing Pro*Fortran Code Compiled With Oracle 10g.
    Hope this will also help you...
    Cheers
    Hubert

  • 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

Maybe you are looking for

  • XI_J2EE_ADAPTER_SOAP error

    Hi All, One of the message in our XI environment failing with below error Error Category XI_J2EE_ADAPTER_SOAP Error Code INBOUND_DELIVERY_ERROR please suggest any RC steps. thanks -K

  • Offset for variable not working !

    Experts, I have to show sales for last 5 months ( in 5 diff. Columns ) So, i have written CMOD code, where i am converting System date in to Fiscal Year / Period using FM DATE_TO_PERIOD_CONVERT. every thing works good, i do get result. but the proble

  • CIN--MIGO--Wrong excise value

    Hi Buddies, We created STO from Plant to Plant and taken SD side to the delivery and profoma and then excise invoice. In this case, we created one STO- with four deliveries(with partial quantity) -one proforma(combining all deliveries in one proforma

  • Deleted ichat av how do i get it back?

    i have recently bought a macbook and when i downloaded mercury messenger the guys at the apple store said i needed to delete the msnger that comes with the office pack etc, however i deleted ichat by mistake and it is not in my rubbish or anywhere! c

  • I would like to email EE with a question, where is the email?

    I want a quote for 2 land lines (already have them with BT) +unlimited calls.2 mobile sims - unlimited calls, texts etc.Fast fixed broadband - unlimited usageHow do I get a quote by email please?I am a small business (PUB).