Connectionstring to be used in ASP for instant client ??

Hi,
I'm trying to use oracle instant client for one of my projects.
I have installed basic, sqlplus and ODBC for instant client.
I have set all the environment variables. I have the tnsnames.ora and sqlnet.ora
So far I have succeeded in connecting to a DB Server through sqlplus. I also created a DSN successfully using the driver "Oracle in instantclient10_2" which gets installed when I install instant client ODBC. These indicate that mos tof settings are right. It is good so far.
Now I'm trying to use a connection string in ASP which connects to a DB server using this instant client.
I need one DSN connection string and one DSN-less connection string.
So far I have tried the following:-
1)
Driver={Oracle in instantclient10_2};Server=<Service Name>;Uid=<UserID>;Pwd=<Password>;
This resulted in the error:-
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Oracle][ODBC][Ora]ORA-12560: TNS:protocol adapter error
2)
StrCon.Open "Driver={Oracle in instantclient10_2};Dbq=<Server IP address>:<port>/<serviceName>", "UserID", "Password"
This resulted in the error:-
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Oracle][ODBC][Ora]ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Can you please help me out with these?
Thanks in advance
Jai

Hello,
I tried to use either of the 2 connections you gave but I still get an error:
DSN
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
Specified driver could not be loaded due to system error 5 (Oracle in instantclient10_2).
DSN-less Connectionstring:
Specified driver could not be loaded due to system error 5 (Oracle in instantclient10_2).
Thanks in advance,
Do you have an idea as why this happens?

