Not able to connect VS Web Developer Express through instant client 10

I just spent 10 hours attempting to connect Web Developer Express 2010 to an Oracle 10g database. In the end the solution was beyond simple, but with the existing threads there is a lot of talking around the problem. I’m posting this in case it might help someone else.
Obtain the Oracle instant client software that will work for your database. You will only need the basic package.
http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html
Extract the contents to a temp location on your hard disk
Create a directory for the application – it could be anything, but here is what I used
C:\instantclient
Copy the extracted files into the directory you just created.
Right click on my computer and choose properties
Under advanced and environment variables you will need to add the directory you created above to the system variables PATH. You will need to create a new system variable called TNS_ADMIN and put the same c:\instantclient path in it.
Create the file tnsnames.ora under the c:\instantclient directory and put your customized entry in it. Below is an example.
tnsnams.ora file contents
<Alias for this tnsnames entry> =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <Your Oracle Server>)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = <Your database instance>)
It’s a good idea to restart your system after this installation.
In web developer express use the .NET Framework Data Provider for OLE DB.
Here is the key piece of information!!
Under server name you need to use the alias from the tnsnames.ora file entry. If you do not do this it will not pick up the SERVICE_NAME parm and will give you some goofy error like:
ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
or
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

I just spent 10 hours attempting to connect Web Developer Express 2010 to an Oracle 10g database. In the end the solution was beyond simple, but with the existing threads there is a lot of talking around the problem. I’m posting this in case it might help someone else.
Obtain the Oracle instant client software that will work for your database. You will only need the basic package.
http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html
Extract the contents to a temp location on your hard disk
Create a directory for the application – it could be anything, but here is what I used
C:\instantclient
Copy the extracted files into the directory you just created.
Right click on my computer and choose properties
Under advanced and environment variables you will need to add the directory you created above to the system variables PATH. You will need to create a new system variable called TNS_ADMIN and put the same c:\instantclient path in it.
Create the file tnsnames.ora under the c:\instantclient directory and put your customized entry in it. Below is an example.
tnsnams.ora file contents
<Alias for this tnsnames entry> =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <Your Oracle Server>)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = <Your database instance>)
It’s a good idea to restart your system after this installation.
In web developer express use the .NET Framework Data Provider for OLE DB.
Here is the key piece of information!!
Under server name you need to use the alias from the tnsnames.ora file entry. If you do not do this it will not pick up the SERVICE_NAME parm and will give you some goofy error like:
ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
or
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

