Tns problem with Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools

I installed the full
Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio
now I am at the good old "[ORA-12154: TNS:could not resolve the connect identifier specified]" error.
I copied the same tnsnames.ora as used on the db server
onto the client "C:\Oracle\product\11.1.0\client_2\Network\Admin".
The host name is right since a normal ping works. TNSping is not available.
but I get the [ORA-12154: TNS:could not resolve the connect identifier specified] error.
The listener is running and the instance as well since it all works on the source server.
I tried it with
SET path=c:\oracle\product\11.1.0\client_2\bin
but tnsping is still not recognized.
sqlplus works on the other hand when I set it to
SET path=c:\oracle\product\11.1.0\client_2\
what is going on...

hey
u can post your query here, and i think everyone here is to share opinion so do not hesitate to do so and please try to google before posting here,
and we know no one is expert like some people saying 'boring questions' you just try to overcome your problem and you will definitly get your problem solved .
some mpeople ar still there who answeres hopeless questions and say nothing about them but when a fresher askin a qustion is not tolarated by them they think everyone is born DBA here
they always tend to discouraging people here on forums,and i think they are vvolunteers to reduce crowd here on forums, inspite of there experience and people respect them they can not control their anger
so please post you tns here, i think there are ways to ask people to google and search docs first, but not like this
thanks and regards
VD
Edited by: vikrant dixit on Jun 29, 2009 4:33 AM

