Using the Instant Client via OIC

Hello world

A developer says he has problem to connect to Oracle and I asked how do you connect from his pc. He said that it is "use Instant Client via OIC."

Is this the normal stuff like Oracle_sid, tnsnames and sqlnet in the pc of the client or something more than that?

Please enlighten me on this.

Thank you.

OIC is the Oracle Call Interface and Instant Client implements this API.

There is a large painting of OIC and how it fits into the pile of products [url http://download.oracle.com/docs/cd/E11882_01/server.112/e10729/ch7progrunicode.htm#i1005974] Oracle database access.

Your application can be OIC based, as is the Sql * plus, .net Data provider, thick driver JDBC, etc. etc. (read the description following the figure for more examples).

Tags: Database

Similar Questions

  • How to start to use the Oracle client to access the database?

    People,

    Hello. I just installed Oracle Client (Instant Client) in the directory/home/myOracle/Oracle_Client.
    But I don't know how to start and configure the client to access Oracle database.

    Can all folk tell me how to start to use the Oracle client to access the database?

    user8860348 wrote:
    People,

    Hello. I've successfully used Oracle SQL Developer. But I want to know how to use the Instant Client.

    Can any folk tell me how to use the Client then just install it?

    I guess you're hurting understand the definition of Client instant, there isn't a tool or application or tool GUI as a sql developer or another that you can start using. It's just client installed with the minimum characteristics
    If you want to use the right application tool install sql developer in your instant client or simply running sqlplus

    See you soon

  • IIS to DSN Oracle using Oracle Instant Client 12.1

    Hello

    I hope someone here can help me, because it turns out to be a real chore.

    I need a web application of .NET in order to connect to an Oracle database.

    I use IIS 7.5 on a Web of Windows 2008R2 server 0 x 64 and ASP.NET framework 4.0

    I know very little about Oracle, I'm afraid (I'm a dedicated man of SQL Server - sorry!), so I duly donwloaded and installed the 12.1 client instant 0 x 64.

    I followed all the instructions, created the environment variables PATH and TNS_ADMIN (located at c:\instantclient_12_1, where are installed the Oracle), I had some problems with a missing 0 x 64 DLL (visual .net distribution mfc100.dll) delivered with the instant client (since this is a production almost Virgin Web server, and I don't want to install anything I don't need) , but I finally managed to make the system ODBC DSN to connect successfully.

    The tnsnames.ora file has been provided by the DBA and is as follows;

    xxx =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP)(HOST = xx.xx.xx.xx) (PORT = 1521))

    )

    (CONNECT_DATA =

    (SID = xxxx)

    (SERVER = DEDICATED)

    )

    )

    Great, I thought. Now for IIS.

    My IIS connection string is of the form;

    Dim conn As New Odbc.OdbcConnection("DSN=xxx;) UID = xxx; Pwd = xxx; »)

    However, whenever I try to open the said connection, I get the ubiquitous;

    "ERROR [08004] [Oracle] [ODBC] [Ora] ORA-12154: TNS: could not resolve the connection identifier specifiedERROR [IM006] [Microsoft] [ODBC Driver Manager] driver's SQLSetConnectAttr failed.

    After much research, I came to realize that I'm not the only person with the above error. He seems to be everywhere.

    This means that my IIS application is probably not rethink research tnsnames.ora reference?

    OK, I thought, let's add all accounts of IIS to the c:\instantclient_12_1 (read and execute). It's IIS do not have access to the tnsnames.ora file permissions, but still no joy.

    I also tried to set the identity of the application pool to run under a domain with privalidges account additional IIS, but still the same error.

    I tried to play with various permutations of connection string. I tried it;

    Dim conn As New Odbc.OdbcConnection ("Driver = {Oracle in instantclient_12_1}; ("Source = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST=xx.xx.xx.xx) (PORT = 1521))) (CONNECT_DATA = (SID = xxxx) (SERVER = DEDICATED))); uid = xxx; pwd = xxx") data

    and this one...

    Dim conn As New Odbc.OdbcConnection ("Driver = {Oracle in instantclient_12_1}; Data Source = (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=xx.xx.xx.xx) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = xxxx))); uid = xxx; pwd = xxx")

    The two caused a completely different error, but all too ubiquitous, it seems;

    "ERROR [HY000] [Oracle] [ODBC] [Ora] ORA-12560: TNS:protocol adapter interneErreur [IM006] failedERROR SQLSetConnectAttr in the [Microsoft] [ODBC Driver Manager] [HY000] [Oracle] [ODBC driver] [Ora] ORA-12560: TNS:protocol adapter error.

    In order to try the House on it, I tried to write a small VB SCript file to access the DSN using the same connection string, I first tried;

    Set adoConnection = CreateObject ("ADODB. Connection")

    adoConnection.ConnectionString = "DSN = xxx; UID = xxx; Pwd = xxx; »

    It worked a treat, and I was able to connect perfectly. To try to drill down to the problem, I run this file as the domain user, I put IIS to run as, and it worked a treat with IIS authentication information too.

    So I'm at the end of my mind. I don't understand why IIS can simply use the system DSN.


    Thanks to everyone in advance for their help. It is much appreciated.

    Ok. I spent some time on this and managed to get to the bottom of all this.

    Here's what the problem was, in the case where everyone faces a similar problem.

    By deliberately that gives a bad name DSN (another mistake) and an incorrect password (resulted in the same error), I was able to determine that the problem is really that the tnsnames.ora file is not get referenced. No traffic left the server at all, and so the password was not relevant.

    Next step was to check that relax TNS_ADMIN variable has been read by IIS.

    I used the command System.Environment.GetEnvironmentVariable ("TNS_ADMIN") to prove it was empty. That explains pretty much everything that. The recently set the environment variable has not been picked up by IIS. It was nothing to do with permissions to the location of the file tnsnames.ora to all. It's a Kipper.

    It would seem that, surprisingly, server restart is necessary for the work process IIS pick up new environment variables. Basically this simple problem cost me a lot of time and bother. NOT BELIEVE messages that say the restart of IIS or the application will pick up any changes to the environment variables - IT WILL NOT.

    There is a problem more annoying, and it's to make sure that you remove the spaces trrailing on behalf of the Service TNS odbc name box, but it was easier to drill down reletatively for, compared to having to restart the production server.

    Thanks ReubenC for your help. I didn't need to go down the road ODP.NET, but thanks for your suggestion. I wish only Oracle would be to write some notes about it, because I'm sure others will hit / have this problem too. It would also be too much to expect Oracle to include all DLLS in the download as well (!)

    In any case, I'm glad I'm on the right track.

  • Blue screen issue whenever I use the Torrent Client Please Help!

    Hello...

    Everything was ok, all of a sudden, I continue to receive the Bluescreens he said netio.sys caused the Bsod!...
    It occurs only when I try to use the Torrent Client (Utorrent, Bittorrent).
    I tried to update the network drivers, but could not find new ones on the dell support Web page.
    Please help me solve the problem.
    Run Dell Inspirion 15r N5110
    Intel i5 processor
    4 GB Ram DDR3
    GPU NVIDIA 525 m

    Update : I was surfing for some corrections. I came across this link (http://www.troublefixers.com/utorrent-crashes-windows-7-with-blue-screen-of-death/)

    I asked he'll keep this post updated.
    UPDATE 2 : link above the fixed Solution! : D

    Steps to disable Teredo

    Step 1: On the start menu, search cmd, Windows locate the cmd.exe which is the prompt, right click above and clock on run as administrator.

    Step 2: On the command prompt, type the following command and press enter

    netsh interface set disabled state Teredo

    This is it, its done. Hope you find the above easy to follow trick.

  • I want to detect and use the video entering via the HDMI port on the computer. I was told the HDMI port was not set, but I can't seem to find the signal or the video.

    I want to detect and use the video entering via the HDMI port on the computer. I was told the HDMI port was not set, but I can't seem to find the signal or the video.  Any suggestions?

    As Tom SC replied, you must contact the company that manufactured your computer.  In general, the ports HDMI on most computers is an out-bound port, send video / digital audio output.

    You should probably use a video capture card that can capture from HDMI source,

  • Not able to download the instant client

    Tried several times. Go to The Instant Client downloads for Mac OS X (Intel x 86). Accept the agreement. Then click on the download link. Get this:

    Sorry

    !In order to download products from Oracle Technology Network, you must accept the OTN license terms.Make sure that...Your browser has 'cookies' and JavaScript active.You have clicked on "Accept license" for the product you want to download.You try the download within 30 minutes of the acceptance of the license.From here, you can go...
    Back to previous Page
    Site map
    OTN homepage

    Please report to us.  It should now work.

  • Impossible to connect to vCenter Server 5.5 using the vSphere Client

    Hello


    I'm trying to configure VMware Lab home using the link below and I have reached a stage where I need to connect to vCenter Server using the vSphere client.


    http://boerlowie.WordPress.com/2011/12/13/building-the-ultimate-vSphere-lab-part-9-ESXi/


    I installed the package of 5.5 full vCenter server using the simple installation option and it includes vCenter server, single sign - on, Webclient vSphere, vCenter server and vCenter Server inventory service. All the the latter is installed on a virtual machine that is running Windows server 2008 R2 guest OS.


    Whenever I try to open a session on the vCenter Server uses the vSphere client, one of the following error is displayed.


    1. you do not have the permissions to connect to the server 'vCenter server IP address.

    2. cannot complete the connection incorrect username or password-, this error is visible when I do not specify domain\username domain user name and simply enter the user name.


    For the details of the error, please see the screenshots - vSphere_client_1, vSphere_client_2 and vSphere_client_3.


    As suggested in the link below, I tried to create an SPN and then set the SPN (Principal of Service name) and the UPN (User Principal name) in the Active Directory identity Source using the web of vSphere client (please see screenshot vSphere_Webclient_2)


    http://vinfrastructure.it/2014/01/issue-in-logging-into-vCenter-server-using-Windows-ad-credentials/


    To fix the permission error, I tried to add the domain user to the Administrators group on the server vCenter (see screenshot vSphere_Webclient_1).


    However, none of the above-mentioned resolution has worked.


    So can someone please help? I am stuck because of this problem and badly need help to move forward.


    Thank you

    AJMAL

    Able to connect to the vSphere Client do you use the [email protected] account?

    Have you already set up permissions on the server vCenter object?

    André

  • inventory of missing vCenter using the web client?

    I just upgraded my environment to 5.1 and for some reason, one of my vCenter servers shows no inventory by using the web client. I double checked the permissions on both sites and have checked the inventory in the vSphere client and everything seems good. I have two related modes and the other shows, everything is fine. I tried repointing and re-application as in accordance with article (KB VMware: repointing and re-application VMware vCenter Server 5.1.x and components) but all exits show as being already recorded. Any ideas?

    Capture.PNG

    Thank you.

    This is the expected behavior for the operation of the Service of the inventory.

    Searches in the vSphere Client works perfectly?

    Take a look at the following kb NOT to DO ALL THE STEPS IN THERE!

    http://KB.VMware.com/kb/2033620

    Only follow re-register vCenter Server with the Service of inventory for now, if the search in vSphere Client function does not work correctly.


  • Setting up a location of scrape persistent by using the vSphere Client

    Hello

    I have an application on behalf of data store when you configure the location scratch using vsphere client.

    This is the step that I have to perform to set up the scratch location and my query is

    I have to specify the name of the data store for step 10, as what I see through the vsphere client IE Datastore1 (vmfs/volumes/Datastore1/.locker - ESXHostname)

    OR

    What I need to specity the unique id that I am able to see in ESXi console that is to say 50060160c46036df50060160c46036df (/vmfs/volumes/50060160c46036df50060160c46036df/.locker- ESXHostname)

    What would be the effect? Configuration with the name of the data store for the vSphere client.

    You can configure the workspace for ESXi using the vSphere Client:

    1. Connect to vCenter Server or ESXi host using the vSphere Client.
    2. Select the ESXi host in the inventory.
    3. Click the Configuration tab.
    4. Click storage.
    5. Click a data store, and then select Browse.
    6. Create a directory named only for this ESX host (for example, .locker-ESXHostname )
    7. Close the browser to store data.
    8. Click Advanced under software settings.
    9. Select the ScratchConfig section.
    10. Change the configuration option to ScratchConfig.ConfiguredScratchLocation , indicating the full path to the directory.

      For example:

      / vmfs/volumes/DatastoreName /. Locker-ESXHostname


    11. Click OK.
    12. The ESXi host in maintenance mode and restart so that the configuration change to take effect.

    I ran a quick test on my test environment. You can safely enter data store, it will be automatically replaced by UUID data store when required restarting.

    André

  • Using the ODP client result cache still shows it as running on AWR, is the work of cache?

    Hello

    I use the Oracle 12 manged customer ODP.net connected to a database of GR 11, 2. I recently went on the cache of results with great effectiveness.

    So, I thought I would try the result to the client cache. I have the setting turned on and restarted my db, but my questions always appear in the graphs of Enterprise manager and the AWR report. I would have thought if the query has been cached on the client, that it does not show.

    How will I know if it works or not?

    Thanks in advance.

    Adrian.

    Re-reading the original question, I missed the fact that you use managed ODP.NET. The client result cache does not support managed ODP.NET. Only unmanaged ODP.NET is because it uses the capacity, within the OIC, that uses the unmanaged code.

    I apologize for the misunderstanding.

  • How to operate the Instant Client on HP - UX 64 bit system?

    Hi all
    I downloaded the version of instant client 10.0.2.4 in the folder/oracle10/instantclient_10_2.

    In the instructions, I see:

    Installation steps:


    + 1. Download the Client now packages appropriate for your platform. All installations REQUIRE the Basic or beginner package. + OK

    + 2. Unzip the packages in a single directory as "instantclient. + OK

    + 3. Set the library load path in your environment in the directory in step 2 ("instantclient"). On many UNIX platforms, LD_LIBRARY_PATH is the appropriate environment variable. On Windows, the path must be used. + OK

    + 4. Launch your application and good luck. + HOW CAN I LAUNCH THE APPLICATION?

    This is the contents of the folder:

    Oracle10-gfaae329: instantclient_10_2/oracle10 / > ls - la
    Total 201516
    drwxrwxrwx 2 root sys 1024 Sep 27 03:11.
    drwxrwxrwx 3 root sys 1024 Sep 27 03:24...
    -rw-rw-r - 1 root sys 192 17 May 2008 BASIC_README
    -r - r - r - 1 root sys 1609607 17 May 2008 classes12.jar
    -rwxrwxr-x 1 root sys 50944 genezi 17 May 2008
    -rwxrwxr-x 1 root sys 23053944 libclntsh.sl.10.1 17 May 2008
    -r-xr-xr-x 1 root sys 2617520 libnnz10.sl 17 May 2008
    -rwxrwxr-x 1 root sys 1517832 libocci.sl.10.1 17 May 2008
    -rwxrwxr-x 1 root sys 72627952 libociei.sl 17 May 2008
    -r-xr-xr-x 1 root sys 136112 libocijdbc10.sl 17 May 2008
    -r - r - r - 1 root sys 1555682 17 May 2008 ojdbc14.jar is

    I can't find the runInstaller or an executable file.

    Could you please help me urgently?


    Thanks in advance. :-(

    887722 wrote:
    I need to install a client 10.2.0.4 (or 10.2.0.2) for HP - UX 64 bit PA_RISK but I founded only 10.2.0.1 customer. I was installed this version.

    10.2.0.1 is a basic version. If you need a patch highest level, then you should visit MOS (support.oracle.com) to obtain the necessary fix define and apply the patches (i.e. Update) the Client Installer scheme.

    I knew that the moment customer was not a full client installation.

    What do you see as "complete customer?

    You want to use 3rd party tools/applications or tools Oracle, for example sqlplus expdp, sqlldr, etc.. ?

    Now, how can upgrade the client 10.2.0.1 to 10.2.0.4 (or 10.2.0.2)?

    See above.

  • Satellite P300-133 - how to use the internet connection via BlueTooth

    Hello

    I finally solve my problem with the synchronization via bluetooth between my P300-133 and my [HTC | http://www.htc.com/europe/product.aspx?id=15674] with Windows Mobile 5 - with step by step instructions of Toshiba.

    But I don't know how to use the Internet via BT, I tried many ways, one of them was to create a PAN with P300 as server - correctly connected HTC to P300, but it seams I can share internet with P300 as a gateway. And I want to do the opposite - get internet from my mobile to the computer (while she is away from all the cables). I'm not sure this PAN in the right way...

    The question of the other and less important is to be able to share that connection with your laptop via bluetooth - I guess that this must be done through Pan

    Thanks for any help.

    Bartek

    You found a solution to this?

  • Itineraries other nets will be lost when using the vpn client?

    I have a very general question. I intend to implement a security solution for the extranet partners to connect to our intranet using VPN client. IPSec will close on the external interface of the Cisco PIX firewall v6.3.

    Now, my consirn is, I downloaded the vpn client to test but I saw no advance settings to define what network traffic will pass through the IPSec tunnel and which will be routed normally. Is it by default all traffic passing through VPN? Is that what it means if there are other networks using their default route, they will not be able to achieve? (i.e. the Internet).

    Thank you.

    That would depend on how you set up the PIX. You can allow the VPN to your site and access to the Internet at the same time. This is called the split tunneling. It is configurable on the PIX, not the customer.

    This link might help you get started, but I'm sure that there stronger links.

    http://www.Cisco.com/en/us/customer/products/sw/secursw/ps2120/products_command_reference_chapter09186a00800ec9ec.html

  • IP address connection sets using the VPN Client

    Hello world. I'm using a VPN Client when I establish a VPN Tunnel with a 1600 router, and I have a question.

    Can I assign a fixed IP address in the client, instead the router send to random addresses from customer?

    What I would he do this?

    It would be in the configuration of the VPN client, or in the configuration of the router?

    If so, I'm doing this?

    Do I need another tool, or other software or hardware to do?

    any help is hope...

    Thank you...

    Hello

    I don't think that there is a simple way to do this.

    However, if you create a different groupname for the user who needs a static IP address, I think you should be good to go

    So what you need to do, create a new pool of addresses. Make the start and end ip address be the same (this is the address to which you want to assign to the VPN user)

    Configure another ipsec on the router group and bind the new pool to this group

    Ask your VPN client to connect to this group

    Hope that helps

    Jean Marc

  • Combining three versions in a single backup file using the batch client/config file

    Hello again,

    Is there anyway to get three versions in a single backup file using a config file and the batch client, currently we have this Configuration file:

    [General]

    Operation = Multiple

    Username =

    Password =

    URL = net. TCP://localhost: 5210, Oracle, Drm, ProcessManager

    LogFileName=D:\DRM\VIPTBAU\LOG_FILES\logfile.log

    [Activities]

    OperationCount = 3

    Operation1 = VIP_DIMENSIONS

    Operation2 = ACCOUNT_RF

    Existence3 = ACCOUNT_BS

    [VIP_DIMENSIONS]

    Operation = Backupversiontofile

    Connection = MONTH_END_BACKUP

    VersionAbbrev = TESTPROJ_VIP_DIMENSIONS

    filename = VIP_DIMENSIONS

    [ACCOUNT_RF]

    Operation = Backupversiontofile

    Connection = MONTH_END_BACKUP

    VersionAbbrev = TESTPROJ_RF_ACCOUNT

    filename = VIP_DIMENSIONS

    [ACCOUNT_BS]

    Operation = Backupversiontofile

    Connection = MONTH_END_BACKUP

    VersionAbbrev = TESTPROJ_BS_ACCOUNT

    filename = VIP_DIMENSIONS


    which generates three separate files. We tried using a single operation and listing the 3 times of the VersionAbbrev, but that didn't work and also list the 3 versions in a VersionAbbrev.

    If anyone has any ideas they would be greatly appreciated

    See you soon

    Chris

    Hi Chris Harris-Oracle

    DRM client batch supports export several versions of a single file and restore it back. You must specify the defined version name and the delimiter.

    You can configure the cfg below the backup file

    [General]

    Operation = Multiple

    Username =

    Password =

    URL = net. TCP://localhost: 5210, Oracle, Drm, ProcessManager

    LogFileName=D:\DRM\VIPTBAU\LOG_FILES\logfile.log

    [Activities]

    OperationCount = 1

    OP1 = VIP_DIMENSIONS

    [VIP_DIMENSIONS]

    Operation = Backupversiontofile

    Connection = MONTH_END_BACKUP

    VersionAbbrev = TESTPROJ_VIP_DIMENSIONS, TESTPROJ_RF_ACCOUNT, TESTPROJ_BS_ACCOUNT

    filename = VIP_DIMENSIONS

    Delimiter = comma

    to restore

    [VIP_DIMENSIONS]

    Operation = RestoreVersionFromFile

    Connection = MONTH_END_BACKUP

    SourceVersionAbbrev = TESTPROJ_VIP_DIMENSIONS, TESTPROJ_RF_ACCOUNT, TESTPROJ_BS_ACCOUNT

    TargetVersionAbbrev = TESTPROJ_VIP_DIMENSIONS, TESTPROJ_RF_ACCOUNT, TESTPROJ_BS_ACCOUNT

    filename = VIP_DIMENSIONS

    Delimiter = comma

    Try it tested and it works very well

Maybe you are looking for