Unable to add XML and Webservices Datasource in Crystal Reports

Hi,
    when I am trying to add a Web service datasource upon clicking the XML and Webservices Datasource in Database Manager I get the following error.
Invalid Arguments Provided.
Details: Java server startup failure. Verify PATH (JDK), CLASSPATH, and IORFileLocation properties in the CRConfig.xml file. In addition, verify that you are using JDK 1.5.
I am using Windows server 2003 OS. Java is version 1.6. I tried the below things but none of them worked.
1.Edit the crconfig.xml file to add classpath and license information
2.reverted to java 1.5
3.uninstalled and installed the CR 2008 software. None of these worked. Please help.

Thanks Don but my issue is not proxy related.
                    I am not using a proxy though I am using a VPN to be in the network of the Webservice hosting server. Also, my problem is that I am not able to even enlarge the XML and Webservices Data source to add any xml or web service file let alone the one I want to.
Edited by: iamkhader on May 10, 2010 7:26 AM

Similar Messages

  • Unable to add xml-apis.jar

    When ever i add xml-apis.jar to the oracle application server as part of deployment of my application, the server gives the following error when i want to log into the application server control.
    This OC4J is configured to make JMX connections via RMIS and fall back to RMI if the RMIS port is not configured. The RMIS connection on the OC4J instance home on Application Server test.10.224.1.158 is configured but a connection could not be established. The JMX protocol is specified by the oracle.oc4j.jmx.internal.connection.protocol property in opmn.xml

    let follow your post on unable to add xml-apis.jar
    regards
    Tugdual Grall

  • How to add OLE wordpad objects to a crystal report through VB program

    Can we programmatically add OLE wordpad objects to a crystal report XI r 2. through VB.NET or VB6?
    And is there a way of treating a database binary/blob field as an ole object in CR?

    Hi Mohan,
    Try it in the Designer first. If it works in the designer then it will work in our SDK's but you'll have to use RAS. So when you post your question to the .NET Development - Crystal Reports Forum be sure to specify what version you are using and anything else as far as versions go.
    It may be easier to simply link the OLE Object in the designer, check the help file out on how to.
    Thank you
    Don

  • 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.Load(@"C:\Temp\Report2.rpt");
    rDoc.DataSourceConnections[0].SetConnection("Server", "SBOTest", "manager", "manager");
    rDoc.SaveAs(@"C:\Temp\Report3.rpt");
    rDoc.Close();
    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.Refresh();
                oRpt.SetDatabaseLogon(sUser, sPassword, sServer, sCompanyDB, false);
                oRpt.VerifyDatabase();
                oRpt.Refresh();
            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;
                    oTable.ApplyLogOnInfo(oLogonInfo);
    Edited by: Konstantin Rakhuba on May 6, 2010 11:44 AM
    Edited by: Konstantin Rakhuba on May 6, 2010 11:45 AM

  • COM dlls in the Standard and Professional Editions of Crystal Reports

    Post Author: enz0
    CA Forum: Deployment
    Hi.
    Do the Standard and Professional editions of Crystal reports install all the com dlls?
    thanks

    Hi,
    The crystal reports trainign for SAP Business One is designed for partners and customers and provided for free to them.
    It's not available to non-customers. You will need to have a login to the partner or customer portal to use it.
    Alternatively you can use the regular Crystal Reports training resources or available books to get yourself skilled for Crystal Reports. Being able to work with Crystal Reports is 90% of the work where as the SAP Business One specific's are in the area of ....
    - Release 8.8: the datasource connections; working with variables in the report; intergration and distribution of reports
    - Release 2007: linking the reports into the SAP Business One menu and making them secured available to the end users.
    Best regards,
    Peter

  • How to embed the Word Document and PDF file into Crystal report?

    How to embed the Word Document and PDF file into Crystal report?
    I have word doc which having 10 pages. I need to show all of the 10 pages at a time. I tried OLE object but problem is it shows only one page.
    Is there any solution to show word doc / PDF file in CR?

    Symptom :
    When embedding a pdf document into a Crystal Report, only the one page shows.
    Reproducing the Issue
    Environment:
    Crystal Reports OLE object
    Cause
    An OLE object only displays the first page.
    Resolution
    Embed multiple objects, one for each page
    Or
    Use a hyperlink to the object instead
    Hope this helps!
    Regards,
    Vinay

  • Unable to add XML files to genericObjects Folders using Webdav - cFolders

    Hi All
    I am not able to add XML files to genericObjects Folders using Webdav in cFolders
    What could be the reason.. When I try to copy, it says "cant read from source file"
    Regards,
    Aby

    Yes.. I downloaded the ECN.XML file from se80, edited and then used "Uplload and replace"..
    Also I did the same thing to add some more vocabulary in the cfx text XML, so that it would reflect correctly to map with Additional attributes in the PDX profile.
    Regards,
    Aby

  • Unable to add hotmail and sbcglobal attachments???

    I checked for a thread pertaining to this question and I didn't see one... forgive me if this is redundant.
    I am unable to add attachments when sending emails in both my hotmail account and sbcglobal account.
    After I have chosen the file (text, picture, etc) and click 'attach' it starts loading and then just stops. Happens the same with both accounts.
    Any thoughts? Thanks.

    Hello! Don't know if this will help you but I've encountered the same problem and traced it to a long file name problem or to one with unacceptable characters. This problem also has shown up when the file is bedded deep in folders. Try renaming the file to something short and getting it somewhere on the drive where it's not nested deep. and see if that helps. Tom

  • Unable to add or edit SSRS 2010 subscriptions on reports that need to be saved to specific SharePoint document library

    I have a SharePoint 2010 Reports library that has reports with old subscriptions.  Whenever a user tries to add a subscription or edit one by selecting the ellipsis to choose this particular library we get the SharePoint correlation error that really
    doesn't provide much information.  We can successfully add the subscription by manually entering the folder path into the subscription without using the ellipsis or by using another library to store the subscriptions in.  I've looked at the Reporting
    services logs but I don't see much there either.
    There was someone with a similar issue with SharePoint 2013.  I've added the name of the article below but I haven't found anything about SharePoint 2010.  Any ideas are welcome....
    Unable to create or edit SSRS 2012 subscriptions on reports stored in SharePoint 2013 document library

    If you re-publish the report, can you create a subscription from it? Remember that with SSRS 2012 and higher, you need to have Contribute rights to the report to create subscriptions.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • 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";
          #endregion
          public Form1()
             InitializeComponent();
          private void runReport_Click(object sender, EventArgs e)
             CrystalReport1 crReportDocument = new CrystalReport1();
             BTSBDataSet dataSet = new BTSBDataSet();
             using (SqlConnection conn = new SqlConnection(connectionString))
                try
                   conn.Open();
                catch (SqlException Ex)
                   if (conn != null)
                      conn.Dispose();
                   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);
                   return;
                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
                   SQLDataAdapter.Fill(dataSet.Tables["BTSBDataTable"]);
                //this should launch the crystal on form 2
                crReportDocument.SetDataSource(dataSet);
                //show the crystal
                frmCrystal reportViewer = new frmCrystal(crReportDocument);
                reportViewer.Refresh();
                reportViewer.ShowDialog();

  • Changing Datasource and New Aliases in CRystal Reports 11

    <p>I am in the process of converting from Crystal 7 to Crystal 11. In existing reports that have been saved in 11, I need to point to new tables. After pointing to a new table I get error messages saying that it does not know the fields used in the report and prompts me to change all the aliases in all the formulas and fields used on the report. I checked the documentation and it looks like I have to do this manually. In older versions, you could change the alias and it would go through and make all the changes in the formulas and fields.</p><p>Could it be possible that a new version has removed a great feature?? Not only did I have to manually change the aliases - but doing so removed all the field names from the report - very annoying!! I have several reports where new tables are being used and will have to be changed and this task could be a disaster. </p><p> Has anyone encountered this or know of a way around it??</p><p><br />Thanks,</p><p>Anne</p>

    It took me a while, but I figured it out.  Click on Database - Database Expert.  The directions for changing the alias should be displayed (click the table name on the right and press F2).

  • How to add Tabs and List Boxes in Webi Report in Reporting Area(Not Report Filters & Input Controls)

    Hi All,
    I have a requirement to use some components called List Box and Tabs in my WebI report for presenting the information by dynamic dimension and measure selection using list box and segregate information by using Tabs as in below image.
    Image was prepared in MSPaint not executable webi report.
    Is it possible to integrate the list box and tabs into Report Zone in BO Webi? as show in below image?
    Thanks in Advance
    Muralidhar Reddy N

    Hello Muralidhar Reddy,
    The exact tool for your requirement is SAP BO Dashboard or SAP BO Design studio. WebI is a tool for ad-hoc reporting tool and we have limited functionalities to make dashboards using webI. You can have all those chart options in WebI and you can use Input controls or drill filters for restricting data. But you cannot have these selection components in reporting area. Tabs as shown in above post, you can have in bottom of the report.
    find below a good example of dashboard using WebI
    http://blog.davidg.com.au/2011/04/webi-as-dashboard.html
    hope it helps
    Regards,
    Nikhil Joy

  • 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?

  • Unable to open OLAP cube in Infoview for Crystal Report

    Hello,
    I am currently confused with a crystal report designed via OLAP grid on a BW query and working fine on Crystal designer module on my PC but sending an error when I tried it on INFOVIEW "unable to open OLAP CUBE".
    I checked all parameters and database connexions on BO Entreprise CMC : it is OK.
    I am on BO XI 3.1 SP 3 entreprise and BW 3.5 or BW 7.0 (both are in concern).
    When I tried a simple report on a BW query just drop fields of the query into the report and sending it on Infoview, it is OK.
    Just OLAP grid is KO. I do not understand, it is MDX language too ? Somebody can help or faced the same trouble ?
    Thanks in advance.
    Valérie.

    Hi
    I am facing the same issue when I try to open Crystal report Olap Grid via .net Crystal Report Viewer.
    Getting the error message like not able to open OLAP Cube.
    Please need urgent solution
    Thanks a lot,
    Usha

  • Unable To Print or Access Page Setup in Crystal Reports 2008

    I have Win 7 32 bit, and installed Crystal Reports 2008 last week (v12.0.0.683 from the Help window).
    Every time I open a report, and from the Preview tab clicking File -> Print, or File - > Page Setup, I immediately receive a Windows message that "Crystal Reports has stopped working".  After a few seconds, another Windows message displays "Crystal Reports has stopped working - a problem caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available".  Then Crystal completely closes.
    I downloaded sample reports from the BO website, and still receive the error, so I don't think it's the report.
    When I view the Event Log, I see the following:
    Faulting application name: crw32.exe, version: 12.0.0.683, time stamp: 0x47c8be9a
    Faulting module name: ntdll.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdadb
    Exception code: 0xc0000374
    Fault offset: 0x000c283b
    Faulting process id: 0x94
    Faulting application start time: 0x01cc1fc304e98ecd
    Faulting application path: C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\crw32.exe
    Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
    Report Id: 3cfc99e6-8bb8-11e0-b8ef-00248122792c
    I have uninstalled and reinstalled CR 2008 multiple times and continue to receive the same error.  I tried updating to SP1 (Version 12.1.0.892 Incremental) but I receive the following error: "A BusinessObjects product at a lower patch level is detected.  The installation cannot continue.  Please update all installed products to the SP1 patch level, then restart this installation".
    Need to print my reports - any ideas?

    Sorry busy on Support cases and they take precedence over this community forum.
    Very interesting....
    In a test application I use I have this routine to get the local printers:
    private void frmMain_Load(object sender, System.EventArgs e)
         if (System.Drawing.Printing.PrinterSettings.InstalledPrinters.Count > 0)
              foreach(String myPrinter in System.Drawing.Printing.PrinterSettings.InstalledPrinters )
                   cboCurrentPrinters.Items.Add(myPrinter);                         
              cboCurrentPrinters.SelectedIndex = 0;
         else
              rdoCurrent.Enabled = false;
              EnableDisableCurrentControls(false);
         //For printers exposed to System account as per MS Kbase
         //http://support.microsoft.com/default.aspx?scid=kb;en-us;184291
         //Look to HKEY_USERS\.Default\Software\Microsoft\Windows NT\CurrentVersion\Devices
         Microsoft.Win32.RegistryKey mySystemPrinters =
              Microsoft.Win32.Registry.Users.OpenSubKey(@".DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Devices");
         foreach (String defaultPrinters in mySystemPrinters.GetValueNames())
              cboDefaultPrinters.Items.Add(defaultPrinters);
         if (cboDefaultPrinters.Items.Count > 0)
              cboDefaultPrinters.SelectedIndex = 0;
         else
              rdoDefault.Enabled = false;
    Note the MS Kabse on where the printer registry is. Now the odd part is on one of my test development PC's it won't populate the Default User Printer list, only the Local User Printers. I take this same app to another PC and it works just fine. The register keys are there but for some reason on my Windows 7 64 bit it won't show them, the other strange part is I have full access to both keys. I have not been able to figure out why this happens...
    I'm thinking this may be related to your issue.... But I don't have a solution, very strange... I've even gone into regedit32 and set full permissions on the various keys and it still doesn't work...
    I have other VM-ware images if I need to get past that part for testing so I never drilled into why, I believe it has to be some Windows/Firewall/Anti-virus configuration or something our IT department pushed into my local Profile.... What that is I don't know unfortunately.
    I'll do some looking and testing. You may want to post this on Microsoft forums as well.... Ask about printer permissions.
    Thanks
    Don

Maybe you are looking for

  • Get input Filename

    Hi all, I need to get the name of the file i am currently reading from the sender system directory. I was thinking to send the filename as a tag to the output so that i can retrieve it at the output payload. If i can get the file name in some user de

  • Can I use my Student and Teacher Edition software for commercial use?

    Can I use my Student and Teacher Edition software for commercial use?

  • After Mavericks installation USB extern hd won't let the system shutdown

    after the Mavericks installation my UBS extern hard drive won't let the system shutdown or restart. If I unmount the USB HD and shutdown from apple menu or keyboard combination(control+eject key) then goes system down but without unmount shows just g

  • What is minimum client server-install?

    Hi there, I just wondering since I could not find it in any documentation. What should I pick in custom installation if I just want to run form and report on 2-tier client/server environment. Many thanks,

  • Installed Xcode but can't find /developer directory

    I am a novice developer this might be a stupid question but I need help installing excode so I can eventually install dashcode. I'm using iMac 10.7.3 and installed xcode4.3.1 from app store. But I can't find any /developer directory. There is nothing