Urg: Not able to import data from DB in OBIEE 11g : Connection has failed.

Hi Team
Recently while working in OBIEE 11g , I was trying to import tables from the data-base but I am getting an error " Connection has failed " .
I have put the tnsora file in the network admin folder and the
C:\OracleBIHome\Network\admin
\OracleBI1\network\admin (Example: C:\OBI\Oracle_BI1\network\admin)
\oracle_common\network\admin (Example: C:\OBI\oracle_common\network\admin)
and have set the TNS_ADMIN variable in the User.cmd path  with the above path .
But it is still not working . I have tried all the options but its still not working .
Any help is appreciated.
Regards
R

Is it Compulsory to give Schema and Work Schema while creating the Physical Schema in Oracle Data server?
This is mandatory to have a schema and a work schema here.
The schema and work schema could be the same user as the user who is connected to the dataserver!

Similar Messages

  • Import Data From Excel In OBIEE 11g

    Hi,
    I created an excel sheet named as product. It has three columns. I selected the range and clicked on table. So I assume that it acts like a table. Named the excel work book as ProductExcel. Later created dsn by selecting this workbook.
    Now created repository and tried to import data. Selected ODBC 3.5, and clicked my dsn name. Then cliked Next without entering user name and password. It gave me an error "Connection failed". I am confused which user name and password has to be given there.
    Please intimate me whether the steps followed are correct or not. Let me know the solution.
    Thanks,

    Hi,
    I created an excel sheet named as product. It has three columns. I selected the range and clicked on table. So I assume that it acts like a table. Named the excel work book as ProductExcel. Later created dsn by selecting this workbook.
    Now created repository and tried to import data. Selected ODBC 3.5, and clicked my dsn name. Then cliked Next without entering user name and password. It gave me an error "Connection failed". I am confused which user name and password has to be given there.
    Please intimate me whether the steps followed are correct or not. Let me know the solution.
    Thanks,

  • Not able pass the data from component to other component.

    Hello All
    I am not able pass the data from component to other component.
    I have done like this.
    1 Main Component (Parent component ) having below  two child components.Embeded as used components.
    2)     Search Component  and Details Component
    3)     In the Search Component having buttons,  Say : Button u201CXu201D on click of button I am navigating to Details component view through FPM.
    4)     When I am clicking above button u201CXu201D raising the event to call the parent   business logic method, there I am getting  Structure with values and binded this structure to the node and Mapped this node to the Details component  interface node. FYI : I kept the debugging point Structure is having data , I had set static attributes table to node instance.
    5)     In the Details component node data is not coming mean empty.
    Thanks in Advance.
    Br-
    CW
    Edited by: CarlinWilliams on Jul 4, 2011 9:21 AM

    Hi,
    When you use input Ext. check that the parent component should not be used as used component in child component.
    Only in the parent component the child components should be used as used components and the usage has to be created for the
    Child Components and the binding of the Node should be done from comp. controller of parent component to child node
    by which you will be able to see double arrow against the node.This should work
    Thanks,
    Shailaja Ainala.

  • Not able to query data from View

    Hi,
    I am not able to fetch data from views even while running simple select statements. I am using SQL Developer Version 3.0.04,
    Same query is fetching data on other computers running SQL Developer or Toad.
    Has anyone faced this issue??

    Is that the first version ever you installed? You unzipped in a clean directory, right?
    What OS/JDK/DB versions?
    So do you get an error or what?
    K.

  • After upgrade to photos not able to import photos from my kodak M883 camera - says not correct format - still jpeg - worked before update - help!

    After upgrade to photos am not able to import photos from my Kodak M883 camera.  Program says not correct format - camera files are still jpeg - had no trouble importing before upgrade - Help!

    Same thing is happening with me.  IPhoto will not import .jpg from my Kodak!  It used to all the time.  Now it gives me an error msg saying .jpg is in the wrong file format.  Can someone help?
    Steve 

  • ** Not able to import IDoc from SAP ECC system

    Hi Friends,
    I am not able to import the IDoc from SAP ECC system in IR. I have checked that, hostname, client, server no. everthing is correct. I checked in SLD also. Host Name is correct.
    While import (after giving the user name and password), I am getting the following error.
    Problems to reach R3 System
    What could be the probelm ?
    Kindly help me friends.
    Thanking you.
    Kind regards,
    Jegathees P.

    Hi,
    Just counter check following step
    1. Go to SWCV definition tab select radio button for Import of RFC....
    2. In Connection Data for Import from SAP System maintain correct System and correct Client.
    3. Make sure you maitain ECC system in Central SLD.
    4. In Import Screen check at the top of the screen have SAP System, is that system from where you want to import the IDOC.
    With Regards
    Sunil

  • Not able insert ,query data from forms

    hi,
    I am not able to insert data or query data from forms(10g devsuite).getting error frm-40505,frm 40508 .i am able to insert and select record from sql plus.the block ihave created is control block .it is connected to the table using the properties.
    should i do anything to insert record.please help

    the block ihave created is control block .it is connected to the table using the properties.A Control Block, by definition, is a non-database block. This means the block is not directly connected to a table so you have to manually display data in the block and any DML you want to perform on data in this block you must do manually as well.
    There are four database objects you can base your database block on; 1) a Table, 2) a View, 3) From Clause Query (basically an In-line View), and 4) a database stored procedure. I recommend you use one of these four methods rather than manually display your data.
    Craig...

  • The SQL statement is not valid - when importing data from SQL Server using a query

    Hi there,
    I am trying to import data from SQL to Power Pivot using a SQL query like below:
    SELECT Score.FieldCount, Score.Record.GetAt(0), Score.Record.GetAt(1),  Score.Record.GetAt(2),  Score.Record.GetAt(3),  Score.Record.GetAt(4)
    FROM 
    SELECT * FROM dbo.CLR1(
    dbo.CLR2('c:\FILES\Test.xml'), 
    'SELECT * FROM [dbo].[CXCustomer_Small]') Input
    ) Score
    And when I tried to validate it, it returns
    The SQL statement is not valid. A column name cannot be blank.
    I ran the above SQL statement in Management Studio and it works without problem. Any idea?
    Thanks!
    Chu
    -- Predict everything. http://www.predixionsoftware.com

    Never mind, I figured out - I need to give each column a name.
    -- Predict everything. http://www.predixionsoftware.com

  • Web Template is not able to fetch data from Data Provider

    hi friends,
               i have created a reporting agent for a particular query and given all the necessary parameters, defined the variants and activated this and created a scheduling package to this ,assigned my query to the scheduling package
               later in the web template,in the web item tab i maintained  the read mode as precalculated web template and the final report on the web is saying web tempalte is not able to get the data from the data provider  ,
    am i missing any where...
            i look forward to your help ,
    regards,
    sasidhar gunturu

    Hi,
    use the correct link to call the report.
    you can check the links : Re: Concept Of Precalculated Template
    https://www.sdn.sap.com/irj/sdn/developerareas/bi?rid=/webcontent/uuid/a8cd1f71-0a01-0010-4783-f119b6132d25 [original link is broken]
    Regards
    Happy Tony

  • Not able to retrieve data from database through servlet

    Hi friends,
    I am trying to open a excel sheet through servlet. In this servlet i am retriving data from mssql database.I am not getting any error but no data is retrived
    i m also pasting the code here
    // Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3)
    // Source File Name:   EmployeeData.java
    import java.io.*;
    import java.sql.*;
    import javax.sql.*;
    import javax.servlet.ServletException;
    import javax.servlet.http.*;
    public class EmployeeData extends HttpServlet
        public EmployeeData()
        public void service(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse)
            throws ServletException, IOException
            httpservletresponse.setContentType("text/html");
            httpservletresponse.setHeader("Content-Type", "application/excel");
            httpservletresponse.setHeader("Content-Disposition", "filename=reports.xls");
            PrintWriter printwriter = httpservletresponse.getWriter();
            try
                javax.servlet.http.HttpSession httpsession = httpservletrequest.getSession(true);
                int i = 0;
             /*   Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
                Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:3413;DatabaseName=newreportsodbc", "reportuser", "cisco");*/
                String url="jdbc:odbc:newreportsodbc";
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
                Connection connection = DriverManager.getConnection("jdbc:odbc:newreportsodbc","reportuser","cisco");
                Statement statement = connection.createStatement();
                printwriter.println("<b><center><u> Search Results </u></center></b>");
                printwriter.print("<table><tr><th color=brown background-color=#fff000>  No.  </th>");
                printwriter.print("<th> DateTime      </th></tr></table>");
           ResultSet resultset = statement.executeQuery("SELECT * FROM t_Call_Type_Half_Hour");
                boolean flag;
                for(flag = false; resultset.next(); flag = true)
                    i++;
                    SerialNo = resultset.getString(2);
                    printwriter.print((new StringBuilder()).append("<table><tr><td> ").append(i).append("</td>").toString());
                    printwriter.print((new StringBuilder()).append("<td> ").append(SerialNo).append("</td></tr></table>").toString());
                if(!flag)
                    printwriter.println("<h1> No records selected </h1>");
            catch(Exception exception)
                System.out.println((new StringBuilder()).append("SQLException: ").append(exception).toString());
        static String empid1;
        static String empid;
        static String SerialNo;
        static String designation;
    }thanks in advance. i just feel there is something to be done with connection string.

    post the table format in SQL

  • Not able to import date column as Date time(SQL server) in OBIEE

    Hi,
    We have created cube in sql server.
    We have two date column in cube i.e. created date(datetime) joining date(datetime)
    Once I import joining date (Data type: Datetime) and created date(Datetime) by default it import as varchar.
    problems:
    1. I need to calculate difference of two date at OBIEE level. But it is varchar and I am not able to calculate the difference of two dates i.e. created date-joining date.
    I tried evaluate function also but not able to do in OBIEE 10.1.3.4.
    Any help pls

    Hi,
    In your cube have you set the type to 'Date' for this attribute? If not, try it and let me know if this still imports as varchar.
    Hope this helps.
    Thank you,
    Dhar

  • I am not able to fetch data from r3

    Hi all,
    we have schduled process chain for transaction data and master data.when check the process chain status is green.
    but when not a single record is coming for any of the process chain.when i check the step by step analysis.
    gray RFC to source system successful ?
    red  Does selectable data exist in the source system?
    red  Data selection successfully started ?
    red  Data selection successfully finished ?
    gray RFC to Warehouse successful ?
    gray Processing successfully finished?
    gray All reported data packets received?
    gray All data packets complete ?
    remaining things are in green status.
    for every thing it is fetching zero records.i have already checked rfc connection and all the update and tranfer rules.every thing is fine.
    can anybody help me out...
    regards,
    viren.

    Hi,
       well,,I have after lot of replies,.. so let me see..
       I understand this is LO extraction. Also, since your load is running in Process chain, I "assume" these are delta loads.( right?). You also say there are records in the related tables.
      So, I feel, foll. are the things that you may need to check.
       1. Did you check in RSA7 for delta records?
       2. Did you check if the delta jobs are running fine to collect the data from the application tables?
       3. Did you correctly do the settings for delta for your extract structure?(direct delta, queued delta.. etc)
       4. These are the basic settings that will ensure that the delta records are collected in the right way!!!
        Once all the above listed are fine, then you should be able to see some data collected in your delta Q( assuming ur loads are delta loads)
        Let us know!!!
    Thanks,
    Raj

  • Not able to get data from ce_reconciled _transactions_v in a function after intialising the view

    Hi all ,
    I have written a function  to  get the gl_date from ce_reconcilied transactions_v . but when i call th function in a select query , it is not returning any data.
    I have used the following intialization in the function
    Mo_Global.set_policy_context('S',p_org_id);
    cep_standard.init_security;
    But when i use anonymous block to get gl_date printed it is fetching data from the view.
    Below is the  code for Function
    CREATE OR REPLACE Function l3get_gl_date(p_org_id NUMBER,p_statement_line_id NUMBER)
    RETURN DATE
    AS
    v_gl_date DATE;
    ct NUMBER;
    BEGIN
    Mo_Global.set_policy_context('S',p_org_id);
    cep_standard.init_security;
    SELECT count(*) into ct from ce_reconciled_transactions_v where org_id=p_org_id ;
    dbms_output.put_line('count:' ||ct || 'org ' ||p_org_id || ' line ' ||p_statement_line_id);
    SELECT  gl_date INTO v_gl_date
      FROM ce_reconciled_transactions_v where statement_line_id=p_statement_line_id;
      RETURN v_gl_date;
    EXCEPTION
    WHEN OTHERS
    THEN
    dbms_output.put_line('unable to get GL_DATE' ||SQLERRM);
    RETURN NULL;
    END;
    below is tha anonymous block
    declare
    p_org_id NUMBER;
    p_statement_line_id NUMBER;
    ct NUMBER;
    v_gl_date DATE;
    BEGIN
    select org_id into p_org_id from ce_bank_acct_uses_all where bank_account_id=10911;
    select statement_line_id  into p_statement_line_id from ce_statement_lines where statement_header_id=41130 and line_number=4;
    Mo_Global.set_policy_context('S',p_org_id);
    cep_standard.init_security;
    SELECT count(*) into ct from ce_reconciled_transactions_v where org_id=p_org_id ;
    dbms_output.put_line('count:  ' ||ct || 'org  ' ||p_org_id || ' line  ' ||p_statement_line_id);
    SELECT  gl_date INTO v_gl_date
      FROM ce_reconciled_transactions_v where statement_line_id=p_statement_line_id;
    dbms_output.put_line('GL Date:   ' || v_gl_date);
    EXCEPTION
    WHEN OTHERS
    THEN
    dbms_output.put_line(SQLERRM);
    END;
    please suggest .

    Hi,
    Try adding the following code so we can verify the org is set in your function:
    Add to the definition:
    v_org_id number;
    Add after setting the policy:
    select MO_GLOBAL.get_current_org_id()
    into v_org_id from dual;
    FND_FILE.PUT_LINE(FND_FILE.LOG,'Current MO Org_id='||v_org_id);
    This will verify that the org_id was set.
    Are you getting any errors, or simply no data found.
    Cheryl

  • Not able to Import data using "clear and replace"

    Hi,
    If I import data using the data admin package "Import" and "Merge" as 'method for importing' the process runs without problems.
    If I change the 'method for importing' to "Clear and Replace" the process fails. See message:
    TOTAL STEPS  2
    1. Convert Data:         completed  in 3 sec.
    2. Load and Process:     Failed  in 1 sec.
    3. Import:               completed  in 1 sec.
    [Selection]
    FILE=\UHRENHOLT\LEGAL_DATALOAD\DataManager\DataFiles\\Axapta_Load.txt
    TRANSFORMATION=\UHRENHOLT\LEGAL_DATALOAD\DataManager\TransformationFiles\\Axapta_Load.xls
    CLEARDATA= Yes
    RUNLOGIC= Yes
    CHECKLCK= Yes
    [Messages]
    Key cannot be null.
    Parameter name: key
    I'm uisng the standard data admin package (and thereby the values 0 and 1). For some reason the value 1 is not accepted.
    Any suggestions?
    /Lars

    Hi,
    The "Replace & clear..." feature during data import depends on Work Status. So to use this functionality, you need to setup Work Status under your application. Notice that you need to setup Work Status even if you aren't selecting the option to check Work Status when running the package.
    Hope this will help you.
    Kind Regards,
    Patrick

  • Not able to import photos from Iphoto with the trial version of Aperture

    I just downloaded the trial version of Aperture 3 and was trying to import my Iphoto library to work with some of the photos in Aperture.  When I go to File, Import, Iphoto library, the IPhoto Library is not able to be selected. 
    I can go into finder and see that I have an Iphoto Library and it opens with no problem, but for some reason I cannot import or open the library in Aperture, which makes me very hesitant to purchase the full version of the product.
    Any help is appreciated.

    Sounds to me like you are not in the Import dialog box.
    What happens if you select File->Import ...  ?
    If that's not it, show us a screen capture.

Maybe you are looking for