System DSN throw the code system error 126

Hello

When I tried to Configure DSN set up the system throwing the error below

Oracleinstantclient10_2 ODBC driver installation routines pourraient not loaded because the system 126 error code. followed by
Unable to load a whole library or a translator.

Operating system: xP

Oracle Database: 10 g

The content: (C:\Oracle\instantclient10_2) dir
--------------------------------------------------------------
BASIC_README
classes12.jar
OCI.dll
ocijdbc10.dll
Ociw32.dll
ODBC_IC_Readme_Win.html
odbc_install.exe
odbc_uninstall.exe
ODBCRelnotesUS.htm
ojdbc14.jar is
orannzsbb10.dll
oraocci10.dll
oraociei10.dll
sqora32.dll
SQORA.chm
sqoras32.dll
sqresus.dll


TNS file content:

YourTNSName = sery

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP)(HOST =localhost) (PORT = Default1521 >))

)

(CONNECT_DATA =

(SID = Seya)

(SERVER = DEDICATED)

)

Please advise me on this.

user12994238 wrote:
Hi schavali,

Thanks a lot, now I got a different error

While I created the DNS set up the system throws the message below

Unable to connect
SQLState = 08004

DNS Set Up for system instantclient(win32-10.2.0.4) throw as ORA-12154; AMT: could not resolve identified the specified connection.

operationg system: xp

path dir: C:\Oracle\instantclient10_2

Thank you
Sery

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

This error means one thing and one thing only. The customer couldn't find the entry specified in the tnsnames.ora file being used.

Following this statement, remember that when you use a dblink, the database that defines the link acts as a client to the database that is the target of the link. So in this case, the tnsnames.ora on the host of your source file must have an entry for your db target, as defined in the db_link.

And for the umpteenth time... This error has nothing to do with the status of a listener. The connection request never got far enough to reach a listener. If someone tells you to check a listener, they do not pay attention, or do not understand how works the TNS. This error is equivalent to not be able to place a phone call because you do not know the number of the part you want to reach. You would not debug this situation by going to the home of the other guy and test his phone, or by accessing the phone company and the standard test. And you are debugging an ORA-12154 by checking the listener. If I had a list of ten albums of 'Incredibly Simple Concepts (tm)' which must be burned in the brain of anyone claiming to be an Oracle DBA, it would include "ORA-12154 has nothing to do with the listener.
=====
Suppose you have the following in your tnsnames.ora:

larry =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = curley)
    )
  )

Now, when you issue a connect, say like this:

$> sqlplus scott/tiger@larry

TNS will appear in your tnsnames.ora for an entry called "larry". Then, tns sends a request to (PORT = 1521) on (HOST = myhost) to aid (PROTOCOL = TCP), requesting a connection to (SERVICE_NAME = curley).

Where's (HOST = myhost) on the network? When the request is passed to tns to the next layer in the network stack, the name "myhost" resolves to an IP address, either via a file 'hosts' local, through DNS, or possibly other mechanisms being used less. Alternatively, you can hard-code the IP (HOST = 123.456.789.101) in the tnsnames.ora.

Then, the request arrives at port 1521 myhost. If all goes well, there is a listener on myhost configured to listen on port 1521, and this listener knows SERVICE_NAME = curley. If so, you'll be connected.

A few important points.

First, the listener is a process only server-side . It's all in life seeks applications for reception for connections to the databases and set up these connections. Once the connection is established, the listener is out of the picture. It creates the connection. Is not maintain the connection. A listener, linking an oracle of the House, listening on a single port, use multiple instances of database in several versions of several houses. It is unnecessary complexity to try to have several headphones. It's like the telephone company, to build a separate table for each customer.

Secondly, the tnsnames.ora file is a problem on the client side . Its purpose is to resolution addressess - the equivalent of the 'hosts' file tns further to the bottom of the network stack. The only reason it exists on a host computer is because this machine also can run client processes.

What can go wrong?

First, there may not be an entry for 'larry' in your tnsnames file. In this case, you get "ORA-12154: TNS: could not resolve the connect identifier specified" no need to go looking for a problem on the host, with the listener, etc.. If you cannot place a phone call because you do not know the number (cannot find your phonebook (tnsnames.ora) or can not find the party looking for listed in it (no entry for larry)) you don't look at problems at the switchboard.

Perhaps the entry for larry was found, but myhost could not be resolved to an IP address (for example there is no entry for myhost in the local hosts file). This will mean by "ORA-12545: Connect failed because target host or object does not exist.

