Crystal Report looks the design time xml at run time

Hi,
I have a question about crystal report. I am using VS 2008. My PC is Windows XP SP2.
The reporst was using xml datasource. At design time, I specifiy the datasource as a xml file (D:\Report\myReport.xml). At run time, on a different pc where the design time xml file does not exist, I prepare the datasource like:
DataSet data = new DataSet();
XmlTextReader reader = new XmlTextReader(xml, XmlNodeType.Document, context);
data.ReadXml(reader);
and then
report.Load("myReport.rpt");
report.SetDataSource(data);
report.Refresh();
Edited by: Don Williams on Aug 7, 2010 10:02 AM

Hi Bhushan,
No it's still not working.               
Following is what my code looks like after applying your fix. Is it correct? Does the ConnectionInfo.ServerName have to be my report xml or any xml file will work?
Please let me know if my code is correct or wrong and how to fix it if it's wrong.
Thanks for your help.
report.Load(reportFile);
foreach (Table t in report.Database.Tables)
                    ConnectionInfo crConnectionInfo = t.LogOnInfo.ConnectionInfo;
                    crConnectionInfo.ServerName = "D:
UpdateConfig.xml";
                    crConnectionInfo.DatabaseName = "D:
UpdateConfig.xsd";
                    TableLogOnInfo crTableLogOnInfo = t.LogOnInfo;
                    crTableLogOnInfo.ConnectionInfo = crConnectionInfo;
                    t.ApplyLogOnInfo(crTableLogOnInfo);
report.SetDataSource(data);
report.Refresh();