Similar Messages

  • Oracle 11g ODAC 11.1.0.6.21 on Windows 2008 Standard server gives TNS error

    Hi,
    I have Oracle 11g ODAC 11.1.0.6.21 installed on my Application server that has 32 bit Windows 2008 Standard. The Oracle database 10g is installed on another 2008 server. On database server I can connect using SQLPlus. But on application server I cannot connect using ODAC SQLPlus. I have given correct service name in tnsnames.ora file.
    Error is ORA-12154 TNS: Listener cannot resolve service name
    What's wrong? Is 11.1.0.6.21 not meant for Windows 2008? I did not get any errors while installing.
    This 11.1.0.6.21 works perfectly for me on XP machine.
    I have browsed this forum but not getting clear steps to peform.
    Can someone guide me what is needed?
    Thanks
    Shrini

    Hi,
    The request to connect from the client is reaching the server but it seems the parsing of the service name is either wrong or the information is correct. Here are a couple of suggestions.
    If you have a good known set of sqlnet.ora and tnsnames.ora files on another client where the same connection descriptor works, then backup the curreny client network config files and copy the good known files to the Windows 2008 web server where you see the error. Make sure you recycle the worker processes once the files have been copied.
    Try to connect via Ezconnect and by pass the config files to see if you get the same error.
    //hostname:port/servicenameofdb
    where hostname is the machine where the target database is running
    port is the port on the DB machine where the tns listener is running and listening
    service name is the service name of the target DB
    Use this syntax in the connect string box when attempting to connect from SQL PLUS out of the ODAC home.
    You can also run lsnrctl utility on the server and vertify there is a handler for the service name or instance that is the target,
    HTH
    Jenny B.

  • A simple question about Oracle 11g ODAC  XCopy version

    There is no oracle client on my machine , I have seen Oracle 11g ODAC XCopy version on http://www.oracle.com/technology/software/tech/windows/odpnet/index.html
    its size is only 43m , quite small,what i want to know is :
    Do i have to install any oracle client to devolop program with Oracle 11g ODAC XCopy version ?
    i have seen the Oracle 11g ODAC XCopy version contains Oracle Instant Client 11.1.0.6.0 as follows:
    ODAC1110621Xcopy.zip 43.3 MB (45,461,502 bytes)
    Download Includes :
    Oracle Providers for ASP.NET 11.1.0.6.20
    Oracle Data Provider for .NET 2.0 11.1.0.6.20
    Oracle Data Provider for .NET 1.x 11.1.0.6.20
    Oracle Provider for OLE DB 11.1.0.6.20
    Oracle Objects for OLE 11.1.0.6.20
    Oracle Services for Microsoft Transaction Server 11.1.0.6.0
    Oracle Instant Client 11.1.0.6.0
    help ,please!

    I've solved this problem ,:)

  • Installing Oracle 11g ODAC 11.1.0.5.10 Beta

    I've installed Oracle 11g ODAC 11.1.0.5.10 Beta.
    It came back with installation successful.
    How do I get the Oracle Database Server(Oracle ODP.NET) to appear as one of my datasource choices?
    I added the Oracle.DataAccess.dll (v. 2.111.5.10) to my bin folder. I restarted VS2005, dropped a gridview on the page, selected NewDatasource. My only options are for Microsoft.

    This step by step tutorial should help you out:
    http://www.oracle.com/technology/obe/net11gobe/building.net/vs_otn2.htm
    There are parts of the tutorial that you can skip since you are only interested in ODP.NET showing up as a data source and using it within a gridview.

  • Oracle 11g on IBM-AIX 5.3 LPAR with VIO-server

    Hi
    We are researching the implementation of Oracle RAC 11g on an IBM LPAR solution running IBM AIX 5.3 TL06
    These LPAR's use a VIO-server for I/O access.
    Now the one document says VIO isn't supported for Oracle RAC, the other document says it is, and jet another states it is only supported for use with ASM
    Can someone point me to a site with actual support information and/or can anyone tell me if RAC actually works on a LPAR with a VIO-server
    Thanks in Advance

    IBM AIX 5.3 VIO is currently supported for all Oracle products, database and/or ERP including certain RAC Configurations as documented in Metalink certify.
    Check metalink note 282036.1
    If You want to use RAC, then 10.2.0.3 RAC or higher must be used and only the Oracle Automatic Storage Management (ASM) feature is approved for Oracle RAC and VIOS configurations.
    No other restrictions.
    In Your case You can use 11g RAC with VIO, but don't forget that ASM should be used as well.

  • Oracle 11g 11.1.0.6.0 Standard with Reports 10g . Intranet possible?

    Friends,
    I have Oracle 11g Standard edition and Reports 10g in Win XP. How can I publish my reports in Intranet?
    Kindly guide me
    -mathews

    The reports generated by Reports Builder 10g
    -mathews

  • Oracle 11g- Straing behaviour of query after importing from Oracle 10g

    Hi,
    I have a table in Oracle 10g as follows:
    Create Table xyz (col1 varchar2(50), col2 varchar2(50));
    With following Data
    Col1     Col2
    A     320
    A     110
    A     290
    A     380
    B     ABC
    B     256
    B     LMN
    I am running following Query
    select * from xyz
    Where Col1='A' and Col2=110
    It works fine. But when I export this table and import it in Oracle 11g. It says invlid identifier.
    But if I enclose 110 in single quotes. It works fine.
    Also If I recreate this table in Oracle 11g like
    Create table xyz1
    as select * from xyz;
    Now alos I am able to run this query smoothly.
    select * from xyz1
    Where Col1='A' and Col2=110
    What is wrong exporting this table from 10g to 11g.
    Any comments/suggestion??
    Aarbi

    The check in your where clause
    Col2=110Is comparing a string (Col2 is defined as a VARCHAR) with a numeric literal, so there will be an implicit conversion taking place from character to number. The query then fails due to the B LMN row when 'LMN' fails number conversion.
    I'm guessing there was there an index on the table in your 10g installation which would allow the query to be satisfied without checking the B ABC or B LMN rows but is not present or not used in the 11g installation so a full table scan results in an attempt to convert 'ABC' and 'LMN' to a number. Check the explain plans.
    Or it could even just be a difference in the order in which the two conditions in the where clause are evaulated between the two versions.
    The solution, as you have already found is to do a string comparision
    Col2='110'Edited by: Cyn on Dec 7, 2009 12:38 PM

  • Oracle 11g ODAC with Oracle 10g Database

    Hi,
    I am trying to work with SDO_GEOMETRY from .Net.
    When selecting * to a DataSet exception is thrown - Unknown column type.
    So, i saw that Oracle Data Provider for .NET 2.0 11.1.0.6.20 supports User Defined Types. My question is this:
    If i will install only ODP 11.1.0.6.20, will my system still work with everything else from 10g version?
    (It's very hard to convince bosses to transfer all DB to 11g just because of UDT, so it's not an option).
    Thanks in advance,
    Max

    I also just discovered this thread:
    Which version of ODT should I use?
    That does it for me.

  • Database link from Oracle 11g (64 bit) to MySQL over UnixODBC with dg4odbc

    Hello,
    I want to connect to a MySQL Database from Oracle over a database link, but i get always the Error Message ORA-28528: Heterogeneous Services datatype conversion error .
    In the forum or internet I can't find a solution for my problem, so I try now to post this problem.
    Here a detailed description of the problem:
    I use a Oracle 11.1.0.7.0 64bit database which is running on a redhat linux 5.3 64bit.
    I want to connect to a MySql Database 5.0, which is running on a redhat linux 5.2 32bit over unixODBC.
    The configuration from the ODBC seems to be good, because with isql on the ora server I can connect and query all data correct from the MySQL database.
    Also the tsnnames.ora and listener.ora should be configured correctly. The tnsping works also fine.
    But when i try to catch the data over SQLPlus with the database link I always get the error ORA-28528.
    If I try to select just one column it works, but the returned data are incomplete or truncated.
    the version of my libs:
    between mysql and odbc I use libmyodbc3.so version 3.51.12-2.2 (I also tried the version 5, but with them I get a segmentation fault error on isql).
    between odbc and dg4odbc I use libodbc.so version 2.2.11-7.1
    Has anybody a solution or hint for me?
    Many Thanks in advance,
    best regards from Austria
    Manuel
    Edited by: user11243186 on 09.06.2009 02:59

    kdgmanu wrote:
    Hello,
    I always get the error ORA-28528.
    If I try to select just one column it works, but the returned data are incomplete or truncated.
    maybe you are facing bug 6772397, so do a search on metalink for bug 6772397
    >
    Has anybody a solution or hint for me?you could also see the following notes 554409.1 and 603801.1
    Many Thanks in advance,
    best regards from Austriacheers from Zagreb

  • Can I use Oracle 11g Developer tools with 10G and XE

    Hi, I want to use Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio with 10g and Xe . Will there be any issues. I want to do so because I am not able to see Oracle Database project in Visual Studio when I install Oracle 10 g developer tools wherein I see that in Oracle 11g developer tools. Please suggest.

    No there are no issues. Just be sure to install ODT in a separate location than where XE is installed.

  • Oracle 11g Instant Client availability on Windows

    We have just installed and tested new features on Oracle 11g Linux and Windows.
    We had a problem in the deployment phase, we installed the Oracle Instant Client in Windows connected to Oracle 11g Server with Linux.
    The systems seems is not working correctly, when will be the instant client 11g for Windows available?
    We have a urgent need to know it.
    Thanks a lot.
    Stefano

    I don't think the instant client is available yet for windows nor linux.
    As for the 11g client beta on windows, you can get it via ODAC.
    Oracle 11g ODAC 11.1.0.5.10 Beta
    Oracle Data Access Components (ODAC) Beta Download
    http://www.oracle.com/technology/software/tech/windows/odpnet/index_11gbeta.html

  • Which Developer Tools for Oracle Express 10g?

    Hello,
    I'm new to the area of developing .NET apps with Oracle. Till now 'Ive downloaded the Oracle Express 10g Edition and installed it.
    Now I want to install the Developer tools for .NET and I am not sure which one to install. I've seen that currently there are several downloads
    - Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio
    - Oracle 11g ODAC 11.1.0.6.21 with Xcopy Deployment
    - Oracle 11g ODAC 11.1.0.6.21
    - Oracle Developer Tools for Visual Studio .NET with Oracle 10g Release 2 ODAC 10.2.0.2.21
    - Oracle 10g Release 2 ODAC 10.2.0.2.21
    - Oracle 10g ODAC 10.1.0.4.0
    - Oracle Developer Tools for Visual Studio .NET 10.1.0.4
    Which of those should I use? Will the latest version (11.1.0.6.21) work with the 10g Express Edition? Or should I install one of the others?
    I've got installed both VS 2005 Prof and VS 2008 Prof SP1 on my machine.
    Thanks
    P.

    Okay,
    I've just seen another thread which answers my question
    Which is the right "Oracle Developer Tools" for XE ?
    I'Ve overseen it before.
    Bye
    P.

  • Oracle 11g XE not working with oracle BI publisher 10g after enabling ACL

    Hello,
    I previously work with oracle 10gXE and Oracle BI publisher 10g and it work fine. now i install oracle 11g XE and try to configure it with oracle Bi Publlisher, it show this error
    "ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1324 ORA-12570: TNS:packet reader failure" after runing the ACL package to neable network service.
    on the database.
    Please can any body tell be why this is not working. Tanx.

    You'll need to add the apex engine owner to the ACL (Access Control List). Depending on your version of apex the user name varies. i.e. 4.0 is APEX_040000
    See Joel's blog for info about the ACL and APEX.
    [http://joelkallman.blogspot.com/2010/10/application-express-network-acls-and.html]

  • DB connection issue for Oracle 11g with jdk1.3

    Hi Experts,
    I have jdk1.3 installed. I need to connect to Oracle 11g, but there is no driver class for Oracle 11g with jdk1.3. I have Classes12.jar for Oracle 9i with jdk1.3. When I try to connect to Oracle 11g with jdk1.3 using Classes12.jar, I get the below error
    Error:
    java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=185599744)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:334)....
    Please help to solve this issue. This is urgent.
    Thanks.

    "connection refused" is quite a clear error message;
    - either you configure a wrong host name or port number
    - the database isn't even running
    - a firewall is blocking you
    In any case no connection can be made to the database, which is hardly a programming or driver problem. You'll have to figure out for whatever external reason you cannot create a connection to the database. Good luck.

  • IPlanet 6.0 SP6 compatibility with Oracle 11g Client in Windows server 2003

    Hi All,
    We have issues with our classic ASP application when connecting to Oracle 11g. Our application Database is migrating from oracle 10g to oracle 11g, with oracle 10g we don't have any issues but we are facing issues with Oracle 11g database
    We are running iPlanet-WebServer-Enterprise/6.0SP6. And Chilisoft is Sun ONE ASP 4.0 (formerly known as Chili!Soft ASP) on windows 2003 machine for running ASP application.
    The connection we are trying is
    Provider=OraOLEDB.Oracle; Data Source=xxxx;User Id=xxx;Password=xxx;
    The error we are getting is "OraOLEDB error '80004005' "
    Question: Is iPlanet-WebServer-Enterprise/6.0SP6. And Chilisoft is Sun ONE ASP 4.0 is compatible with Oracle Client 11g in Windows 32 bit machine
    Appreciate your quick response
    Thanks,
    Murthy

    I have the same situation. Could you please share your experience if you resolve it? Thanks.

