Could not connect to database using servlet

Hi,
i'm using oracle 8.1.5.0.0, tomcat 3.2.1, jdk1.2.2 to build an intranet application. I downloaded the classes12.zip and nls_charset12.zip from the oracle web site and install in the oracle\ora81\jdbc\lib directory.
when i tried to run the samples code provided by oracle, the program can run properly. but when i tried to run it in my own program using servlet, i got an error as follow:
java.sql.SQLException IoException:The Network Adapter could not establish a connection.
i have gone through the codes but could not found any errors that I made and now i'm run out of ideas on the error i get.
could someone please help me with this problem?
thank you.
regards,
Josephine
null

No, the web server requires no configuration. You do need to make sure that the classes12.zip file is in the Tomcat classpath - I believe the Tomcat startup script pulls in all the files in $TOMCAT_HOME/lib, so put the zip file there. I assume you had to change your hostname in the connection URL - what are the connection parameters you used in the Oracle samples? Were these samples Servlets, or command-line programs? Usually when you get the "Network Adapted could not establish a connection" error from the JDBC thin driver, it means that your hostname or port number or SID are wrong,or the database is not up.
John H.
null

Similar Messages

  • UDConnect - Could not connect to database. Connection is inactive

    Dear SDN,
    We have a Netwever BI 7.0 server and trying to connct the Nonsap Sybase database through Udconnect .
    we have downlod the EBF13490.tgz file form sybase site which contanse the jconnect5.5 drivers for all hardware and OS platforms.
    We extract the file and save the jconn2.jar file in out solaris BI 7.0 server 
    follwoing settings are configured .
    1.JCO_RFC_PROVIDER -
    the settings in visual adminstrator    Myserverhostname_PORTAL_BD1 is alreday found and RFC from sm59 is also tested properly.
    2. JDBC Connector - create sybase driver and upload the jconn2.jar
    3. connector container - create resource adapter as library:sybase
    4. Maintan the settings of nonsap sybase server as below
    DriverName= com.sybase.jdbc2.jdbc.SybDriver
    Url= jdbc:sybase:Tds: <my server ip>:2638 /databse=rdd
    and usrname , password after that restart the java stack.
    when Exicute test report  throw portal :
    http://<bi server ip > :50000/TestJDBC_Web/test2  
    It gives the follwoing error.
    Test JDBC Page
    Error!
    Could not connect to database. Connection is inactive or does not support JDBC.
    Go back
    Exception Details:
    com.sap.ip.bi.sdk.exception.BIConnectionFailedException: Cannot open the connection
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcConnectionFactory.getConnectionEx(JdbcConnectionFactory.java:238)
         at com.sap.ip.bi.sdk.trialarea.connector.servlet.model.JDBCModel.getConnection(JDBCModel.java:796)
         at com.sap.ip.bi.sdk.trialarea.connector.servlet.model.JDBCModel.getTables(JDBCModel.java:132)
         at com.sap.ip.bi.sdk.trialarea.connector.servlet.controller.Control2.doPost(Control2.java:25)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.ip.bi.sdk.exception.BIResourceException: Cannot open the connection
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnection.(JdbcManagedConnection.java:123)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnectionFactory.createManagedConnection(JdbcManagedConnectionFactory.java:112)
         at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:320)
         at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:188)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcConnectionFactory.getConnectionEx(JdbcConnectionFactory.java:233)
         ... 19 more
    Caused by: com.sap.ip.bi.sdk.exception.BIResourceException: Cannot connect to JDBC data source
         at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connectDB(Connection.java:336)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connect(Connection.java:99)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnection.(JdbcManagedConnection.java:118)
         ... 23 more
    Caused by: java.sql.SQLException: JZ00L: Login failed.  Examine the SQLWarnings chained to this exception for the reason(s).
         at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:570)
         at com.sybase.jdbc2.tds.Tds.processLoginAckToken(Tds.java:4088)
         at com.sybase.jdbc2.tds.Tds.doLogin(Tds.java:527)
         at com.sybase.jdbc2.tds.Tds.login(Tds.java:449)
         at com.sybase.jdbc2.jdbc.SybConnection.tryLogin(SybConnection.java:254)
         at com.sybase.jdbc2.jdbc.SybConnection.regularConnect(SybConnection.java:230)
         at com.sybase.jdbc2.jdbc.SybConnection.(SybConnection.java:200)
         at com.sybase.jdbc2.jdbc.SybConnection.(SybConnection.java:134)
         at com.sybase.jdbc2.jdbc.SybDriver.connect(SybDriver.java:179)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connectDB(Connection.java:320)
         ... 25 more
    Please suggest.
    i have check the nonsap server is accesiable from BI 7.0 server using telnet and port 2638.
    Plea

    please check if the configuration is correct:
    http://help.sap.com/saphelp_scm50/helpdata/en/43/e35b3315bb2d57e10000000a422035/content.htm

  • Could not connect to db using connectring from the server as different user

    Oracle Binary is installed under "oracle" user. if we login using different os user, we could not connect using connectr string.
    we set all env variables including TNS_ADMIN.
    tnsping fails with "TNS-03505: Failed to resolve name"

    Version: 11gR1
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE     11.1.0.7.0     Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    There is not problem in the tnsnames configuration. Because if I login as oracle then I can connect to the db using connectring. Developers are not able to connect from the server(Developer have unix account because they are loading data from sql*loader).

  • Tns error could not connect to database but can tnsping and sqlplus

    The new install OBIEE 10.1.3.4.1, with two Linux RH/64 Bit servers set up and running, but can't get to 11g database when running reports.
    Error: nqsError 17001 Oracle Error Code 12154, message ORA-12154: TNS could not resolve the connect identifier specified at OCI call OCIServerAttach. nQSError 17014 could not connect to Oracle database
    Server 1 BI Server
    BI server is running.
    oc4j is running.
    jdk is installed
    /setup/user.sh variables and libs set
    .bash_profile variables and libs set
    oracle client installed with lib32
    can tnsping the database from here using SID
    can sqplus login to the database from here
    changed connection pool offiline and uploaded new .rpd
    this script does not work /setup . sa-cli.sh to test client, nothing happens, also unable to connect to BI Server in online mode from Windows client 32bit.
    Server 2 Presentation Server
    saw server is running
    set odbc AnalyticsWeb DSN to point to BI Server 1
    Since I can ping and connect with tns, why is presentation server throwing errors?
    Thanks for the help

    Copy the tnsname.ora file from Oracle Database serve onto the client PC.
    Path: %Oracle_home%\net80\admin\
    Send me a mail if there is any other issues
    Regards
    Oluseyi Funmi Oduberu
    Oracle Consultant
    Email:[email protected]
    Hi,
    I am a tech at a failing company. Unfortuneatly some users still need ADI installed and working with very limited resources to troubleshoot oracle. I am getting the error - ( Could not connect to the database - ora-12545: tns:name lookup failure )when the user tries to log on to ADI. Any suggestions? I would really appreciate it. We are on Windows NT on an NT network. Oracle 8.05 client installed and ADI 6.0.
    Thanks, Mary

  • User parameter are not show in database using Servlet and java Bean

    Hello Sir,
    when I insert the parameter in run time, weblogic server and JSP show that parameter are saved.
    Allthough row increment in database but they not show in database.
    Here My Code:
    login.html:
    <html>
    <head>
    <title>A simple JSP application</title>
    <head>
    <body>
    <form method="get" action="tmp" >
    Name: <input type="text" name="user">
    Password: <input type="password" name="pass">
    <input type="Submit" value="Submit">
    </form>
    </body>
    </html>LoginServlet.java:import javax.servlet.*;
    import javax.servlet.http.*;
    public class LoginServlet extends HttpServlet{
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException{
    try
    String user=request.getParameter("user");
    String pass=request.getParameter("pass");
    co.SimpleBean st = new co.SimpleBean();
    st.setuserName(user);
    st.setpassword(pass);
    request.setAttribute("user",st);
    request.setAttribute("pass",st);
    RequestDispatcher dispatcher1 =request.getRequestDispatcher("submit.jsp");
    dispatcher1.forward(request,response);
    catch(Exception e)
    e.printStackTrace();
    }SimpleBean.java:
    package co;
    import java.util.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import java.util.*;
    public class SimpleBean {
    private String user="";
    private String pass="";
    private String s="";
    public String getuserName() {
    return user;
    public void setuserName(String user) {
    this.user = user;
    public String getpassword() {
    return pass;
    public void setpassword(String Pass) {
    this.pass= pass ;
    public String issueData()
    try
    System.out.println("Printed*************************************************************");
    Class.forName("oracle.jdbc.driver.OracleDriver");
    System.out.println("Connection loaded");
    Connection con=DriverManager.getConnection("jdbc:oracle:thin:@VijayKumar-PC:1521:XE","SYSTEM","SYSTEM");
    System.out.println("Connection created");
    PreparedStatement st=con.prepareStatement("insert into vij2 values(?,?)");
    System.out.println("~~~~~~~~~~~~~~~~~~~~");
    String NAME=getuserName();
    st.setString(1,NAME);
    String PASSWORD=getpassword();
    st.setString(2,PASSWORD);
      st.executeUpdate();
    System.out.println("Query Executed");
    con.close();
    s=  "Your logging is saved in DB ";
    System.out.println("Your logging is saved in DB *****************");
    return(s);
    catch(Exception e)
    e.printStackTrace();
    return "failed";
    }submit.jsp:This is Submit page
    <jsp:useBean id="st" class="co.SimpleBean"/>
    <jsp:setProperty name="st" property="*" />
    <jsp:getProperty name="st" property="userName" /> <br>
    <jsp:getProperty name="st" property="password" /> <br>
    <% st.issueData();%>
    <%
    out.println("Ur data is saved in DB");
    %>Please Help me.
    Thanks.

    Ok, this seems to be a long and convoluted path to do absolutely nothing.
    You submit the form.
    You run a servlet that gets the parameters correctly (good), creates a SimpleBean (good) and then sets this into request attribute space under the names "user" and "pass" - (why?)
    You then forward to the jsp: submit.jsp.
    Submit.jsp creates a new SimpleBean, and attempts to populate it with <jsp:setProperty>. You then call the issueData method on it.
    Your complaint: Rows are being created in the database which have empty string values instead of the parameters you have passed.
    So, why are the values blank? Where do you think these values should be coming from?
    Looking at SimpleBean we find one mistake - you have mis-named your get/set methods.
    To properly follow java beans standards, you should use camel-case for your methods.
    Rather than getuserName() the method should be getUserName(). getpassword() should be getPassword() etc etc.
    The method getUserName() defines a property "userName" for the bean.
    Once that is fixed, lets go to submit.jsp. The <jsp:setProperty> statement will try and set all properties of the bean from the request parameters.
    There are no request parameters "userName" or "password" so those values don't get set in the bean, therefore it uses their default value of empty string - "".
    There ARE request parameters called "user" and "pass" but because they aren't properties of the bean, they get ignored.
    As a result, the values are empty string, and that is exactly what gets inserted into the database.
    Ways to fix this
    1 - rename your parameters on your form to be "userName" and "password" to match the bean. That way the <jsp:setProperty> tag will populate them properly.
    or
    2 - Call issueData() method from your servlet after you have created the SimpleBean. Better in my opinion as you then don't have any scriptlet code on a JSP page.
    Cheers,
    evnafets

  • Could not connect to database io exception: 10g on xp

    after a series of adding and deleting an instance of oracle through oracle database assitantl;
    i've yet to see my database :(
    the error written in enterprise manager was :
    Unable to connect to the database
    io exception: The Network Adapter could not establish the connection
    i'm on xp sp1 standalone;
    any help on the matter is greatly appreciated

    guys you can discard this question,
    i've decided to uninstall and reinstall the entire 10g
    now it works fine
    cheers

  • 1016: Could not connect to database - Oracle returned ORA-00257: archiver e

    Dear buddies,
    Receiving the above stated error.
    Removed my old arch files to a different drive and now still getting the error.
    How can I go about this.
    Please advice.
    Thanks!
    Note: I am using Oracle 10g on a Windows platform
    Edited by: user645399 on Jul 26, 2012 6:36 PM

    After 1000+ posts you must understand that 10g is not a version number but a marketing label. This is what the error message says,
    ORA-00257: archiver error. Connect internal only, until freed.
    Cause: The archiver process received an error while trying to archive a redo log. If the problem is not resolved soon, the database will stop executing transactions. The most likely cause of this message is the destination device is out of space to store the redo log file.
    Action: Check the archiver trace file for a detailed description of the problem. Also, verify that the device specified in the initialization parameter archive_log_dest is set up properly for archiving.If you have merely deleted the files using the o/s command, it won't update the Control File that those files are not available any more and the space mapped by them must be released. So you must use the RMAN's command crosscheck to confirm the deletion and mark the file's status as expired and then you would have to issue delete expired . Other than this, the only option would be to add more space to the destination where you are storing the archive logs.
    HTH
    Aman....

  • Connecting with database using setproperty over SOAP connection

    The following method connects to a MySQL database.
    public void setDBDriverName(String in)
         dbDriverName = in;
    public void setDBConnection(String in)
         dbConnection = in;
    public void connectToMySQLDatabase() throws SQLException
         if(dbCon == null)
                 try
                    Class.forName(dbDriverName);     // SQL driver
                    dbCon = DriverManager.getConnection(dbConnection);           // JDBC url
                    s = dbCon.createStatement();
                       catch (Exception e)
                    System.out.println("Could not connect to database using " + dbConnection + " at " + dbDriverName + " : " + e.getMessage());
         else
                System.out.println("Could not connect to databse : Already connected");
    }The method is part of a webservice, in which I use setproperties to set the database connection because the webservice must work with different types of databases like Oracle and MySQL.
    <jsp:useBean id="ContactHistorieClassid" scope="request" class="proxy.soap.ContactHistorieClassProxy" />
         <jsp:setProperty name="ContactHistorieClassid" property="DBConnection" value="org.gjt.mm.mysql.Driver" />
         <jsp:setProperty name="ContactHistorieClassid" property="DBDriverName" value="jdbc:mysql://localhost/contacthistorie" />
         <jsp:setProperty name="ContactHistorieClassid" property="clientID" value="1" />
    <%
         ContactHistorieClassid.connectToMySQLDatabase();
    %>What am I doing wrong here?

    Forgot what happens, sorry. After trying to use the ContactHistorieClassid.connectToMySQLDatabase() method, my server console tells me that it cannot connect to the database, even though it returns the values as they were set in the setproperty.
    When I manually enter the values like this...
    Class.forName("org.gjt.mm.mysql.Driver");     // SQL driver                
    dbCon = DriverManager.getConnection("jdbc:mysql://localhost/contacthistorie"); .. it works properly. So the setproperties are executed as the should be.

  • Managed Server can not connect to Database

    I have a WebLogic cluster with three managed Server on 3 different machines.
    ManagedServer_1, ManagedServer_2, ManagedServer_3 (on Machine 3)
    Firstly, everything is ok. But when we changed some configuration on Firewall and make the WebLogic cluster could not connect to database. 3 servers change status from Running to Warning. Then, we undo all the changes to the Firewall configuration. 3 Servers could connect to Database again but still in warning state.
    It is strange that when I tried to restart ManagedServer_3. That server could not be up normally. It went to Admin state and all the datasources and connection pool could not be created. I tried to restart the machine 3 and start the server but it still failed to make server running normally.
    ( I made the test connecting to Database from Machine 3, everything is okie, I can got data from database, port 1521 opened )
    Has anyone got the same problem and how to fix it? Is that the problem with the admin server?

    JDBC DataSources/Connection pools are all at Domain Level. All we do is just target the datasources to AdminServer and Entire cluster (this will take care of all managed servers in the cluster). From Weblogic Console, TEST the data sources for any firewall issues. If this works from console, check from where you are accessing the Console like within the Firewall, that can access the database server. Even though the actual application is deployed only on cluster, still I would recommend targetting the datasources to both AdminServer and Cluster.
    Ravi Jegga

  • ALC-TTN-105-000 could not connect to bootstrap servlet

    hi i am trying to install livecycle server using Adobe LiveCycle Configuration Manager on windows 7.in this i reached to a slide heading is LifeCycle ES3 Database initialization there is a button labeled as initializa and two text field in host text field i entered localhost and in port i entered 8080 and getting error
    ALC-TTN-105-000 could not connect to bootstrap servlet.Port[Connection refused:connect] may be invalid .
    i tried other ports also 8081 8085 9090 etc but still facing the same error .can any one please tell how to resolve this error??please help i am a beginner and i am very excited to create my first app please help how to proceed further and resolve this issue!!

    sorry, the discription was not clear. I would like to replenish this. This scene was to initialize the LiveCycle ES2 database and with the host: localhost and the HTTP port: 8080
    And I tried to start the jboss and found out, there is no directory of the jboss under /opt/jboss.
    thanks

  • Connection test to database failed: could not connect to server

    I restarted one of my HPOV NNMi 9.23 servers this morning and NNMi is no longer loading.  I am seeing the following errors in the logs indicated:
    /var/opt/OV/log/nnm/public/nmsdbmgr.log
    04/06/2015 09:28:05 AM Connection test to database failed: could not connect to server: Connection refused
    Is the server running on host "127.0.0.1" and accepting
    TCP/IP connections on port 5432?
    /var/opt/OV/log/nnm/public/postgres.log
    2015-04-06 09:25:55.312 EDT: :8580:0LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
    2015-04-06 09:25:55.312 EDT: :8580:0WARNING: could not create listen socket for "localhost"
    2015-04-06 09:25:55.312 EDT: :8580:0FATAL: could not create any TCP/IP sockets
    I checked /etc/hosts and found the following entry:
    #; Local
    127.0.0.1 localhost
    From the command line I can ping localhost with no issue.  Not sure why NNMi is not starting at this point. 
    This question was solved.
    View Solution.

    I also attempted to do a reset using nnmresetebdb.ovpl.  I recieved the following:
    Attempting to reset the embedded database...
    Starting nmsdbmgr process for database reset...
    nmsdbmgr process did not restart successfully - please try reset again.
    When I run ovstart -c I receive the following:
    Name PID State Last Message(s)
    OVsPMD 29831 RUNNING -
    pmd 29832 RUNNING Initialization complete.
    nmsdbmgr - NOT_RUNNING - Exit(1)
    ovjboss - UNSTARTABLE -
    nnmaction - UNSTARTABLE -
    ovspmd: Attempt to start HP OpenView services is complete.
    I definitely need some help with this please!  
    Thanks!

  • Could not connect to DbaaS Service using the given user name and password.

    I'm not able to create Java Cloud Service (Oracle Java Cloud - Virtual Image Services) for my newly created Oracle Database Cloud Service instance. It fails with
    "Incorrect values entered
    Could not connect to DbaaS Service using the given user name and password.
    Verify that the user name and password are correct and the user name has SYSDBA privileges."
    I'm using SYSTEM user and the password I used during Oracle Database Cloud Service instance creation. I've verified them with sqlplus and also by connecting remotely.
    Java Cloud Service wizard doesn't allow me to proceed to instance creation.

    Hi Alexander,
    Maybe you'll find useful the document from Oracle docs specified bellow regarding Creating an Oracle Java Cloud Instance:
    http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-31F00F2C-221F-4069-8E8A-EE48BFEC53A2.htm#JSCUG3128
    Thanks,
    Cristiana.
    #OracleCloud

  • Could not connect to the database

    I have installed Oracle 11.5.10.2 and ADI 7.1.3.10.5
    I can logon to oracle 11i but I cannot logon to ADI using the same username and password of oracle 11i.
    In the ADI define databases form I have the following:
    GWYUID: applsyspub/pub
    FNDNAM: apps
    NCA Connection: (blank)
    Server ID: (blank)
    I receive the following message:
    ''Could not connect to the database. Invalid Username or Password''
    I can use tnsping and tnsping80 successfully from the client.
    Any help would be appreciated
    Thank you.

    Starting from 11.5.10 and above, you have to provide the 'Server ID'. Change the current value of 'Server ID' to match APPL_SERVER_ID value found in your dbc file.
    Find the dbc file under:
    $FND_TOP/secure directory
    The Server ID field is one of the parameters used in setting up the database definition in ADI.

  • Could not connect to Oracle database from excel macro. Getting connection not open.

    Hi all, 
    I could not connect to oracle database using excel macro. After much R&D also, I cannot find right solution. Please help me where I am doing wrong.
    Sub Button2_Click()
    Dim Conn As New ADODB.Connection
    Dim RS As New ADODB.Recordset
    Dim Cmd As New ADODB.Command
    Dim sqlText As String
    Dim Row As Long
    Dim Findex As Long
    Dim Data As Worksheet
    Dim X As Long
    Dim UID As String
    Dim PWD As String
    Dim Server As String
    Dim strCon As String
    Application.Calculation = xlCalculationManual
    UID = "myUserid" 'Enter the User ID
    PWD = "myPassword" 'Enter the password
    Server = "myHostname or myServername" 
    Set Data = Sheets("Sheet2")  
    Data.Select
    Range("A:J").ClearContents 
    strCon1 = "Provider = Microsoft.ACE.OLEDB.12.0;DATA SOURCE=myHostName;Database=myDBname;uid=myUserid;pwd=myPassword;"
    Conn.Open (strCon1)
    Cmd.ActiveConnection = Conn
    Cmd.CommandType = adCmdText
    ' Put your query next
    sqlText = " select * from table "
    Cmd.CommandText = sqlText
    Set RS = Cmd.Execute
    For X = 0 To 17 
    Data.Cells(1, X + 1) = RS.Fields(X).Name
    Next
    Do While Not RS.EOF 'this loops through the data and puts it in the spreadsheet
    Row = Row + 1
    For Findex = 0 To RS.Fields.Count - 1
    Data.Cells(Row + 1, Findex + 1) = RS.Fields(Findex).Value
    Next Findex
    RS.MoveNext
    Loop
    Application.Calculation = xlCalculationAutomatic
    Application.Calculate
    End Sub
    sammy

    I have set oci.dll in to the path specified. Prior to this I musy say that, I have 64 bit excel 2010 & installed respective drivers from the link provided http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
    But
    still I am facing as:-" Provider cannot be found. It may not be properly installed."
    sammy

  • Could not connect to Oracle database. (HY000): BI Answers Problem

    Hi,
    I am using OBIEE 11g and 11g admin client tool is installed in my machine. I created one rpd and I deploy that rpd in the server through Enterprise manager fusion middleware control. But when try to run the analysis from BI answers it throws and error like
    "TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)".
    In the rpd I use OCI default (10g/11g) and cheked that connection is successful and also when I click on view data option in the physical layer I am able to see the data. I cheked with DBAs and correct TNS entries are also there in the server. Could not understand where is the problem.
    Please help.
    Thanks
    Titas

    Try like this
    Call Interface: Default (OCI 10g/11g)
    Data source Name->localhost:1521/XE
    BTW: Whats the client bit version 32/64 bit, if you have 64bit and above is not working try with Oracle client 32bit.
    Pls mark correct/helpful if helps

Maybe you are looking for

  • Reoprt for Total Plan Revenue & Cost vs Total Actual Revenues & Cost

    Hello Gurus, Business has requested to extract overall plan VS actual values and total plan revenue & cost VS total actual revenue & Cost for all open sales orders  Is there any report to fulfill this requirement. If yes please let me know how to get

  • Firmware upgrade for Nokia 6280

    I would like to know do we have firmware upgrade for Nokia 6280 as my present one is 3.65 and would like to upgrade it to 5.92 and I am in India Could you please help me out.

  • Mac testing server URL prefix problem

    Greetings, I've searched through a bunch of forum and support topics with no success so here's a post. I'm building a site on a Mac using some basic PHP (not database driven) and would like to be able to preview the files in a browser. I'm setting up

  • Send a link in the Workflow mail

    Hi Experts, I am working on a requirement where I need that when ever I am sending a Mail to the Outlook, in the mail body I should be able to send a Link and when the User opens that Mail, He should be able to traverse from that Link. I am sending t

  • Spry 1.6 release

    hey guys, what's the expected release for spry 1.6? thanks. Marc