Using excel file as datasource in crystal report asking database logon

hai all,
we uisng  plain excel file in crystal report to develop some reports it is working fine. Issue is when we are using  parameters and  using the crystal report in live office it  is asking for database logon details. we are not using any database as it plain excel file even without any odbc driver . please suugest what credential we have to give.
Thanks and regards.

Looks, your Live Office settings are set to "OnDemand".
Give BO logon credentials(Infoview) & try it out.
I'm Back

Similar Messages

  • How to open an excel file with password in Crystal Reports XI  Release 2

    I have a problem when i try to open an excel 2003 file with password that i know
    i recevived an error code 0xc59
    How can I open a file in excel 2003 protected by password to create the report?
    Thanks in advanced

    Hi Pierluigi,
    It looks like you have to open the excel file and use the data.
    A few informative links.
    Hope this helps.
    Abhijeet Taskar.

  • Crystal Report requests Database logon if SAP BW is datasource

    Hi all
    I experience the following:
    1. SSO from SAP Portal to BOE works: I can view Sample Crystal Reports based on the BO-iView-template without additional login
    2. SSO from SAP Portal to SAP BW works: a) I can view custom BW Web queries without additional login and b) the connection tests on the system object in SAP Portal run fine
    3. I assume SSO between BOE and BW works because I can view Xcelsius dashboards based on BW queries within SAP Portal without additional login
    Nevertheless I am presented a login screen ("The report you requested requires further information. -
    Database Logon") if I try to view a crystal report based on a BW query, no matter if I start the report from InfoView, SAPGUI or SAP Portal. If I enter my SAP credentials in "Databse logon"-window I can see the report runs fine.
    SAP Authentication in BOE seems to work (I can import users & roles). In all 3 systems I have at least Admin or equivalent permissions. If I change the Database Configuration for this report within InfoView ("Use SSO") it does make any change (I also read somewhere a reply from I. Hilgefort that this is not necessary if BW publisher service is installed correctly).
    We use SAP BW 701.06, BOE XI31FP3.4 and SAP Portal 701SP6
    I publish the report from Crystal Reports 2008 SP2 with the SAP-Menu -> Save Report.
    I logon to InfoView-App with my SAP-BW credentials.
    Any help appreciated!

    Real solution is different, my other post is only a workaround:
    1. SNC settings in CMC were not correct (Certificate path, path to sapcrypto.dll)
    2. Relevant Serices have to run under local username
    3. Username has to be added to PSE
    See here:

  • Using Excel as a Datasource

    I created a report that will use Excel as a datasource. The report runs fine from my desktop. I would like to place this report on the Business Objects Server. Can anyone tell me what I would need to do in regards to the excel file.
    In addition to this issue, when I moved the excel file to a shared folder and reconfigured the system dsn, the report would not run. I received an error message: could not decrypt data. Any help would be appreicated. Thanks.

    Put the excel file on a network drive which is accessible by the server.
    Create a Crystal Report using the Access/Excel DAO connection based on the above excel file.
    Save it to the enterprise.
    Hope this helps!!

  • Using Excel as  Datasource in Crystal Reports 8.5

    I have never used Excel as a source for Crystal data and I am having a bit of an issue I believe. I have an Excel file on my desktop that I am using as the datasource. Eventually it will be out on a network drive. I set up all my reports as blank reports so I do that. When it brings up the Data Explorer pop up I choose ODBC ---> then Excel Files and choose the file. I then add the sheet to the report, close the data explorer window and start designing my report. I drag the fields I want on there, but when I go and preview I don't see any data at all. I have also tried it with the Report Wizard, no go there either.  Is there something special I need to get the data to show up on there? Does it need to be formatted a certain way? Is it just easier to convert it over to an Access database? Any help anyone could suggest would be wonderful!
    Jami Benson

    I just checked something out and I figured out what I was doing wrong myself. It would seem that I was choosing the wrong sheet. One of the sheets, sheet 1, appears twice in the list. Once with the name of the whole spreadsheet, and once as just sheet 1. I was using the one with the name. It has the headings just no data. The other has the data and headings, just no name. Once I choose it, all seems to be well. '

  • Error using Excel as a DataSource for Report Builder 3.0 - ODBC connection

    I'm getting this error message below while trying to use excel as a datasource within Report Builder 3.0.  I can see the columns and rows but unable to display/run the report.  Using Excel 32 bit and have the driver and user dsn created under c:/windows/syswow64/odbcad32.
    ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Hi Cherise,
    Vishal's link looks good.
    I have commercial experience in migrating Crystal Reports to SSRS. When performing any type of migration it is always wise for the business requirements to be revisited. It is likely that the business requirements may have changed since the Crystal reports
    were initially developed, etc.
    I've done some research for you and the following link looks quiet impressive and offers a cheap trial, in terms of a direct migration. Please tell me how you get on; -
    I emphasis again I have commercial experience of lots of migration projects and it would be very unwise to not revisit the business requirements as part of the migration process.
    Kind Regards,
    Kieran Patrick Wood

  • Unable to fill datatable to use as datasource for Crystal Report

    Hello again kind folks of the Crystal Reports forums. I beseech you for a little assistance yet again. I am writing a program that does some very simple stuff, yet is giving me very complicated problems. I used the code I wrote from a working program and everything is fine, except the fact I can't get data on my report.  I have created a dataset    to get the data from my SQL Server database. The connection string I have works, and the query I use works. In my other program I when I look at the dataset.xsd I see a filled datatable and that was how I got my fields for the report. In this one, I don't know how to prefill the datatable so that I can use that as a datasource in my report. I would be glad to get you code if anyone would like it. If someone could explain to me how to fill the datatable so I can use it as the crystal datasource, I would be so appreciative.
    Thanks again for all your help.
    Jami Benson

    Thanks for posting a reply Amit. I am confused about a couple things. The XML file. Is that something that I have to create myself? In my last program I got around using XML files somehow and for the life of me I can't remember how I did it. Is there another way you know of to fill besides this? Also I dont' have access on my computer. The boss never say a need since no one uses it. Is there a way to use my code, which I'm gonna include, and do it??
    Many thanks again Amit!
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    namespace SeriesPublishedToWeb
       public partial class Form1 : Form
          #region Configurable Settings
          private string connectionString = "Data Source =SQLSERVER; User ID=NightOps; Password=BTSB; Initial Catalog =BTSB";
          public Form1()
          private void runReport_Click(object sender, EventArgs e)
             CrystalReport1 crReportDocument = new CrystalReport1();
             BTSBDataSet dataSet = new BTSBDataSet();
             using (SqlConnection conn = new SqlConnection(connectionString))
                catch (SqlException Ex)
                   if (conn != null)
                   string ErrorMessage = "A error has occured while trying to connect to the server.";
                   ErrorMessage += Environment.NewLine;
                   ErrorMessage += Environment.NewLine;
                   ErrorMessage += Ex.Message;
                   MessageBox.Show(this, ErrorMessage, "Connection Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                string SQLSTATEMENT = "select t.titleno, title, season_code, series, field " +
                                      "from btsblog b JOIN TMASTER t on b.selectionid = t.titleno JOIN TMASTEREXT e  on e.titleno = t.titleno " +
                                      "where timestamp >= '3/1/09' " +
                                      "and timestamp <= '4/3/09' " +
                                      "and field = 'Publishtoweb' " +
                                      "and datawas = 'N' " +
                                      "and datais = 'Y' " +
                                      "and season_code = 'B'  " +
                                      "and series <> ' '";                                                                               
    using (SqlDataAdapter SQLDataAdapter = new SqlDataAdapter(SQLSTATEMENT, conn))
                   // this is the dataset that will fill the data adapter
                //this should launch the crystal on form 2
                //show the crystal
                frmCrystal reportViewer = new frmCrystal(crReportDocument);

  • How can i export excel 2003(Version 11) from Crystal Report 8.5

    how can i export report to excel 2003(Version 11) from Crystal Report 8.5

    We i can only see below formats
    Acrobat Format (PDF)
    Character-separated values
    Comma-separated values (CSV)
    Crystal Reports (RPT)
    Crystal Reports 7.0 (RPT)
    Data Interchange Format (DIF)
    Excel 5.0 (XLS)
    Excel 5.0 (XLS) (Extended)
    Excel 7.0 (XLS)
    Excel 7.0 (XLS) (Extended)
    Excel 8.0 (XLS)
    Excel 8.0 (XLS) (Extended)
    HTML 3.2
    HTML 4.0 (DHTML)
    Lotus 1-2-3 (WK1)
    Lotus 1-2-3 (WK3)
    Lotus 1-2-3 (WK5)
    ODBC - AddressBook
    OBDC - CROR8V36
    ODBC - dBASE Files
    ODBC - Excel Files
    ODBC - MS Access Database
    ODBC - Visio Database Samples
    ODBC - Visual FoxPro Database
    ODBC - Visual FoxPro Tables
    OBDC - Xtreme Sample Database
    Paginated Text
    Record style (columns no spaces)
    Record style (columns with spaces)
    Report Definition
    Rich Text (Exact Format)
    Tab-separated text
    Tab-separated values
    Word for Windows document
    there is no format with "Microsoft Excel 97-2000 (XLS)"
    what should i do?

  • Which is better to use Store Procedure or Views in Crystal Reports ?

    which one is more better to use Store Procedure or Views in Crystal Reports ?

    It depeneds on the requirement. Well, but from performance point of view as u know that stored procedures are already compiled on DB side, they would be more efficient. Views are handled differently. Here CR has nothing to do with it.
    But if the stored procedure u r using is having 2 Select statements, CR will only display the results from the first select statement. In that case you need to use Views as one can use more than one views in the report and join them.
    Using a Generic view which is created by the DBA for a larger audience will result in performance issues meaning if a View "V" has 25 fields and View is based on 5 tables  and ur report is using only 5 fields which are coming only from 2 tables inside the view,in this case u will end up in joining 3 more tables unnecessarily.
    Hope this helps!

  • Excel Datasource for Crystal Reports - BO Enterprise on Linux

    i've developed a report, which uses data from sap query and from an excel file (.xls). I copied the excel file to the BO-server (the user bo has rights on this path) and publish the report. But when i start the report, comes the error "could not read database information".
    Our BOE is XI 3.1 SP 3 and we use Crystal Reports 2008. BOE runs on a SLES. Is it possible to uses Excel-Datasources in this case? If it is possible, what have i to do?
    thanks & regards

    Hi Daniel,
    It is not supported in Linux. You can check the Supported Platforms documents for this platform. It is only available for Windows platform.

  • How to use JavaBeans as Datasource for Crystal Report 10?

    I have tried to use Crystal Report 10 with Java Beans as Data Source.
    I read
    and followed all steps to use JavaBeans as a DataSource.
    I have setup all registry entry requiered for it but still getting blank dialog box for Java Beans Connectivity classes?
    If anyone have tried to use, then give suggestions.

    I have tried to use Crystal Report 10 with Java Beans as Data Source.
    I read
    and followed all steps to use JavaBeans as a DataSource.
    I have setup all registry entry requiered for it but still getting blank dialog box for Java Beans Connectivity classes?
    If anyone have tried to use, then give suggestions.

  • How to use a stored procedure as a datasource in Crystal Report for Eclipse

    Hi All,
    I've written a stored procedure in oracle 10g with few input parameters and one refcursor output parameter. I want to use this stored procedure as a data source for creating a report in "Crystal Report For Eclipse 3.6.0".
    When I tried to add this stored procedure to the report using the connection explorer, I don't see any option to do this. But when I try to add any table, it shows options like "Add to the current report"....
    Can anybody assist me how to use a stored procedure as a data source in "Crystal Report For Eclipse"?
    Which driver should I use to connect to the oracle database? I tried using JDBC Driver for Oracle.
    Thanks in advance.

    Did you solve your problem? How did you do?

  • How to create reports using excel files In OBIEE

    I have data in only one excel file,how to create reports in OBIEE..I need to Prompt aslo in this report .
    I have requirements prompt also , Prompt name :Year, Month ,Day , how to create reports

    Create similar kind of joins which you make after importing physical tables from db.
    There is no difference in making joins in the excel. (both physical and BMM layers).
    But always remember there are many limitations for having excel as database.
    Also refer

  • Change datasource of Crystal Report via code

    Hi all!
    I'm developing partner solution for SAP B1 8.8 in C# and prepared some nice crystal reports. But they are bound to my default database for now. I want to include them to my installation file and change saved datasource location (Server, Company Name, User name, User password) in my installation script as soon as I get this values, entered by user. But I don't know the way how to change datasource in rpt file. I've tried the following:
    using CrystalDecisions.CrystalReports.Engine;
    ReportDocument rDoc = new ReportDocument();
    rDoc.DataSourceConnections[0].SetConnection("Server", "SBOTest", "manager", "manager");
    but it save no changes to rpt file.
    I think, this thread belongs mostly to Development/SDK thread, because here most of the people make programs and potentially met this problem in the past.

    public void SetCrystalLogin(string sUser, string sPassword, string sServer, string sCompanyDB, CrystalDecisions.CrystalReports.Engine.ReportDocument oRpt)
                CrystalDecisions.Shared.ConnectionInfo oConnectInfo = new CrystalDecisions.Shared.ConnectionInfo();
                oConnectInfo.DatabaseName = sCompanyDB;
                oConnectInfo.ServerName = sServer;
                oConnectInfo.UserID = sUser;
                oConnectInfo.Password = sPassword;
                // Set the logon credentials for all tables
                SetCrystalTablesLogin(oConnectInfo, oRpt.Database.Tables);
                // Check for subreports
                foreach (CrystalDecisions.CrystalReports.Engine.Section oSection in oRpt.ReportDefinition.Sections)
                    foreach (CrystalDecisions.CrystalReports.Engine.ReportObject oRptObj in oSection.ReportObjects)
                        if (oRptObj.Kind == CrystalDecisions.Shared.ReportObjectKind.SubreportObject)
                            // This is a subreport so set the logon credentials for this report's tables
                            CrystalDecisions.CrystalReports.Engine.SubreportObject oSubRptObj = oRptObj as CrystalDecisions.CrystalReports.Engine.SubreportObject;
                            // Open the subreport
                            CrystalDecisions.CrystalReports.Engine.ReportDocument oSubRpt = oSubRptObj.OpenSubreport(oSubRptObj.SubreportName);
                            SetCrystalTablesLogin(oConnectInfo, oSubRpt.Database.Tables);
                oRpt.SetDatabaseLogon(sUser, sPassword, sServer, sCompanyDB, false);
            private void SetCrystalTablesLogin(CrystalDecisions.Shared.ConnectionInfo oConnectInfo, Tables oTables)
                foreach (CrystalDecisions.CrystalReports.Engine.Table oTable in oTables)
                    CrystalDecisions.Shared.TableLogOnInfo oLogonInfo = oTable.LogOnInfo;
                    oLogonInfo.ConnectionInfo = oConnectInfo;
    Edited by: Konstantin Rakhuba on May 6, 2010 11:44 AM
    Edited by: Konstantin Rakhuba on May 6, 2010 11:45 AM

  • XLSQL for using Excel (XLS) as datasource in VC

    Hi Benjamin,
    Hope you are having a good day. I know its been a while since you worked on this piece ([url] DATE issues when using BI JDBC Excel datasource in VC;url] ) but we are trying to do the same thing you had done. Use xlSQL to connect to an excel file as a datasource for VC modeling.
    We want to use the BI Java connector. I have loaded the JAR files and when we get to the Manage Connections, not sure what we enter for the Driver, URL, Schema, username and Password.
    What I now see if that the Connection Test (for the BI JDBC system) works fine with the following:
    Driver: com.nilostep.xlsql.jdbc.xlDriver
    Connection URL (Unix box): jdbc:nilostep:excel:/reports/spec (this is the folder where I have the xls file)
    FixedSchema: (should my excel file name go in here?)
    FixedCatalog: (should my excel sheet name go in here?)
    Username: none used
    Password: none used
    When I do all of this and search for TABLES in VC on that system, it says None found. Any light shed on this would be very helpful.

    The most important guideline we used was this document:
    How Tou2026Configure a BI JDBC System for Visual Composer Version 1.03 u2013 March 2006
    Follow all the steps... Some remarks about the steps in this document:
    Step 7: add all additional .jar files that are in the /lib folder of the xlsql driver package
    Step 11 - 14:  ... skip this, after step 15 restart the whole j2ee cluster, this is really needed to load the .jar files
    Step 15: although optional and not the configuration you need to get it working for VC it is handy to configure this as it allows you to use the JDBC test page for debuging etc.
    The only 2 parameters you need to configure with this step is:
    Driver: com.nilostep.xlsql.jdbc.xlDriver
    Connection URL: jdbc:nilostep:excel:/reports/spec/
    ...Now restart the j2ee cluster...
    After the restart you can use the following url to see if the driver works: http://<hostname>:<port>/TestJDBC_Web/TestJDBCPage.jsp
    Continue the configuration to allow VC to access the driver you need to configuer a System object in the portal...
    Follow Step 16 an onwards...
    Step 26: Again only fill in the following:
    Driver Class name: com.nilostep.xlsql.jdbc.xlDriver
    Connection URL: jdbc:nilostep:excel:/reports/spec/
    Step 29,30 and 34,35: Usermaping Type can be left untouched
    Additional step (do this after step 33): To make the system visible in VC you must set the portal permission for the user that use VC to Read + Enduser. Also when used in runtime later the enduser should have Read+ Enduser permission to use the system object. We used the built-in group Authenticated User for this and set the permissions on this group to Read+Enduser.
    This should do the trick...
    FAQ 1 - after uploading a new (or overwriting an existent) XLS file to the folder the changes are not visible, how to solve this?
    ANSWER 1 -  restart the JDBC connector via /nwa > manage > applications > (search for jdbc) > Stop / Start
    FAQ 2 - after deleting a XLS file the data is still querieable, even after the restart of the jdbc driver?
    ANSWER 2 - this is some kind of caching bug, deleted files are only deleted when you restart the J2EE engine.
    FAQ 3 - after a restart of the jdbc driver, the first query firred in VC returns an error.
    ANSWER 3 - this is because the first time the XLS files are read and writen into a HSQLDB in memory database, this takes more time. after this the calls are made on this in-memory-copy of the XLS data.
    Hope this helps you...
    Benjamin Houttuin
    Edited by: Benjamin L.F. Houttuin on May 26, 2011 8:04 PM

Maybe you are looking for