Maybe you are looking for

  • Differences between oci816_7 and oci816_8

    Hi. I've recently run across an issue using a ResultSet that seemed to have corrupt data in one of the columns. The corrupt data "went away" when I changed my path to have wlserver6.0/bin/oci816_7 instead or wlserver6.0/bin/oci816_8 in it. I found th

  • The plug-in for the selected item is not installed on your system

    Hello, When I want to build an application there is a "!" mark before the application and for  the Installer,  in the Project Explorer under Build Specification. When I ask for "explain warning" I got the message "The plug-in for the selected item is

  • After update to v17 Firefox freezes

    After an automatic update to version 17.0.1, whenever a web page is selected it "freezes" on that page, only way to get out of Firefox is to go to task manager and stop program.

  • Function Module which will take Wekk No & Return date range (from & To dat)

    Hello everyone, I need a Function Module which will take Week No as an input Parameter & return me the date range (From date & To date of that week) . Thanks in advance! Cheers! Moderator message: date calculation questions = FAQ, please search befor

  • CVP reporting upgrade failed

           I am trying to upgrade CVP from version 8.0 to 8.5 I ran the installer on CVP reporting server without closing third-party files so I received the below error: Reporting - failure launching the Informix installer: C:\Cisco\CVP\ db_temp\informi