Unable to Connect, ORA 12154, Setup routine for Microsoft ODBC errors

Hi all,
I have a Windows 7 Enterprise 64bit SP1 system and I wanted to be able to connect to an oracle database server. However, I am facing a problem with ODBC configuration.
I have currently installed both below in ... product\11.2.0\client_1 folder:
1. Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64) - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
2. 64-bit Oracle Data Access Components (ODAC) - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
I launched ODBC Data Source Administrator and added a User DSN but resulted to two errors:
1. The setup routines for the Microsoft ODBC for oracle ODBC driver could not be found. Please reintall the driver.
2. The specified DSN contains an architecture mismatch between the driver and application.
On top of that, if I go to System DSN tab, and tried to test the connection it give me an error:
1. Unable to connect SQLState = 08004 [Oracle][ODBC][Ora]ORA-12154: TNS: Could not resolved the identifier specified.
Can someone please guide me through this? Thanks in advance!
Edited by: VTech on Feb 26, 2013 2:13 PM

VTech wrote:
Hi all,
I have a Windows 7 Enterprise 64bit SP1 system and I wanted to be able to connect to an oracle database server. However, I am facing a problem with ODBC configuration.
I have currently installed both below in ... product\11.2.0\client_1 folder:
1. Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64) - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
2. 64-bit Oracle Data Access Components (ODAC) - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
You only need one of these (the second one should suffice).
I launched ODBC Data Source Administrator and added a User DSN but resulted to two errors:
1. The setup routines for the Microsoft ODBC for oracle ODBC driver could not be found. Please reintall the driver."Microsoft ODBC for Oracle" is a different provider than "Oracle ODBC". Make sure you're not using the Microsoft one.
2. The specified DSN contains an architecture mismatch between the driver and application.This can happen if you're mixing 32-bit and 64-bit. There's two ODBC control panels in Windows 7:
- the 64 bit one is the one in control panel
- the 32 bit one is c:\windows\syswow64\odbcad32.exe
Since you're using a 64 bit Oracle driver, you should be using the 64 bit ODBC administrator, and 64 bit applications. If you're trying to use this ODBC connection with a 32 bit application, you'll need to use the 32 bit ODBC (and the 32 bit Oracle driver).
On top of that, if I go to System DSN tab, and tried to test the connection it give me an error:
1. Unable to connect SQLState = 08004 [Oracle][ODBC][Ora]ORA-12154: TNS: Could not resolved the identifier specified.Well that actually means it's loading Oracle correctly, so that's something. You need to add an entry for the server you want to connect to into tnsnames.ora, located in the \network\admin folder inside of your Oracle client installation. Since it sounds like someone else set up the server you want to connect to, your DBA should be able to provide the information that goes into the file.