Maybe there is an entry for MyServer in the local hosts file, but it specified a bad IP address. This will mean by "ORA-12545: Connect failed because target host or object does not exist.

Maybe the INVESTIGATION period was good, but there is no listener running: "ORA-12541: TNS:no listener.

Maybe the INVESTIGATION period was good, there is a listener to myhost, but he is listening on a different port. "ORA-12560: TNS:protocol adapter error.

Maybe the INVESTIGATION period was good, there is a listener to myhost, listening on the specified port, it's unknown SERVICE_NAME = curley. "ORA-12514: TNS:listener is not currently of service requested in connect descriptor.

Tags: Database

Similar Questions

  • Microsoft System error 126 popup appears

    For bolting, I smile just click here to make a copy or remove, system error 126 popup appears.  I close the window and then the options are displayed.  It's an annoying extra step, but all works.

    Hi DarwinShope,

    ·         Did you do changes on the computer before the show?

    Method 1: Performs a search using the Microsoft safety scanner.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Method 2: Follow these steps:

    Step 1: Start the computer in safe mode and check if the problem persists.

    A description of the options to start in Windows XP Mode

    http://support.Microsoft.com/kb/315222

    Step 2: If the problem does not still in safe mode, perform a clean boot to see if there is no conflict of software like clean boot helps you eliminate software conflicts.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start, run.

    (b) type msconfigand click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click on restart to restart the computer.

    For reference:

    You receive error 126 or 2 code when you try to start the service HID when you use a keyboard USB Microsoft mouse or Lifecam

    http://support.Microsoft.com/kb/975367

  • What is the Code for error AHT 4HDD/11 / 40000004:SATA (0,0)

    What is the Code for error AHT 4HDD/11 / 40000004:SATA (0,0)

    This means you have a hardware problem related to the hard drive. The disk may be corrupted or fails and must be replaced. Save your file as soon as POSSIBLE. If the player does not have little time for the backup.

  • In my portable automatic update, cannot install the update for windows Vista (KB972145) he gave the Code 80004005 error message and the second time error code 8007000D

    In my portable automatic update, cannot install the update for windows Vista (KB972145) he gave the Code 80004005 error message and error code 8007000D twice. How can you help me solve this problem

    0X8007000D ERROR_INVALID_DATA

    Try to manually download the update and installation
    http://www.Microsoft.com/downloads/en/results.aspx?FREETEXT=KB972145&displaylang=en&sType=s_basic

    It will not appear in your history after a manual installation, but it will show the updates installed in view area. TaurArian [MVP] 2005-2010 - Update Services

  • I get the CODE of ERROR 0x8004DF0B. How can I solve this? __

    I get the CODE of ERROR 0x8004DF0B. How can I fix it?

    Hello EDDIE KEYES,.

    Thank you for visiting the Microsoft answers community.

    While the answers to the question of Bindu S would be very useful, here are some other possible things to check related to this error.

    -Change the time-out period of the server for a longer time
    -Check if the IMAP SSL is required by your mail server
    -Check what port number requires that your e-mail server
    -Check your username and password
    -Check your incoming server

    Make sure that you don't have a firewall that blocks access to this service

    Hope this helps Chris.H
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Anyone know why I get the code 2 error message when you try to update CC2015 on my Macbook Pro?

    Anyone know why I get the code 2 error message when you try to update CC2015 on my Macbook Pro?

    Hello

    Please follow the steps mentioned in the below mentioned document.

    Error code 2 has no Creative Cloud Desktop app update]

    Thank you

  • I have tried everything to fix the Code 16 error help!

    I have tried everything to fix the Code 16 error help!

    Hi leolion,

    You may wish to consult the Doc KB: http://helpx.adobe.com/x-productkb/policy-pricing/configuration-error-cs5.html

    Kind regards

    Rave

  • I have a problem with the code c0000135 error does anyone have a solution to this

    I have a problem with som kind of virus code c0000135 error anyone has a solution to this

    Hello, masts,

    What were you doing when the error occurred?

    What makes you think that there is a problem with a virus?

    View all content of the message, please.

    During this time:

    Restart your computer and start typing the F8 key

    Select Mode safe mode with networking

    Download the following tool and run a scan complete to rule out malware

    http://www.Microsoft.com/security/PC-Security/Malware-removal.aspx

    While still in safe mode, use this scanner (precaution) free online

    http://housecall.trendmicro.com/

    Restart Windows

    Start > type CMD

    Press ENTER if you are using Windows XP

    If you use Windows Vista or Windows 7, right click on CMD and select run as administrator

    Type the following: sfc/scannow

    Press enter

    Note: There is a space between sfc and / scannow

    Asked may to your Windows installation media if corrupt files are found.  The System File Checker will repair the files if possible.  If it can't, you will have to reinstall Windows

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833/PL

    You can also see this re: same error

    Windows 7 service pack 1 update failed error C0000135-missing sqmapi.dll

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_update/Windows-7-Service-Pack-1-update-failed-error-code/a9e7c803-6443-E011-90B6-1cc1de79d2e2

  • Cannot install the code dates error 0 x 641 and erro code 0x8007F070 on windows xp

    I have windows xp and can not install one up-the error code 0 x 641 and 0x8007F070 are just two of the codes that keep appearing.

    Thank you

    Lorna

    Hi LornaAggett,

    Since it's on a server system it would be preferable that you asked your question here: http://social.technet.microsoft.com/Forums/en-us/winserverwsus/threads

  • The code of error BSOD 0x0000007a: KERNEL_DATA_INPAGE_ERROR.

    Original title: 30 + hours of chkdsk on a hard disk of 1 TB and no indication of progress

    Have an ASUS PC (care not available at this time).  Home work to discover has recovered from a blue screen crash.  The code indicates anything a Windows software for a chip failure problem RAM or motherboard.

    Decided to check the disc with recovery of bad sectors option.  It has been approximately 30hrs and all I have is a blinking on-screen cursor: no indication of text on what is happening or what stage it is during the process.  It's an old PC with a 1 TB hard drive.  Don't know mghz speed but the processor is powerful enough to play in the COD, Skyrim and other games.

    Any recommendations would be greatly appreciated. Thank you in advance.

    Hello

    Sorry for the late reply.

    According to the newspapers of file dump, error code KERNEL_DATA_INPAGE_ERROR STOP: 0x0000007A indicates that the data page of the kernel of the required paging file could not be read into memory. It seems that there are some problems with the hard drive.

    If the problem persists, try the methods provided in the link below:

    Resolution in Windows 7 stop errors (blue screen) .

    http://Windows.Microsoft.com/en-GB/Windows7/resolving-stop-blue-screen-errors-in-Windows-7

    System Restore warning: When you use system restore to restore the computer to a previous state, the programs and updates that you have installed are removed.

    Please let us know the status of the issue so that we can help you further.

  • How can activate Creative Suite on my new macbook pro - I have the codes.  Error 150:30

    How can activate Creative Suite on my new macbook pro - I have the codes.  150:30 error keeps coming back.  I don't have access to my old macbook pro (it's set and it will be restored to factory settings).

    http://helpx.Adobe.com/x-productkb/global/error-licensing-stopped-Mac-OS.html

  • Connect-VIServer throws the invalid URI error in the Studio of Powershell, but is very well outdoors

    I don't know if it's a problem of Powershell Studio 2014 or PowerCLI, but other people have reported the "invalid URI: the hostname could not be parsed" error, so I'll start here.

    I have a PowerCLI 5.0.1 on Windows 7, Powershell v2.0 and Powershell Studio 2014.

    In my script, when I run the Connect-VIServer-Server $server command, the command fails and generates the invalid URI error.  However, when I run my script in the command window PowerCLI, the script works fine.

    I guess I have a problem of environment in the Studio of Powershell, but wonder what circumstances causes PowerCLI to raise this error.

    So far, I have not had much luck with Studio 2014 Powershell and PowerCLI, don't know if it's powershell v2.0 or something else.

    It looks like a Studio of Powershell environment problem.

    I have many ps1 files and use the point of supply to load the files ps1 in support which includes the call to connect-VIServer.  When I put the connect-VIServer in the file main ps1 I can connect to my vCenter, but when I put in the origin file, I cannot connect, nor can fact the fitting of test-work order.

    Thanks for the help.

  • Windows updates cannot be update system. get the code of error 0x80072efe,

    I tried all the possible solutions, but still get the updates of windows to the system, the error code is constantly on the screen.  Help!

    Hello

    These errors can occur caused by one of the following problems:

    ·         Applications or processes that interfere with Internet communications

    ·         Problems on your computer

    ·         Strong Internet activity

    ·         Recoverable database errors

    Follow the steps you can encounter errors related to the connection of temporary when you use Windows Update or Microsoft Update to install updates

    See also Windows Update error 80072efe or 80072f76

    Diana

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • What is the cod of error 0 x 80240036? How to fix?

    After the system recovery try update error cod happen has windows.

    0 x 80240036 and 0x8024400A

    You must be at Service Pack 3 level before you can use Windows updates.

    To determine which service pack is currently installed on your computer, follow these steps:

    1. Click Startand then click run.
    2. Copy and paste, or type the following command, and then click OK:

    winver

    A dialog box displays the version of Windows and the service pack that is currently installed on your computer.

    See also: http://support.microsoft.com/kb/2497281
    You may be unable to access the site Web Windows Update in Windows XP, Windows 2000 or Windows Server 2003

    If you haven't already done so, you will need to install the SP2 and SP3 (SP1 note no longer exists).

    How to obtain the latest Windows XP service pack
    http://support.Microsoft.com/kb/322389

    SP2 - http://www.microsoft.com/en-us/download/details.aspx?id=28
    (for single PCs too)

    For Windows XP Service Pack 2 installation procedure
    http://support.Microsoft.com/kb/875364

    Steps to take before you install Windows XP Service Pack 3
    http://support.Microsoft.com/kb/950717

    It is stated in "How to obtain the latest service pack XP" is.

    If you have problems obtaining the service pack from Windows Update, you can download the package of standalone update from the Download Center. This page will say that this installation package is intended for it professionals and developers. However, you can download this file safely. The following file is available for download from the Microsoft Download Center:

    Download the Windows XP Service Pack 3 package now

    Ref: http://taurarian.mvps.org/WU_XP/0x80240036_0x8024400A.html

  • Unable to update the Code of error - Windows Vista Service Pack 1 (KB936330) -: 80070017

    original title: could not update - Windows Vista Service Pack 1 (KB936330)

    Impossible to update - Windows Vista Service Pack 1 (KB936330)

    Installation status: failure.

    Error details: Code 80070017

    Hello

    Please follow the steps mentioned below to help resolve the problem with the installation of the service pack.

    Method 1

    Start your computer in a clean boot

    http://support.Microsoft.com/kb/929135

    Note: Make sure that you follow step 7 of the article mentioned above to set the Normal upward Start computer after troubleshooting is completed.

    Try to install the service pack.

    Method 2

    Run a System File Checker tool

    http://support.Microsoft.com/kb/929833

    Method 3

    Reset the contents of Catroot2 folder / rename the software distribution folder

    Step 1

    Reset the contents of the Catroot2 folder

    a. type the following commands and press ENTER after each command:

    ·         net stop cryptsvc

    ·         MD %systemroot%\system32\catroot2.old

    ·         xcopy %systemroot%\system32\catroot2.old /s %systemroot%\system32\catroot2

    b. remove all content of the catroot2 folder, but do not delete the catroot2 folder.

    c. type the following command and press ENTER:

    net start cryptsvc

    d. close the window command prompt

    Step 2

    Rename the folder C:\Windows\SoftwareDistribution

    a. open a window prompt administration commands.

    b. run the following commands and press ENTER after each command:

    ·         Net stop wuauserv

    ·         CD %SystemRoot%\System32

    ·         Ren C:\Windows\SoftwareDistribution SoftwareDistribution.old

    ·         Net start wuauserv

    Try to install updates again.

    Important When you use this method, the following problems occur:

    ·  Updates that are currently downloaded but which have not yet been installed must be downloaded again by using Windows Update or Microsoft Update.

    ·  When you remove the Software Distribution folder, your download history is deleted.

    ·  If you currently receive updates from Microsoft Update and Windows Update, you will need to reselect this option from the Windows Update Web site.

    Note If the problem is resolved and you can successfully download and install the updates, you can safely remove the SoftwareDistribution.old folder to recover disk space.

    Restart the computer and verify if you are able to install the Service pack.

    Method 3

    You can also run as the automated fix this program to reset the Windows Update components.

    http://support.Microsoft.com/kb/971058

    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/) how to back up and restore the registry in Windows

    Method 4

    Alternatively, you can try to install the stand-alone version of the Service pack and check if it installs fine

    https://www.Microsoft.com/download/en/details.aspx?displaylang=en&ID=30

    Hope this information helps.

Maybe you are looking for