Similar Messages

  • SDK for Instant Client not available?

    Hello all,
    I'm new to using Oracle and I successfully setup my first 11XE install last week. I'm excited to begin using it but I can't get the OCI driver to compile so I can use it in PHP.
    I have the linux/amd64 Instant Client 10.1 from the Oracle website but it does not have the headers file.
    The docs say I need SDK for Instant Client but it is not listed on the downloads page for Instant Client. The docs also say there is a 11.1 version of IC but no trace of that either.
    Is there another page which has all of these files?
    I get as far as this in the configure script: "checking for oci.h... configure: error: I'm too dumb to figure out where the include dir is in your instant client install"
    Thanks for your help!

    You could search the 'net for instant client downloads x86-64, click relevant link, search page for SDK. Versions from 11.2, 11.1 and 10.2 releases should exist on found page.
    Note that a dedicated forum exist, {forum:id=190}.
    Edit:
    added forum link
    Edited by: orafad on Jan 16, 2012 10:52 PM

  • MIT Kerberos integration via Oracle ASO for Instant Client

    Is Oracle planning on adding support for the Oracle ASO module (specifically for the use of MIT Kerberos authentication) to the Oracle Instant Client?
    Last time I checked (about 2 years ago) they had not, but I'm hoping they are working on it.
    Update: I originally posted this back in Feb 2007, and now it's June 2007...... No replies..... Does anyone know if Oracle will add support for MIT Kerberos Authentication to the Instant Client?
    Message was edited by:
    dkwhisle

    I haven't seen many requests of ASO support being requested for Instant Client nor have I heard of it being included any time soon (in any Instant Client-related press). You should pose the question to Oracle support or your Oracle sales representative.

  • ODBC Driver for Instant Client

    Hello.
    First of all I would like to thank Oracle for giving us the Instant Client. It seems to be the solution for making stand-alone client application in a very simple way. Thanks!
    Even Though, I need to know if there is a way to download the so called "ODBC Supplement". I suppose it's a Windows ODBC Driver for Instant Client.
    Thanks!

    Here's a Registry script to set up a sample 10g-driver data source. After this I used MS Access 2002 to connect to a 9i database. It found all the table names, etc, and read fine from some of them, but others came back with some kind of error such that Access reported the row as already Deleted. I have not done any more research, yet.
    REGEDIT4
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
    "SS585D_ORA10_SYS"="Oracle in bin"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\SS585D_ORA10_SYS]
    "Driver"="C:\\OraWin10\\Bin\\SQORA32.DLL"
    "ServerName"="SS585D"
    "Description"="Sys SS585D using Oracle 10 driver"
    "DSN"="SS585D_ORA10_SYS"
    "User"="ABC"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
    "Oracle in bin"="Installed"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Oracle in bin]
    "APILevel"="1"
    "CPTimeout"="60"
    "ConnectionFunctions"="YYY"
    "Driver"="C:\\OraWin10\\bin\\SQORA32.DLL"
    "DriverODBCVer"="03.51"
    "FileUsage"="0"
    "Setup"="C:\\OraWin10\\bin\\SQORAS32.DLL"
    "SQLLevel"="1"
    As for the ODBC admin program, I used RegMon and FileMon to watch it in action. It loads the 10g setup DLL okay and reads various ODBC values from the registry, then GPF's. I think I'm seeing some kind of buffer overrun problem. I can send logs to anybody who gives me an e-mail address. Mine is [email protected]

  • Missing sdk download for instant client for Linux

    Hi,
    I'm following Ubuntu community documentation here https://help.ubuntu.com/community/PHPOracle to get started developing php/oracle applications.
    My problem is that the sdk download is missing. It is in the list here http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html but the link for it is missing. I don't see anything else looking like sdk or development files for instant client.
    Can anyone tell me where the download is?
    Thank you

    How about the following link:
    http://www.oracle.com/technetwork/topics/linuxsoft-082809.html

  • Please help me to debug a bug for instant client on linux x86-64

    I am a c junior programmer, I wrote a c demo based on <Call Interface Programmer's Guide>,but i found failed sometimes and successful somtimes when i run my demo on linux x86-64.
    I wondered why it was failed sometimes and successful sometimes, so i used command strace to debug my demo.
    I found my demo was failed when called function getsockopt  whose third argument was negative. The following code:
    getsockopt  (5, SOL_SOCKET, SO_SNDBUF, [-8683868481690533888], [4]) = 0
    my demo run successful when the third argument of function getsockopt was positive.The following code:
    getsockopt(5, SOL_SOCKET, SO_SNDBUF, [4636081913715490816], [4]) = 0
    I downloaded rpm package of instant client for linux x86-32 and installed, the same demo worked perfectly on linux x86-32.
    Did instant client for linux x86-64 has a bug?
    any advise would be great.
    Thank you!

    thanks.
    I have solved this problem that result in my c demo.
    I was a wrong way to use this function OCIBindByName. I ignored it's Indicator Variables must be 0 , -1 or -2.

  • SQL*Plus add-on for Instant Client Package on Solaris-SPARC 32bits ???

    Hi,
    I need sqlplus for a solaris 32bits platform, but following this page
    http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html, if I choose Solaris 32-bit (SPARC), it doesn't give a link to download Instant Client Package - SQL*Plus (as it does if I choose Solaris 64-bit (SPARC) or Windows 32-bit).
    I don't understand why... :(

    SQL*Plus is not supported on the 32-bit versions of 64-bit platforms. Please use the 64-bit version of SQL*Plus. Thanks!

  • Automation scripts for Instant client install\ add TNS entry

    Guys,
    I'm trying to develop an VB application,which uses data from an Oracle server residing in my neighbour's system.
    My system doesn't have oracle client installed.
    So, I've made use of Oracle Instant Client package-OCBC.
    Now, I'm looking for an automation script that would do the following in order
    1)Uzip the instant client into a directory. (say C:\ondemand\instantclient)
    2)Add this directory into the PATH environment variable
    3)Set up Service Names with tnsnames.ora ie. Create a TNSNAMES.ORA file to configure my Oracle instance connection.
    4)Set the TNS_ADMIN environment variable to be the path to the tnsnames.ora
    Can someone help me out with automated scripts?
    Thanks,
    Bhagat

    Don't worry. I've solved it.
    One of the files I was using stated: Always set the TNS_ADMIN environment variable or registry setting to the full path of the tnsnames.ora file.
    I took that to mean including the "tnsnames.ora". It doesn't. It really does mean just the PATH part.
    However, with this corrected, I got the pulldown populated. But with only the first part of the name, from the tnsnames.ora file. tnsnames.ora had mydb.<domain>.com. The pulldown only had mydb. Manually adding the .<domain>.com to it worked.
    Now on to the next problem. <GRIN>
    Cheers,
    Eddie

  • USername and password for Instant Client

    Hi,
    Im trying to install the instant client on my desktop for an SQL plus remote server. When I run sqlplus.exe it asks me for a username and password.. where do I get that from?

    That would be the user name and password for the database you are trying to connect to. The DBA may be in charge of creating accounts and handing out passwords-- if not, he should know who is.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Using Adobe forms for multiple clients

    Hi
    I have several of my clients using html web based forms and would like to update them to Adobe forms.
    Question is, would i need to setup an account for each client, or can i use one account and manage all my clients from that account?
    Many thanks

    Adobe Acrobat Pro account.
    https://www.acrobat.com/en_us/products/formscentral/subscribe.html
    Thanks

  • Multicasting using TCP/IP for Multiple clients

    Hello
     i have been watching in Find example Vi's in labview  there is are UDP multicasting receiver and sender Vi's Is there
    any available for TCP/IP for multiple clients. or any other way to broadcast the messages from server to many clients 
    Regards

    madd wrote:
     i have been watching in Find example Vi's in labview  there is are UDP multicasting receiver and sender Vi's Is there
    any available for TCP/IP for multiple clients. or any other way to broadcast the messages from server to many clients 
    OK, you are possibly confusing things. UDP is part of TCP/IP. Could it be you are trying to multicast using TCP?
    This is not possible. TCP is a connection based protocol, meaning any connection is established between exactly two partners, starting out with the three-way handshake, the data transmission and acknowledgments, and the connection tear down. This ensures complete delivery verification of all communications at the expense of the protocol overhead. (similar to a classic phone connection between two people: First you verify the right person picks up, then you talk, then say goodbye)
    UDP is a connectionless protocol, meaning any packets are simply placed on the wire and the protocol itself does not ensure any verification of delivery (similar to e.g. a radio broadcast). Any two-way communication needs to be done by the program, e.g. the receiver could send another UDP packet back to notify the sender that a packet was received.
    Broadcast and multicast packets must be connectionless. There is no way around it. You can use UDP for broadcasts and TCP for for data at the same time in the same program, but you cannot combine the two into a single connection. They don't mix.
    Maybe I misunderstood. If I did, please clarify what you had in mind. More details!
    LabVIEW Champion . Do more with less code and in less time .

  • How can I use Adobe Muse for a client as a CMS System?

    If I build a Website for a Client, how can the Client after then making changes in his/her Website?

    You can grab Adobe Muse as single app, without going for complete creative cloud package.
    Web design software | Download free Adobe Muse CC trial
    Go to the above link, scroll to the end of the page, you should see the option
    Also, you should be able to see all the related information about Muse here Learn Adobe Muse, get help and support | Adobe Muse CC

  • Using predefined WSDL for synchronous client gives error

    Generated a new BPEL project and attached our own WSDL (channelInterface.wsdl) to the client partner link. Specified the one and only operation in the receive and reply activities and auto created the variables in each. All simple stuff and the 'validate' reports 0 errors but upon a Project 'make' the following errors are reported.
    Rather surprised as this seems to be very simple but the generated code does not seem to auto resolve the types. Any help much appreciated.
    Error(19): [Error ORABPEL-10007]: unresolved messageType [Description]: in line 19 of "C:\temp\bpel\Test\BPELProcess1\BPELProcess1.bpel", WSDL messageType "{http://xmlns.oracle.com/BPELProcess1}BPELProcess1RequestMessage" of variable "inputVariable" is not defined in any of the WSDL files. [Potential fix]: Make sure the WSDL messageType "{http://xmlns.oracle.com/BPELProcess1}BPELProcess1RequestMessage" is defined in one of the WSDLs referenced by the deployment descriptor.
    The generated .bpel code is:
    <process name="BPELProcess1" targetNamespace="http://xmlns.oracle.com/BPELProcess1" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns1="http://channel.abi.ukps.sbs" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:client="http://xmlns.oracle.com/BPELProcess1" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"><!-- ================================================================= --><!-- PARTNERLINKS --><!-- List of services participating in this BPEL process --><!-- ================================================================= -->
    <partnerLinks><!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="ch" partnerLinkType="ns1:ChannelInterface_PL" myRole="ChannelInterface_Role"/>
    </partnerLinks><!-- ================================================================= --><!-- VARIABLES --><!-- List of messages and XML documents used within this BPEL process --><!-- ================================================================= -->
    <variables><!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable" messageType="client:BPELProcess1RequestMessage"/><!-- Reference to the message that will be sent back to the
    requester during callback
    -->
    <variable name="outputVariable" messageType="client:BPELProcess1ResponseMessage"/>
    <variable name="Receive_1_SubmitApplication_InputVariable" messageType="ns1:AbISubmissionRequestMessage"/>
    <variable name="Reply_1_SubmitApplication_OutputVariable" messageType="ns1:AbISubmissionResponseMessage"/>
    </variables><!-- ================================================================= --><!-- ORCHESTRATION LOGIC --><!-- Set of activities coordinating the flow of messages across the --><!-- services integrated within this business process --><!-- ================================================================= -->
    <sequence name="main"><!-- Receive input from requestor.
    Note: This maps to operation defined in BPELProcess1.wsdl
    --><!-- Asynchronous callback to the requester.
    Note: the callback location and correlation id is transparently handled
    using WS-addressing.
    -->
    <receive name="Receive_1" partnerLink="ch" portType="ns1:ChannelInterface" operation="SubmitApplication" variable="Receive_1_SubmitApplication_InputVariable" createInstance="yes"/>
    <reply name="Reply_1" partnerLink="ch" portType="ns1:ChannelInterface" operation="SubmitApplication" variable="Reply_1_SubmitApplication_OutputVariable"/>
    </sequence>
    </process>
    The deployment descriptor (bpel.xml) is:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BPELSuitcase>
    <BPELProcess id="BPELProcess1" src="BPELProcess1.bpel">
    <partnerLinkBindings>
    <partnerLinkBinding name="ch">
    <property name="wsdlLocation">ChannelInterfaceRef.wsdl</property>
    </partnerLinkBinding>
    </partnerLinkBindings>
    </BPELProcess>
    </BPELSuitcase>

    when you create a new process (and not choose empty type) we create input and output variables for you
    <variable name="inputVariable" messageType="client:BPELProcess1RequestMessage"/>
    and those still point to the old messagetypes ..
    The easiest way is on you left down side in jdev, when the bpel process is opened in the diagram mode you should see the structure (structure pane).. expand variables node and edit those 2 variables, within them right click on the part named payload and choose the new messagetype it is supposed to have
    hth clemens

  • Using Unassigned Number for Forwarding - client toast popups & caller ID's

    Hello All – My first posting J
    We are using Lync 2013 server with enterprise voice and are using the unassigned number facility to forward inbound calls to both Lync users and sometimes to bounce back out to an external number.
    Is there any way to preserve caller ID history for original inbound call or is this not possible?
    Basically when an external call is received and forwarded to another Lync user the Lync user receives a popup toast stating the call is from RTC announcement service which can confuse users. It would be great to replace this with the original caller’s caller
    ID. Anyone know if that is possible (can’t see anything on the PowerShell options to allow this).
    Also would be looking to try and bounce some calls back out to another PSTN number, and it would be great to then also pass on the CallerID history if it’s been unassigned number forwarded by announcement service, but I guess that it would be dependent on
    the answer to my question.
    If I find an answer I’ll post back too (so far doesn’t look like can do this).
    Thanks in advance
    Karl

    I think its by design 
    Basically when an external call is received and forwarded to another Lync user the Lync user receives a popup toast stating the call is from RTC announcement service that because the call is forwarded to defined Announcements 
    It is also possible to have the unassigned number handled by a Exchange Unified Messaging (UM) Auto Attendant 
    Though I have never managed to test not sure what caller id that will will show 
    Please remember, if you see a post that helped you please click ;Vote As Helpful" and if it answered your question please click "Mark As Answer" Regards Edwin Anthony Joseph

  • How to Enable Remote services using the GPO for the Client Machines

    How to enable remote Access services on Client machines using the Group Policy. After enable how to access with out switching the users  remote as administrator

    Hi,
    If you use windows server 2003, we can refer to the following link to enable remote access services on Client machines using the Group Policy:
    Enable or disable Remote Desktop
    http://technet.microsoft.com/en-us/library/cc727977(v=WS.10).aspx
    If you use windows server 2008 and later version, we can refer to the following link to enable remote access services on Client machines using the Group Policy:
    How to Enable or Disable Remote Desktop via Group Policy Windows 2008
    http://social.technet.microsoft.com/wiki/contents/articles/4980.how-to-enable-or-disable-remote-desktop-via-group-policy-windows-2008.aspx
    After you enable
    Allow users to connect remotely using Remote Desktop Services policy setting, users who are members of the Remote Desktop Users group on the target computer can connect remotely to the target computer by using Remote Desktop Services.
    So if you want users to access computer remotely, you need add users as members of the Remote Desktop Users group on the target computer.
    About how to add users to the Remote Desktop Users group, please refer to the following link:
    Configure the Remote Desktop Users Group
    http://technet.microsoft.com/en-us/library/cc743161.aspx
    Best Regards,
    Erin

Maybe you are looking for