Similar Messages

  • How to change drill filter values of all reports at the same time

    Hi,
    The Webintelligence users in our environment usuallly use drill filters in their document's reports. We'd like to find a way to change the drill filters' values of all reports when one value is selected. I mean, we need a work around to change the drill filters of all reports at the same time.
    We are using Business Objects XI 3.1 (a lot of webintelligence documents available, over than 2500).
    Does someone know a way to do that? I've already looked for that a lot, but I couldn't find anything.
    Thanks in advance,
    Gustavo Borges

    Hello Gustavo,
    as you refer to a Webi problem I recommend to post this query to the [BusinessObjects Web Intelligence|SAP BusinessObjects Web Intelligence; forum.
    This forum is dedicated to topics related to the creation and design of Web Intelligence documents using the Web Intelligence Report Panels. This includes areas such as universe connectivity, prompts, charting, formatting, filters, and formulas.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Webi queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • Crystal Report Taking too much time to load

    Dear Support team,
    Every time I open an existing Crystal Report, it is taking me about 5 minutes to load (Even if its a new and Blank report). Also after one report has loaded for the first time, Loading further reports would take the same long time.
    Please note that I was not facing this problem earlier (Same Crystal Report version), this issue started occurring after I came back from a leave, and our IT guy have told me that he had uninstalled the Visual Studio in my absence (License issue), and no further relevant changes that he can think of.
    Appreciate your help on resolving this issue, I work with a large number of crystal reports on daily basis, and this problem is killing my time.
    Thank you for your time and support.
    Best Regards,
    Saadeddine Nahlous
    Systems Developer

    Hello again,
    I just found out more info about this problem that might help us troubleshoot it:
    My colleague and I were both using the Old Crystal Report version 10 (Before SAP) till about a month ago. Afterwards, I have installed the new SAP Crystal Reports 2013 Trial version to test it, and i faced no issues there and ordered to purchase the product. One week ago, my company bought for me and my colleague two licenses which arrived in two boxes containing two DVDs and we re installed the software using the DVDs. Since then we BOTH are facing this delay issue when opening any Crystal Report. (The delay is unbearable, it is truly about 3 min without exaggeration).
    For the record, we both have high spec PCs.
    Appreciate investigating this issue with us please.
    Thank you

  • How to Use or Create XSD files in Crystal Reports XI R2 designer

    Hi,
    I have a crystal reports  application which was developed using  .Net crystal report designer, where XSD is used .
    now we have to develop the same application using Crystal Reports XI R2 designer , here i could not find any option for creating or using  XSD files , can you give any suggestions on that
    regards,
    kathyaini

    Hi Kathayini,
    Thanks for your prompt reply.
    We can use the existing XSD which are present in .Net
    But with current versions of crystal we doesn't have the feature to create XSD files at crystal designer level.
    So, it is suggested to use the XSD files which are present in .Net and  can also create new  XSD files.
    Let me know if you have any further queries.
    Regards,
    Naveen.

  • Crystal Reports XI - The memory could not be "written"

    Post Author: neildittmar
    CA Forum: General
    We develop and distribute applications using Crystal Reports XI via the RDC component in Visual Basic 6 under Windows XP (SP2).  One of our clients is having issues when launching Crystal Reports from an application.  The data for the report is processed for a period of time, but eventually a Windows error is returned indicating:  The memory could not be "written"
    It is important to note that this report is very data heavy and can produce a 500 page report.  Upon some analysis we've done on-site, we've found that a local administrator can run this report successfully multiple times without receiving the above mentioned error.  However, a user account that is much more restricted in regards to Windows file permissions consistently receives the error.  The clients IT department uses a computer management software that severely limits what individual user accounts have access to on their workstations.
    Our questions are as follows:
    1.  What folders on the client PC are utilized when generating a Crystal Report utilizing the RDC from a Visual Basic 6 application?  From what we can tell, .TMP files are written to the Local Settings\Temp folder of the User account under "Documents and Settings", but it also appears that these files can be written to the root C: drive as well as other places.
    2.  Does Crystal Reports XI require local administrator access on the workstation for users who execute programs utilizing it?

    Thank you,
    I doubt i am able to connect to the same database instance from forms builder 10g but not with forms 6i.I thought it is compatibility of 10g database with forms 6i but that is also not true i am able to connect other 10g database instance with forms 6i builder.
    Is the error is due to improper installation of database instance??
    Thanks

  • More than one reports at the same time?

    Hello
    Is there any way that i can call more than one reports at the same time through the .FMX file. At the moment i can call only one report, if i need to call another report then i have to close the 1st report, then it will show me the 2nd report. Report Background Engine can run more than one reports at the same time?
    Nametullah kalair

    Yes i know, we can submit multiple - asynchronous- jobs, but the problem is, is not possible to open more than one previewer to see multiple reports at the same time for analysis.
    Regards,
    Nametullah kalair

  • How to display multiple reports at the same time

    Hi,
    I'm trying to display multiple reports at the same time, each one in separates tabs or windows using Forms 11g 11.1.1.6
    I have a button which has a call to a procedure which makes use of rp2rro library to show the specific reports, for example:
    call_report('report1');
    call_report('report2');
    call_report('report3');
    call_report('report4');
    The main problem is that, just the last report is been displayed.
    Is there some way to display report1, report2 etc in separate tabs or windows ??
    Regards
    Carlos

    You shouldn't have a problem calling different reports at once. As long as you're using Forms 11g they show up in different windows.
    The question is how you are calling the report.
    Here is how I manipulate it.
    After I pass parameters with the ADD_PARAMETER built-in I set some key values (destype, desformat, desname) with the RP2RRO's procedures.
    Finally calling RP2RRO.RP2RRO_RUN_PRODUCT and then WEB.SHOW_DOCUMENT passing the correct procedure parameters the report comes up in a window. If you repeat the above changing the appropriate variables (the report_name in the RP2RRO_RUN_PRODUCT and so on) you can get multiple reports in different windows.

  • Error during running crystal report when the region setting to Vietnamese

    I have a report called stock movement which stockmovement.rpt file. It has some formula field where the formula is
    onlastrecord;
    numbervar SysClosingQty;
    IF {usp_Rpt_Crystal_StockMovement;1.ReferenceNumber}="" OR IsNull({usp_Rpt_Crystal_StockMovement;1.ReferenceNumber}) THEN
    {usp_Rpt_Crystal_StockMovement;1.SystemOpeningBalanceQty}
    ELSE
    SysClosingQty:={usp_Rpt_Crystal_StockMovement;1.SystemBalanceQty};
    After deploy to client side which have the region setting to Vietnamese culture, the execution of  this report throwing the following and the balance client machine working fine.:
    The remaining text does not appear to be part of the formula.
    Details:errorKind
    Error in File StockMovement
    .rpt
    Error in formula SystemClosingQty;
    'onlastrecord;
    The remaining text does not appear to be part of the formula
    Details :errorKind
    If we change back to English culture, it is working perfectly.
    How to resolve this issue.
    Kindly help and me and thanks for the kind help
    Malini

    See if the content of [this|http://msdn.microsoft.com/en-us/library/ms227600(VS.80).aspx] will help.
    The other option is to install CR 2008 designer on that computer - temporarily as a test only. Run the report in the designer and see if it works. Sometimes the designer will give you different error or better clues as to what is going on. E.g.; this could even be a database issue. An eval of CR 2008 is available from [here|http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx]
    - Ludek
    Edited by: Ludek Uher on Oct 7, 2011 7:23 AM

  • Crystal Report Takes very long time to display results

    Dear All,
    I am new to Crystal reports. We have installed Crystal report developer 2008 SP3 on Windows7 Service pack 1. We are creating reports from SAP ECC 6 EHP 4 Ready in Crystal Reports. The problem we are facing is that every report which we have developed in Crtystal reports is taking around 1 to 2 hours to display results. the reports are pertaining to only one day or one month data. we have also switch off "Verify On First Refresh", "Verify Stored Procedures On First Refresh", "Verify Database" and  we are also not saving data on report level as per the threads which are already posted in the forum pertaining to our problem.
    You are requested to kindly guide me how I can improve the performance of our crystal reports.
    Regards,
    Danish.

    You select expert formula says enough. It would appear that little or no data filtering is being carried out on the database server. Thus all records will be returned to Crystal and then filtered locally.
    You need to try and incorporate the logic of formula  {@Form_PeriodCvn} into the select expert. Or build a view/stored procedure which returns a value compatible with your filtering requirements.
    What is contents of formula  {@Form_PeriodCvn}
    Ian

  • Calling a Crystal Report using the ReportViewerBean

    Hello...I am writing a java application to display a Seagate Crystal report using the ReportViewerBean.
    The problem I am having is trying to display the report within the viewer.
    The following is a sample from my code where I create an instance of the viewer bean.
    ReportViewerBean rvb = new ReportViewerBean();
    JFrame frame = new JFrame();
    frame.setSize(1000,1000);
    frame.getContentPane().add(rvb,BorderLayout.CENTER);
    frame.show();
    rvb.start();
    try
    String strUrl = "http://localhost:8080/Report1.rpt";
    rvb.setReportName(strUrl);
    catch(java.beans.PropertyVetoException pve)
    System.err.println("Property change vetod");
    The Sys-out from the Report Viewer bean is "No reponse from server".
    The sysout from my server (Tomcat 3.2.3) is:
    2001-09-06 09:08:53 - Ctx( /Report1.rpt ): FileHandler: Ends with \/. D:\jakarta
    -tomcat-3.2.3\jakarta-tomcat-3.2.3\webapps\Report1.rpt\
    2001-09-06 09:08:53 - Ctx( /Report1.rpt ): 404 R( /Report1.rpt + + null) null
    2001-09-06 09:08:53 - Ctx( /Report1.rpt ): FileHandler: Ends with \/. D:\jakarta
    -tomcat-3.2.3\jakarta-tomcat-3.2.3\webapps\Report1.rpt\
    2001-09-06 09:08:53 - Ctx( /Report1.rpt ): 404 R( /Report1.rpt + + null) null
    Any suggestion/help would be greatly appreciated...TY

    I am getting the same 'No Response from Server' Message.
    URL = http://Pepperland/STPARMListing.rpt?viewer=java&vfmt=encp&vgen=728&pversion=3&language=en&promptOnRefresh=1
    Parameters = cmd=get_pg&page=1&incomplete_page=1&incomplete_page_count=1&smart_images=1
    No response from server.
    The WWW service and the Default Web Site are up and running.
    I tried configuring the application settings in the IIS MMC but I was unable to determine which .dll to associate with the .rpt extension.

  • Publish Crystal Reports to the web

    I have to see about using Microsoft Services to publish Crystal Reports to the web.One method would be to use Visual Studio.
    What are the ways in which to publish Crystal Reports to the web, besides this Visual Studio?

    You can use Crystal Reports Server, Edge or BusinessObjects Enterprise.  You can also use www.crystalreports.com

  • Open document syntax for  opening of two detail reports at the same time

    Hi All,
    I have one summary report   and two detail reports (sales detail Report  and Activation Detail Report)  In summary report I have serial number  when I click the particular serial number in summary report I need to display two detail  reports at the same time is  it possible to do In Business objects webintelligence 3.1
    I am using webi 3.1  , please suggest me any one how it do u2026u2026?
    Thanks in Advance!!!
    Regard,
    Sreekanth.

    while forming the link, try using java script.
    the html can be like:
    <html>
         <A href=" j avascript:window.open('http://www.google.com','','');j avascript:window.open('http://www.yahoo.com','','');">
              Click Here
         </A>
    </html>
    In place of # write (as I am not able to paste the code):
    javascript:window.open('http://www.google.com','','');javascript:window.open('http://www.yahoo.com','','');

  • The migrated Crystal Report throws "The database logon information for this report is either incomplete or incorrect" error

    [ENVIRONMENT]
    Product version - BI4.1 SP03
    OS - Windows 2008 R2
    CMS Database - Oracle 11g
    Java Application Server - Tomcat7
    [ISSUE]
    Using the Upgrade Management Tool to completely migrate a BOXI3.1 SP3+FP3.6 to BI4.1 SP03.  The reporting database from both BOXI3.1 and BI4.1 are the same and so is the database logon credential.
    When viewing and refresh a migrated Crystal Report, it throws "The viewer could not process an event. The database logon information for this report is either incomplete or incorrect. [] ---- Error code:0 [CRWEB00000119]" error in both BI Launchpad and "The database logon information for this report is either incomplete or incorrect" in scheduled job.
    [STEPS TAKEN]
    - Update the Database Configuration with the SAME Oracle database password in CMC and "The database logon information for this report is either incomplete or incorrect" issue goes away.
    I search the SAP SMP and SCN forum and found no reference on this UMT and Crystal Report database logon problem.  Hope any of you have seen this problem and share if there is an ADAPT for it.
    Thank you in advance,
    Jin-Chong

    Hi,
    The BI4.1 SP03 server and client and Crystal Report 2013 SP03 developer and Crystal Report for Enterprise 4.1 SP03 are all installed onto this Windows 2008 R2 server.
    I am able to open the migrated report from CMS repository in Crystal Report 2013 SP03 developer and am able to refresh it with database logon password provided.  After save it back to the Enterprise, the database logon password field for this report in CMC becomes empty so that I have to enter the database password and choose "Use same database logon as when report is run" when viewing and scheduling report.
    What is interesting to me is that the UMT seems to migrate the report along the database logon password because I can see the encrypted password in the report database logon property in CMC.  The workaround is to reenter the database logon password in the report database logon property in CMC.
    With this said, there are hundreds of the Crystal reports and the workaround would consume lots of manual work by update each report's database logon password in CMC.
    For other customers who have more crystal reports, I wonder if there is an automated way to update the crystal report's database logon password on BI4.1 or if this is an isolated incident on my new BI4.1 SP03 environment.
    I run UMT in command line to perform livetolive migration, and my steps are listed below
    cd "E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\apps\upgradeManagementTool\jars\"
    "E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\bin\javaw.exe" -Xmx56g -Djava.library.path="..\..\..\..\win64_x64" -jar upgrademanagementtool.jar -internal_use_only_noversioncheck -responsefile LIVETOLIVEResponseFile.txt
    LIVETOLIVEResponseFile.txt:
    mode=livetolive
    source=edhc01nwapp65:6400
    sourceusername=Administrator
    sourcepassword=xxxxxxxxxx
    destination=WAPP246N:6400
    destinationusername=Administrator
    destinationpassword=xxxxxxxxxx
    logfile=E:\temp\livetolive.csv
    configparam:base_url=https://boprod.bsc.bscal.com/dswsbobje
    locale=en_US
    Regards,
    Jin-Chong

  • If Two Users try to schedule a report at the same time does that lead to a Deadlock?

    When Two users trying to access the same server and need to access the report for scheduling at the same time, does that lead to Deadlock Situation?
    What are the Odd's in such scenarios?
    Please help me understanding.
    Regards,
    Shiva

    When two users are say trying to schedule the same report at the same time - the relevant Job server has default capacity of running 5 concurrent jobs at a time (this value can be increased) - that means, it can run 5 schedules at the same time.
    Let's say now two users have scheduled 6 reports - now the 5 reports that were scheduled will be in the "running" state but the server has only 5 concurrent job capacity so the 6th report schedule will stay "pending" until any one of the existing jobs are completed, and then the 6th report will start "running".
    There is nothing called deadlock while scheduling. While viewing the reports, there are enough resources available in the BO system to make the report available for various users at the same time.
    Thank you,  Rahul

  • How many users can view the same report at the same time in obiee answers

    Hi All,
    How many users can view the same report at the same time in obiee answers..?
    What is max and minimum number of users.
    Do we need to increase any system configuration.
    Thanks,
    Jagadees.

    Hi,
    Many users can view report at same time.It depends on the server if it can accept those many users at same time.If number of users increases OC4J may not work properly.
    Refer : http://www.artofbi.com/index.php/2009/10/what-is-oc4j-an-oracle-application-server-distribution-really/
    Regards,
    Srikanth

Maybe you are looking for

  • Contract Renewal Question

    Hey, Currently, I'm on a family plan(5 people) and we're able to upgrade our phones and contracts in July.  My family really wants to upgrade, they hate their phones, so it'll happen right around when it's available.  The question arrives here howeve

  • Problem writing DVD.

    It does all the steps but can't write a DVD, Right after failing, Toast pops open and wants to write a DVD. I tried a smaller project and still no writing. I'm seriously bummed as I can't see the video from a recent vacation until I get this figured

  • FM name while creating Order?

    Hi Gurus,                 Function Module(function or method specific to "Deliver to") name that triggers "Deliver To" field while creating an order in order creation page. Thanks in Advance... Reagrds, Anil.

  • Creating wsdl from a bapi

    I need to create a wsdl from a bapi. I would appreciate any reference materials on this topic. As an example, I need to create a wsdl for business object sales order and my wsdl should include create, change, and  display. We are on ECC 6.0.  When I

  • BI-Kit Visual Admin Configuration

    Hi all, I just want to try out the visual composer using the bi-kit. I just heard, that I have to configure some options concerning the bi-kit in visual admin for using it. Does anybody know what to configure in detail? Kind regards, Patrick.