Similar Messages

  • HT4061 Why is Iphone 5 not able to connect to Mac or Ipad through bluetooth

    Why is my Iphone 5 not able to connect to Mac or Ipad through bluetooth
    I have tried all sorts of resetting and tricks to make it work but my IPHONE 5 CANNOT connect to its sisterdevices like Mac or Ipads. it seems to be millions that have the same problem.
    Will there be a fix for this or don't they care at all?

    No iPhone has ever supported file transfer by Bluetooth & most likely never will. So, don't expect a "fix".

  • Not able to connect HTTP web servers outside firewall

    Hi
    I unable to connect external web server from my java program.
    Even I used follwing code to in my java program. I am getting
    some problem with encoding the password(base64Encode)
    Please anyone can give code to bypass this corporate firewall
    from my program(I know the password and user name).
    System.getProperties().put( "proxySet", "true" );
    System.getProperties().put( "proxyHost", "myProxyMachineName" );
    System.getProperties().put( "proxyPort", "85" );
    URLConnection connection = url.openConnection();
    String password = "username:password";
    String encodedPassword = base64Encode( password );
    connection.setRequestProperty( "Proxy-Authorization",
    encodedPassword );
    Avanti
    null

    Can you post this in the MapViewer forum ?
    MapViewer

  • Not able to receive the web service response to java client - jax-rpc

    HI,
    Have a wsdl and created the java client using wscompile and got the set of files (Port, Binding, ServiceLocator, Service and all related java files).
    My java client sends the valid java request to the webserver and i could see the correct response coming back to my machine as the reply from the webserver.
    But i couldnt get the response printed using System.out.println in my java client when i invoke call.invoke() method with needed input parameters.
    Do i need to set any encoding or how do i get the response in the my java client which is returned from the webserver?

    The whole PL/SQL which fails in case it helps to solve the issue
    declare
    peticion VARCHAR2(32767);
    env VARCHAR2(32767);
    url varchar2(1000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    begin
    url:='http://<HOST>:7778';
    -- soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    -- <auth:BasicChallenge
    -- xmlns:auth="http://www.soap-authentication.org/2002/01/">
    -- <Realm>Oracle Calendar Web Services</Realm>
    -- </auth:BasicChallenge>
    peticion:='
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
    <auth:BasicAuth xmlns:auth="http://soap-authentication.org/2002/01/">
    <Name>sysadmin</Name>
    <Password>sysadmin1</Password>
    </auth:BasicAuth>
    </soap:Header>
    <soap:Body>
    <cwsl:Create xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/">
    <CmdId>Testoraptor Command 31</CmdId>
    <iCalendar>
    <vcalendar prodid="-//Oracle//Calendaring//Calendarlet//EN" version="2.0">
    <vevent>
    <class>PUBLIC</class>
    <description>a long description</description>
    <dtstart>20061003T090909</dtstart>
    <duration>60M</duration >
    <location>my location</location>
    <priority>2</priority>
    <summary>a title</summary>
    <uid>4567</uid>
    <x-oracle-eventtype>APPOINTMENT</x-oracle-eventtype>
    </vevent>
    </vcalendar>
    </iCalendar>
    </cwsl:Create>
    </soap:Body>
    </soap:Envelope>';
    http_req := utl_http.begin_request(url||'/ocws-bin/ocas.fcgi', 'POST','HTTP/1.0');
    utl_http.set_header(http_req, 'Content-Type', 'text/xml');
    utl_http.set_header(http_req, 'Content-Length', length(peticion));
    utl_http.set_header(http_req, 'SOAPAction', '"http://www.oracle.com/WebServices/Calendaring/1.0/Create"');
    utl_http.write_text(http_req, peticion);
    dbms_output.put_line (length(peticion));
    http_resp := utl_http.get_response(http_req);
    utl_http.read_text(http_resp, env);
    utl_http.end_response(http_resp);
    end;
    We have tried many different XML structures but we are not able to create an appointment.

  • Still not able to CONNECT to Forms Developer

    Yesterday I received gernerous help from forum participant Shay,
    who walked me through the setup process (TNS Listener and
    TNSNAMES.ora, etc.) but I still cannot connect. I'm missing
    something fundamental.
    I have MS Windows 2000 version of Oracle Personal Edition 8i
    installed in directory ora81. The version of SQL*Plus that
    came with it works fine--I can connect to the database, create,
    drop, insert, etc.
    Oracle Forms Developer 6 is installed in directory orant. I can open
    the application but not connect. I tried to use Net8 Easy Config to
    define a new entry in tnsnames.ora, but every attempt fails in the
    GUI's test. (I told Shay that I got the test to work, but I was
    mistaken.) Next I manually changed the the tnsnames.ora file in
    orant\NET80\ADMIN\tnsnames.ora, which then shows up in the Config
    tool but still fails the test to connect. How does this tnsnames.ora
    file work with the tnsnames.ora file in ora81\network\ADMIN?
    Meanwhile, Personal Edition is running fine. The tnslsnr is running.
    I looked both in Services and, using Task Manager, in Processes.
    Oracle.exe is also running. I ran lsnrctl status and got the following:
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)
    (KEY=EXTPROC1)))
    ...and then it gives status info, which indicates listener is on.
    How do you get Forms Developer to connect to the database that is
    clearly running?

    Start the Oracle Net8 Easy Config from the start menu. Add a new service name:add the name of your database. Choose "Bequeath" as a type of protocole because you are connecting to a local database which is on your own machine. Change the default SID to the name of your database.
    I think it will work .

  • Not able to connect to sqql developer

    hi am running oracle Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production am having error connectin with sql developer 3.0.0.4 error is ORA:1882 TIME ZONE REGION NOT FOUND WHAT COULD BE THE problem
    Edited by: Tshifhiwa on 2012/02/10 12:19 PM

    Try setting
    AddVMOption -Duser.region=USin your sqldeveloper.conf file ususally located in
    [sqldeveloper install dir]\sqldeveloper\bin

  • Ethernet and Internet detected, not able to connect to web-browser

    I'm working on a 15" powerbook. I just got back to school, and when I plug into the ethernet port,my computer detects that the ethernet is plugged in and that I am connected to the internet. My IP Address is recognized and everything else. My problem is that when I try to open a web browser, it says it can't find the server. The same for when I try to log into AIM. I am connected to the network, as I can see "shard music" in iTunes and everything else. I am connected using DHCP. Anyone know where I should start? The "help-desk" here is of no help.

    Could be a DNS error,
    enter http://17.254.3.183 into your address bar.
    If you get to the apple site, then it is a DNS error.
    if not, I'd pull your system config plists and restart.
    macHD/library/prefs/system config

  • Not able to connect to Essbase on VM through client on windows 7

    Hi there,
    I have installed OBIEE 11.1.1.5 - Sample Application (V107) (VM) and after running all the start up scripts like (startOID.sh,startWLS.sh,startBI.sh and startESSB.sh) and using opmnctl status I am able to see that it is alive in VM.
    But when I try to access the VM from essbase studio client on windows I get the error "Network communication with the server failed. Check your network connection and try again.
    Connection refused: connect".
    I am very new to ESSBASE and its quite urgent.
    Appericate your help.
    Regards,
    Pushpesh Pallav.

    Hi,
    Add the property in server.properties file in Essbase studio with the below line
    server.essbase.streamingCubeBuilding=true
    and restart the Essbase Studio server as an administrative user.
    If the issue still exists, then verify the server properties for the catalog
    Hope it helps..
    KosuruS

  • I am not able to connect SQL(Open SQL) in EAS client machine

    Hi Experts,
    I have Installed Oracle Essbase 11.1.1.3.0 on Linux Environment.I am not able to connect SQL(Open SQL) in Essbase EAS Client machine.
    Please let me know any scripts I have to run for SQL connection activation purpose.
    Please provide the necessary paths and procedures.
    waiting for your reply
    Many Many Thanks.

    Have you created a database (or have one you connect to)?
    Have you created the Net Service connections for SQL Developer to use?
    Does SQL Developer have access to this Net Serviice name?
    Have you created the connections from SQL Developer?
    Can you post an error message?
    See
    <br>
    Oracle Database FAQs
    </br>

  • The Blackbery device simulator is not able to connect to the mobile server.

    Hi
    While login to Sap Mobile BI i get the below error.
    "unable to connect to mobile server.The request is timed out(0x008)"

    Thank You for your reply.I had no problem with the mobile network connections it is on.The issue i am facing i am using proxy server deployment where we don't have to mention host_port  in the vas cluster configuration due to which i m not able to connect to blackberry Simulator which is on client machine.But if i specify the client machine port to Host_port then i m able to connect.Can you help me to configure the Mobile server for a non-BlackBerry
    deployment that uses a proxy server

  • Not able to connect apple store

    with my ipod touch 5.1.1 I am not able to connect apple store or itunes through wifi, is there any issues with mtu value for this problem.

    Try here:
    Can't connect to the iTunes Store
    Or it could be a temporary Apple problem

  • Web application not able to connect to Oracle 10g

    I have been facing an issue with my Web application past 2 days wherein
    I am not able to connect to oracle database. The error is receive when I compile my project : OCIEnvCreate failed with return code -1 but error message text was not available. I have defined my connection in web.config and calling it using a connection string
    Details: os : window7 (64bit) .NET framework 4 Oracle 10g 32 bit can you please help me and provide me with a s

    Hi,
           My Question is related to Microsoft visual studio (.Net Framework). 
    Issue: My Application build in Asp.Net is not able to connect to Oracle 10g database (32 bit). My OS is 64 bit in which my visual studio2010 is Installed.
    Thanks
    Error:  
    OCIEnvCreate failed with return code -1 but error message text was not available.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.Exception: OCIEnvCreate failed with return code -1 but error message text was not available.
    Source Error: 
    Line 28:
    Line 29: OracleConnection con = new OracleConnection(connStr);
    Line 30: con.Open();
    Line 31: str = "select count(1) from ITS_INCIDENT";
    Line 32: com = new OracleCommand(str, con);

  • Not able to connect db using developers(plsql developer,sql developer)

    Hi,
    I used to work on plsql developer, but since from few days i am not able to connect to it, so i have installed sql developer still i am not able to connect to database.
    I can connect to the database using sql*plus. dont know what happend suddenly i have not changed any settings.
    I am getting the error when connecting sql developer: Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    when connecting through plsql developer getting the error: ora-12545 connect failed because target host or object does not exist
    Please help.
    Thanks,
    Vinod

    Wrong forum - please repost in the SQL Developer forum, edit this post to include the link to the SQL Developer thread and then mark this as ANSWERED.
    SQL Developer
    >
    when connecting through plsql developer getting the error: ora-12545 connect failed because target host or object does not exist
    >
    In you post on the other forum include your 4 digit Oracle version and the version of SQL Developer that you are using.
    Also provide the step by step details of how you are trying to create the new connection.
    The error message is telling you that you are using a server or host name that does not exist.

  • HT4259 I have the old airport express but my iPad 3 is not able to connect to it even with the app downloaded. What can I do?

    I have the old airport express but my iPad 3 is not able to connect to it even with the app downloaded. What can I do?

    Use a windows computer.. or ask a friend to bring a windows laptop and use the 5.6 version windows utility.

  • AirPort Express Not Able to Connect Wirelessly

    Hardware is iMac 2.4 GHz Intel Core 2 Duo with 4 GB 667 MHz DDR2 SDRAM.  Mac OS 10.6.8
    Connected to Internet via Motorola Surfboard SBG6580 Modem / Router, so I connect by wireless through the modem.
    I followed the installation instructions to install AirPort Express to play music on my home stereo.  I connected the Airport Express to the receiver by the tape port.  I was not able to install AirpPort Express via wireless mode, so I connected the iMac to the AirPort Express by CAT-5 hard wire cord.  The installation was successful and the AirpPort Express obtained an AP address.  I was then able to play music from iTunes pm the iMac through the stereo speakers...as long as the AirPort Express was connected by hard wire to the iMac.
    When I remove the CAT-5 cord from the AirPort Express, the AirPort Express retains the green light, but it is not able to receive data from the iMac.  To the contrary, the AirPort Utility is not able to find any AirPort wireless devices unless the AirPort Express is connected via the hard wire CAT-5 cord.
    As an experiment, I then connected the AirPort Express to the cable modem / router via the hard wire CAT-5 cord.  The AirPort utility on the iMac was still not able to find any AirPort wireless devices.  Further, the model then assigned a different AP address to the iMac so that it was not able to connect to the Internet..
    Meanwhile, the AirPort Express still retains the green light, indicating the installation was a success and that it is ready to transmit.
    Any advice to resolve this issue would be very much appreciated.  Thanks in advance for your thoughts.

    I suggest that you start by performing a "factory default" reset on the 802.11n AirPort Express Base Station (AXn) to get it back to its "out-of-the-box" configuration. By default, the AXn will broadcast an unsecured wireless network with a Network Name of something like: Apple Network NNNNNN
    After the reset has completed, plug the AXn into power, and then, verify from the iMac that this network shows up in the list of networks under the AirPort icon in the OS X menu bar. Does it?
    If so, then from the AirPort icon, switch your iMac to connect to the AXn's wireless network. Note: You will temporarily lose the Internet connection from your Motorola router. Then, run the AirPort Utility. The Utility should now find the AXn. If not, use the Utility's "Configure Other" option under the File menu option in the Utility's menu bar. Enter 10.0.1.1 for the Address and "public" for the Password.
    AirPort Utility > Select the AXn > Manual Setup > AirPort > Wireless
    Wireless Mode: Join a wireless network
    Network Name: <existing Motorola's wireless network>
    Wireless Security: <select the encryption type of the existing wireless network>
    Wireless Password: <enter the existing wireless network password>
    Verify Password: <re-enter the existing wireless network password>
    AirPort Utility > Select the AXn > Manual Setup >Music
    Enable AirPlay (checked)
    iTunes Speaker Name: <enter desired speaker name>
    iTunes Speaker Password: (optional)
    Verify Password: (optional)
    Click Update to write the new settings to the AX