Similar Messages

  • Unable to resolve ORA-12154: TNS:could not resolve the connect identifier specified

    Hi Friends,
    I am unable to resolve ORA-12154: TNS:could not resolve the connect identifier specified, error:
    C:\Windows\system32>sqlplus scott/tiger@ORADATA
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Feb 2 13:46:10 2014
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    SQL> select database_name from v$database;
    DATABASE_NAME
    ORADATA
    SQL> select instance_name from v$instance;
    INSTANCE_NAME
    oradata
    tnsnames.ora
    ============
    ORADATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL=TCP)(HOST=himanshu-PC)(PORT=1521))
        (CONNECT_DATA =
    (SERVICE_NAME = oradata)
      (SERVER = DEDICATED)
    listener.ora
    =========
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = himanshu-PC)(PORT = 1521))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = ORADATA)
          (ORACLE_HOME = G:\app\himanshu\product\11.2.0\dbhome_1)
          (SID_NAME = oradata)
    sqlnet.ora
    ========
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    C:\Windows\system32>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 02-FEB-2014 13:53:37
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=himanshu-PC)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                02-FEB-2014 13:29:35
    Uptime                    0 days 0 hr. 24 min. 6 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   G:\app\himanshu\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         g:\app\himanshu\diag\tnslsnr\himanshu-PC\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=himanshu-PC)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Services Summary...
    Service "ORADATA" has 2 instance(s).
      Instance "ORADATA", status UNKNOWN, has 1 handler(s) for this service...
      Instance "oradata", status READY, has 1 handler(s) for this service...
    Service "ORADATAXDB" has 1 instance(s).
      Instance "oradata", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Kindly guide whats wrong with my configuration.

    ORADATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL=TCP)(HOST=himanshu-PC)(PORT=1521))
        (CONNECT_DATA =
    (SERVICE_NAME = oradata)
      (SERVER = DEDICATED)
    Try editing the tnsnames.ora file to check there is any junk characters around the tns entry(shown in RED) and then try pining the tns from CMD as
    tnsping ORADATA.

  • Unable to connect to my Oracle Database with Microsoft's ODBC for Oracle driver

    I am unable to connect to my Oracle Database with Microsoft's ODBC for Oracle driver vers.2.573.4202.00 on a Win98 computer.
    First, I create a "Net Service Name" in order for the ODBC Driver to find the Oracle server. I then created a System DSN in the ODBC Data Source Administrator and assigned the "Net Server Name" as the server in the "Microsoft ODBC for Oracle Setup". But when I test this DSN with Oracle's provided "Oracle ODBC 32Bit Test vers.2.5.3.1.0" I get an error:
    SQLSTATE: NA000
    Native Error Code:0
    Driver Message:[Microsoft][ODBC driver for Oracle][Oracle]
    This error occurred on all three Win98 computers I have tried. It does however, seem to work fine on WinNT 4.0, and believe it or not, on the two Win95 computers I have tried.
    Does anyone have any fixes, recomendations, or advice?
    Thank you,
    Eric Edwards
    null

    Why are yu not using the Oracle ODBC driver - these can be downloaded from OTN.
    Have you set up a tnsnames.ora entry for the Oracle database you want to connect to? Does this name have a domain name added to it? Check %ORACLE_HOME%\network\admin\tnsnames.ora for the service name. If it is a name of the form :
    name.domain.subdomain
    then you should try using this full name when configuring the ODBC data source.
    null

  • Unable tomake connection ora-00000:normal,succesful completion

    Hi dears
    I have a problem and need your help please
    well I installed Oracle Service for MTS on a Windows2000Advantage
    Servers Service Pack2
    when I do the transactionfrom Windows NT to database Compaq tru64 Unix
    show the follow messages
    unable tomake connection ora-00000:normal,succesful completion
    then the link is deleted
    Can you help me please
    thank you
    karin

    Problem is solved.
    Reason was: I accidentally changed the data type of a db item from char to number.
    But my doubt is:Why such an error message?

  • Unable to get the file system information for: \\****servername\E$\; error = 64 Unable to distribute content to DP

    One of our DPs has stopped loading content. 
    I've research for quite a bit and cannot find a clear cut reason to this.  This server only has a DP role, I verified sharing permissions, all looked good. This DP has been running just fine for the last year or so and all sudden it will no longer load
    packages.  The disk drive is still present I can still reach the hidden share \\servername.com\E$
    Verified that the SMSSIG$ folder is there and the last entry is from 4/23/2015 
    SCCM 2012 R2 
    OS 2008 R2 Standard
    Any help is greatly appreciated!
    Here's a snipit from the distmgr.log
    Start updating the package on server ["Display=\\*****.com\"]MSWNET:["SMS_SITE=1AB"]\\*****.com\...
    Attempting to add or update a package on a distribution point.
    Will wait for 1 threads to end.
    Thread Handle = 0000000000001E48
    STATMSG: ID=2342 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=***.com SITE=1AB PID=2472 TID=8252 GMTDATE=Thu Apr 30 19:12:01.972 2015 ISTR0="SYSMGMT Source" ISTR1="["Display=\\*****.com\"]MSWNET:["SMS_SITE=1AB"]\\*****.com\"
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400 AVAL0="CAS00087" AID1=404 AVAL1="["Display=\\*****.com\"]MSWNET:["SMS_SITE=1AB"]\\*****.com\"
    SMS_DISTRIBUTION_MANAGER 4/30/2015 2:12:01 PM
    8252 (0x203C)
    The current user context will be used for connecting to ["Display=\\*****.com\"]MSWNET:["SMS_SITE=1AB"]\\*****.com\.
    Successfully made a network connection to \\*****.com\ADMIN$.
    Ignoring drive \\*****.com\C$\.  File \\*****.com\C$\NO_SMS_ON_DRIVE.SMS exists.
    Unable to get the file system information for: \\*****.com\E$\; error = 64.
    Failed to find a valid drive on the distribution point ["Display=\\*****.com\"]MSWNET:["SMS_SITE=1AB"]\\*****.com\
    Cannot find or create the signature share.
    STATMSG: ID=2324 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=sccmprdpr1sec2.mmm.com SITE=1AB PID=2472 TID=8252 GMTDATE=Thu Apr 30 19:12:55.206 2015 ISTR0="["Display=\\*****.com\"]MSWNET:["SMS_SITE=1AB"]\\*****.com\"
    ISTR1="CAS00087" ISTR2="" ISTR3="30" ISTR4="94" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400 AVAL0="CAS00087" AID1=404 AVAL1="["Display=\\*****.com\"]MSWNET:["SMS_SITE=1AB"]\\*****.com\"
    Error occurred. Performing error cleanup prior to returning.
    Cancelling network connection to \\*****.com\ADMIN$.

    Error 64 is being returned which is simply "the network name is no longer available".
    There can be a number of reasons for this from SMB compatibility issues (2003 servers wont support SMB2), to the expected and actual computer name of the boxes don't match (tries to authenticate with server.tld.com when the actual name is srv-01.tld.com and
    you just put a C-name in). I'd start from the top:  Try opening said share from the Primary Site server as that's the box doing the work.  Verify the IP and computer name is legit and that no one has played ACL games between the two systems (remember
    RPC only initiates/listens on port 135 but established connections are up in the dynamic port range).
    At the end of the day it's an issues "underneath" SCCM, and not an SCCM problem specifically. 

  • TS1368 im unable to connect to itunes. i am receiving a 11222 error. i ask that this be fixed so i can continue the use of itunes products.

    I am unable to connect to itunes store due to an 11222 error. What can be done to fix this problem immediately so can begin enjoying the products available to me.

    Another thread with the same issue might help
    https://discussions.apple.com/thread/4712857?tstart=0

  • Tnsping ok, but sqlplus can't connect ora-12154

    Hello All, I have installed on my linux the 10.1.0.3 oracle client and I can do tnsping to my tnsnames.ora databases but I can't connect with sqlplus... I have an error: ora-12154
    I have readed metalink documentation and I think everything is ok, but still can't connect... :( Can anybody help me please?
    Here is some extra data:
    -My env vars are:
    ORACLE_HOME=/home/j0nuntu/OraHome_1
    TNS_ADMIN=/home/j0nuntu/OraHome_1/network/admin
    TNSNAMES=/home/j0nuntu/OraHome_1/network/admin
    -My tnsnames.ora:
    TEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.53)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TEST)
    ORACLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.249)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORACLE)
    As I said, tnsping to test or oracle is ok... tnsnames.ora is in the correct path and there it has 775 perms on it. What can be happening?
    Thanks in advance.

    Also, make sure it is using the correct tnsnames.ora file.
    Do you have multiple copies of this file in different directories?
    post the contents of your sqlnet.ora file as well.

  • Outlook 2010 Client - "unable to connect to retrieve additional data" for some Distribution lists

    We have a mix of Outlook 2003, 2007 and 2010 clients in our organization.
    Users with an outlook 2010 client are having issues with a number (not all) of our distribution lists.
    Issues: When selecting a distribution list in the new message 'to' fiedl, a 'message tip' appears with the name of the DL and 'contains xx recipients'.
    However, when attempting to expand the DL (selecting the + sign) the following prompt appears "Cannot perfrom the requested operation. The command selected is not valid for this recipient. The operation failed"
    When selecting the DL through the outlook address book the memberlist is empty and has a mail tip "unable to connect to retrieve additional data".
    The DL's were all created in a 2003 environment.
    We are currently setting up a 2010 environment, and all DL's were created prior to any schema updates etc.
    Of note, users experience the issue, but access the list through OWA don't have the issue.

    Please also perform the following steps to troubleshoot the issue.
    1. Temporarily turn off firewall and antivirus program on the problematic machine for a test.
    2. Remove the Outlook profile completely and create a new profile.
    3. Login on the same mailbox by Outlook 2010 on another machine to check the result.
    If the issue persists, please open Event Viewer and check whether any error message exists. If so, please post it here for research.
    Thanks.
    Novak Wu-MSFT

  • Unable to activate after Service Pack 2 for Microsoft Office 2010 (KB2687455) is deployed

    I'm having a very strange issue with deploying the "Service Pack 2 for Microsoft Office 2010 (KB2687455)". Here's what I see:
    Deploying to a Windows 7 SP1 system fully patched as of 7/29/2013
    Using SCCM 2007 R3
    Task Sequence installs Office Professional Plus 2010
    Task Sequence installs Service Pack 2 for Microsoft Office 2010 (KB2687455)
    The Office Professional Plus 2010 install was configured to use our key using the Office Custimization Tool (setup.exe /admin)
    When I try to activate the suite using any of the installed applications (word, excel, outlook or powepoint) I get the error "An unspecified error has occurred. Your request cannot be processed at this time. Please try again later. (0x80070190)"
    If I repair the install then try the activation again it works right away. This is a good work around for single installs but for my needs of multiple system deployment and for pushing out the Service Pack 2 for Microsoft Office 2010 (KB2687455) to other systems
    in my environment this will not work.
    Can anyone please suggest a solution to this problem?
    Thank you,

    Hi
    According to my research, this issue occurs when one of the following conditions are true:
    If you have CD emulation software installed, a registry key is preventing the hardware ID from being acquired.
    A required registry key is not set correctly or is missing.
    If you want more detailed information, please refer to the following link:
    http://support.microsoft.com/kb/2400124/en-us
    Hope it helps
    Regards

  • Ref_cursor -procedure does not work for Microsoft ODBC for oracle driver

    Hi,
    I have a stored procedure to retreive record set values from db.
    so i used PL/SQL table type. that is
    type tt1 is table of ........
    but if i replaced the table type with ref_cursor i get an ODBC error :
    "ODBC driver does not support the requested properties.--2147217887".
    The problem is i get a connection string from other module and i cannot change the connection string.
    So is there a way to get it working the ref_cursor using "Microsoft ODBC for Oracle" driver.
    Thanks

    Babu,
    Not sure, a quick Google indicates it should work (given you're using the correct syntax of course :-) )
    Have you tried the Oracle ODBC driver? Are you using the latest version(s)?
    Of course you're likely to have much more luck if you post this question in the ODBC forum :-)
    ODBC
    Cheers,
    Colin

  • Unable to connect ORA 01034, 27101

    Hi,
    My linux 64bit machine was restarted after a power failure. To start my Oracle 10g server on it, I issued commands
    emctl start dbconsole
    isqlplusctl start
    lsnrctl start
    Then I tried to connect as scott/tiger then it gave errors:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    I connected as / as sysdba, then it gave me message "Connected to an idle instance" and gave the SQL prompt.
    I find most common solution for the above issue is to check ORACLE_SID and ORACLE_HOME variables. I checked the variables are proper.
    When I try "emctl stop dbconsole" it says Failed to shutdown dbconsole gracefully.
    I will appreciate if anybody can give some inputs.
    newbie.

    Hi,
    Connect to sqlplus and startup the instance!# sqlplus /nolog
    SQL > CONN / AS SYSDBA
    SQL > STARTUPYou can check the instance is running via# ps -ef | grep pmonIf the process monitor (pmon) for your instance ($ORACLE_SID) is running, then the instance is started up.
    Regards,
    Yoann.

  • I am unable to connect my Iphone to Itunes, I recieve an error message asking for a passcode

    So I attempted to restore my iPhone 5c but everytime I try to connect with it and do so on iTunes, an error pops up asking for a passcode I don't have no idea about. Also my iPhone says " iPhone is disabled, connect to itunes. " and I'm trying but the same error pops up and asking me to try again. I also tried following the instructions on this website: https://support.apple.com/kb/HT1212 and it didn't work. Can you please explain to me how I can just restore it and get it unlocked again? thank you. I've got this phone from a friend as well, as an early birthday present, and he said it would be easy just to restore it, because it use to be his, but I'm not familiar with this stuff.

    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212

  • I am unable to connect wifi at home to for my ipad mini

    have wifi of home but not connect to  i pad to wifi.some time connect but not for longer whats the reason of that

    I had the same exact problem for months, and tried every SINGLE fix from changing the brightness on the iPad (yes, that was a proposed fix) to re-setting my router to different channels, updating firmware, security settings, and re-naming my network, to re-setting, and re-storing my iPad mini.  It was very frustrating, and I was getting ready to return it.  All of my other Apple devices, along with our PCs, Macs, and Blackberry products connect with no problem at all.  The mini worked in my living room where the router was located, but no where else in the house.  I am using a Time Capsule with the built in Airport for a router.  I went and purchased an Airport Express for $99, and am using it to boost reception.  I have it located in my bedroom which is where I used the mini most of the time. VOILA!  Now I have perfect reception to the mini.  Yes, it should work without the Express, but I didn't want to return it as it works everywhere else outside of the house.  As an aside, the Airport Express has also improved reception to my children's devices in their bedrooms.  As far as I am concerned, it is a wi-fi range problem with the mini. 

  • Mac 10.5.8 unable to connect to Mac 10.4 for file sharing purpose

    I'm currently using Mac 10.5.8, when i tried to connect to my friend Mac 10.4. It just show connecting status only. My friend already turn on the file sharing. Firewall turn off. Restarted and tried again also no use. His machine able to connect to my machine for file sharing. Previously we able to do file sharing for both way, but now only one way work (his can connect to mine). This problem happen since 2 weeks ago.
    I will appreciate if any Mac expect can give me some ideal how to resolve this problem.
    Thanking you in advance.

    Are you doing this local or over the net(ports opened on router/modem?)? And try connecting by menu bar, Go, Network if you are currently trying by menu bar, Go, Connect to Server. And what does System log show by Console or Terminal. This is Leopard connecting by LAN to my Tiger machine:
    AFP_VFS afpfs_mount: /Volumes/dpp, pid 6533

  • HP Photosmart 7520 unable to connect to Web Services, also for 7525 ??

    I have same problem with WEB services for a 7525 as posts for 7520.
    Home screen web acces works, printing works, etc. only the scan to e-mail which did work, now  doesn't.
    Spent  great deal of time trying to make it work per post 7520 suggestions.
    Is the' solution' post for the WEB problem also applicable to the 7525 wireless printer??
    If not then, how do I correct?? 
    Is this representative of the NEW HP quality for its productws??

     Hi @RICH7520
    Welcome to the HP Support Forums.  I gather that you are getting the connection error message when enabling the web services on your Photosmart 7525 printer.
    Yes the solution for the Photosmart 7520 printer to set a manual IP address and manual DNS server is valid for the Photosmart 7525 printer.  They are both members of the Photosmart 7520 series of printers.  For easy reference I’ve included the link to the post that has the steps with screen shots on how to do this.  Even though the screen shots are for a Photosmart 7510, the steps are the same and screen shots are the same.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

Maybe you are looking for