Maybe you are looking for

  • Is it possible to get flash or shockwave installed in browser w/out DLM

    WHY oh WHY must I install a bleeping download manager to download a file who's size is measure in Kb, a file that needs to be downloaded only ONCE IN A BLUE MOON? I don't want your crap sofware(download manager) running on my system all the time, or

  • Asset PO should not be raised in NB Doc type

    Dear All, I need to do the settings in such way that user should not use A - Asset as account category while rasing PO by using NB document type. How can I control this? Pls provide me the settings. Rgds Srini

  • Why has my library deleted everything after installing 7.6 upgrade?

    Having transferred all my music - album by album (1500 tunes) to my new computer from my old one, I have just downloaded the 7.6 upgrade and ALL my music library has been deleted from i-Tunes. I had an earlier deletion last week when I tried to trans

  • Oracle RAC 10g: ASM can't start in one node.

    Hi all, I succesfully installed RAC in Enterprise Linux. Node1 starts correctly (ASM and DB) but Node2 doesn´t. This is the error in Node2 when I try to startup de ASM instance: SQL> startup ASM instance started Total System Global Area 92274688 byte

  • Kid Proofing OS X (Part Two, Dock tweaking)

    I mentioned yesterday that the little kids have their own Macs. I am trying to move them to a newer shared machine. My wife and I each have our own (unprotected) login on the adult machine. Naturally the kids are frequently interested in messing with