Crystal Reports 2011 - excel 2007-2010 export

Hello,
I just upgraded to crystal reports 2011 from crystal reports XI Release 2. I am having an issue exporting to excel 2007-2010 format. When I do an export and then open it in excel, excel gives me an error message that the file is corrupt and if I want to recover the contents. When I try and recover the contents, I am greeted with the error below. I am not sure what to do to fix it and would appreciate any help.
Removed Part: /xl/sharedStrings.xml part with XML error.  (Strings) Illegal xml character. Line 3, column 19160.
Removed Records: Cell information from /xl/worksheets/Sheet1.xml part

Hi Marina, 
What version of Excel are you using to open the report? 
Have you tried creating a simple report and exporting it?  It's possible something in that report is causing the problem. 
Good luck,
Brian

Similar Messages

  • Exporting Crystal report to excel 2007 with an image

    Hi - I hope this is the correct forum for this question.
    We are using the Crystal report viewer and everything works just fine . When I go to export to excel (using office 2007) the images are not exporting, do you know if this is an excel 2007 problem or a Crystal issue?
    Thanks in advance
    DanPlo

    Hi;
    I still recommend installing the Service Pack. If the issue persists, and is contained to the version 8.5 reports, then yet, they will likely need to be converted to version 11.0 to work correctly. The Crystal Reports engine was completely re-written in version 9.0, so moving from 8.5 can cause some issues.
    If you try exporting one of the 8.5 reports from the verison 11.0 Designer, do you have the issue?
    Regards,
    Jonathan

  • Crystal Reports 2008 - Excel 2007 Data Source

    Have been using Crystal reports 10 and have downloaded 2008 but I can't see a way that I can use an Excel 2007 spreadsheet .xlsx as a datasource. The reason I need 2007 is due to the increased number of columns.
    Can anyone confirm if it can be done if so how
    cheers
    Malcolm

    Hello,
    Sorry its not supported. Next version of CR will support it.
    CR 2008 will generate sheets for every 65,000 rows of data.
    If you need that many coumns you may want to look at some other export format or refining your data.
    Thank you
    Don

  • Crystal Reports 2011 cannot see Excel 2007 as an export type

    I just installed/updated to cr2011.  Installation went fine, and i did not get any problems. I am able to run all my previous reports, and if i makes chamges to a report and save, i do get asked "do you want to save it with the latest report format"
    My version is 14.0.2.364RTM
    When i click export, i do not see EXCEL 2007 or any other new types, i know are included for cr2011.
    Is there anything else i need to download ? cr2011 runtimes ? or remove or configure ?
    thanks

    Abhilash, thank you.
    I have another quick question, and if i need to open a new post i can.
    I have CRD by ChristianStevenSoftware, which we use to automate and schedule/deliver our reports.
    When i upgraded to cr2011, i was told by CristianSteven software, that i had to select the correct CRYSTAL RUNTIMES.
    They have a gui to use for the user to "Chang Crystal Version".  when i used it, i was presented with a dialog box, which
    had Crystal Reports 2011(13.xx) as the latest.  I slected this option as i assumed they though 13.xx was correct for 2011( i know 14.xx is what i have installed.
    Anyway i did not get an error when upgrading to 13.xx, but when i started CRD, i got an error.
    The CRD developer says :-
    The install that is in the picture looks like the installation of the crystal reports 2011 applicaton,
    not the runtimes. The runtimes should be a seperate installation, please let me know if you
    see any installations under add/remove programs that is labeled:
    --SAP Crystal Reports runtime engine for .NET Framework 4
    That should be the name showing for the 2011 runtimes. If you cannot find it in the add/remove programs, you should be able to download the runtimes from the SAP.Com website.
    I do not see SAP Crystal Reports runtime engine for .NET Framework 4
    Can i download them from SAP site as he suggests ?
    Thanks in advance, John

  • Crystal reports 2011 exporting report having sub reports to excel

    I have recently upgraded to crystal reports 2011 , but found crystal report engine problem when exporting to excel which has got subreport and in the subreport  having groups defined.IT gets hanged when calling reportdocument. export in visual studio 2010 c#
    But when i do the same thing to export in pdf, works fine.
    Any help is appreciated.
    Thanks

    Hi Don,
    Thanks  for your reply.
    Main Report file is SalaryWagesAnalysis.rpt and there are 4 subreports:
    SalaryWagesAnalysisSection1.rpt,
    SalaryWagesAnalysisSection2.rpt,
    SalaryWagesAnalysisSection3.rpt,
    SalaryWagesAnalysisSection4.rpt.
    Also attaching the exported pdf file with sample data.
    I am using Visual studio 2010 and crystal reports 2011
    RuntimeVersion of
    CrystalDecisions.CrystalReports.Engine  is v2.0.50727 and version is 13.0.2000.0
    Thanks

  • When Exporting a Crystal Report to Excel format all of the dates get changed when viewed on Mac version of Excel

    We're using Crystal Reports 10 and when we export a report from the Crystal Viewer using either the MS Excel 97-2000 option or the MS Excel 97-2000 (Data Only) option, the date columns on the report appear as expected on a PC version of Excel, however, most of the users at our company use Macs so when they open the same report on the Mac version of Excel all of the dates show up as 2011 or 2012 dates eventhough they are suppose to be 2008 dates. We've tried to just open the report after the export process and then do a "Save As" but get the same result. The date columns all appear to be formatted as Date. The dates on the Crystal Viewer appear as expected when viewed on a Mac. The users are running Excel for Mac OS-X Service Release 1.0. Any idea why this may be happening and is there a solution to this problem? Thanks!

    Hi,
    To clarify, are you currently using the Mac version of Crystal Reports Viewer 2008 which you downloaded from here?: http://www.sap.com/solutions/sapbusinessobjects/sme/reporting/viewer/index.epx

  • Warning message when exporting a Financial Report to Excel 2007

    Excel 2007 users that attempt to export a fully formatted Financial Report into Excel 2007 get the following error message:
    "The file you are trying to open, 'FileName.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"
    I am still researching the behavior that users get when they click through the message, but would ideally like for the message not to appear without updating the client machine registries. Has anybody else run across this?
    Excel 2007
    BI Plus version: 9.3.1.0.0.248

    It looks like this is a known issue addressed in Bug 7359171 - EXPORT TO EXCEL 2007 CAUSES FILE FORMAT WARNING:
    The current design does not allow you to open HTML content from a web site in Excel unless the extension of the URL is .HTM/.HTML/.MHT/.MHTML. So ASP pages that return HTML and set the MIME type to something like XLS to try to force the HTML to open in Excel instead of the web browser (as expected) will always get the security alert since the content does not match the MIME type. If you use an HTML MIME type, then the web browser will open the content instead of Excel. So there is no good workaround for this case because of the lack of a special MIME type for HTML/MHTML that is Excel specific. You can add your own MIME type if you control both the web server and the client desktops that need access to it but, otherwise the best option is to use a different file format or alert your users of the warning and tell them to select Yes to the dialog.
    Another Workaround :
    Client Configuration of Extension Hardening.
    Client desktops can change the default behavior of the security check using a registry key. The following registry key can be set to alter the behavior ofthe Excel 2007 client in the following ways:
    Key: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\SecurityValue: (DWORD)"ExtensionHardening" = [0 = Disable check; 1 = Enable check and prompt; 2 = Enable check, no prompt deny open]Default setting if value not present is 1 (enable and prompt).
    The client can configure the site to disable the check by setting ExtensionHardening = 0. This will stop the prompt from appearing, but it will also disable any future checks for the file content validity. This does not (in itself) lower your security. The check is part of a defense-in-depth strategy to prevent malicious users from crafting files of a different type than its extension (or MIME type), which could then be used to trick users into opening a file of a type they did not expect. This warning is designed to let the user know of this potential threat and given them an option of canceling the open if they wish.

  • Crystal Reports 2008 Excel Export Compatibility Patch - second attempt :)

    Hello, I actually have a question related to the following thread, so I posted there and was recommended to start a new thread:
    Crystal Reports 2008 Excel Export Compatibility Patch?
    Question is related to the following doc, specifically, is this patch still available for CR 2008 or not?:
    http://help.sap.com/businessobject/product_guides/cr2008V1/en/xi3_cr2008eecp_readme_en.pdf
    A response from Don suggested this wasnt available for CR 2008 although this is confusing since the doc refers to CR 2008. My response was as follows and is essentially the question I still have (more so because we have another PeopleSoft/Oracle customer whos come across this doc and wants to know how to apply the fix for CR 2008). Thanks very much in advance!
    Hi Don, I know this is an old thread, but Im also running into the same issue and am confused by your statement since the referenced PDF doc says this patch is available for CR 2008. Did you mean that the patch is no longer available or supported for CR 2008 for some reason? If so, any idea why?
    Im a developer for Oracle/PeopleSoft and our PeopleSoft suite includes OEM Crystal. We recently upgraded to CR 2008 for our latest release and we are getting the same complaint from a few customers about not being able to output the XLS in Excel 8.0 compatiibility mode like before (In Crystal 9, we used the \Export\Excel\CompatVersion=80 registry key to enable this). So if this patch is available, it would be a huge benefit for us to be able to point our customers to it. If not, please still let me know eitherway.
    Thanks very much!
    Andrew

    Hi Andrew,
    So the story is the Rubik's patch has been available from CR 9 up until CR XI R1 as a simple download. In R2 and above to get it you have to log a case, work with a Report Rep to try to design your reports so they use the new export dll. To get you by until you have time to do so, and after filling out a query for the PM to get info on how to possibly improve the updated export dll to meet your needs, he will then send you the patch on the agreement that this is the LAST time you ask for it.
    Support no longer has access to the patch so all requests must go through the Program Manager who keeps tract of who received it.
    Bottom line is you need to update the reports to use the new export model.
    That old legacy dll was bugging and impossible to maintain.
    You can [purchase a support case here|http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=54722300].
    This is not a bug and has been this way for 10 years now, time to update your export model and Excel Macro's....
    Thank you for your understanding
    Don

  • How to export crystal report to excel through progeam

    Hi,
    Can any help me how to export crystal report to excel through program(C#). I'm using VS2005.
    Also, the report should be in a pivot table format after exporting to the excel..please help me how to do this
    Thanks,
    Venky

    Hi Venkat,
    The link below provides the code C# in an ASP.NET codebehind file
    http://www.codeproject.com/KB/cs/Crystal_Report_Export.aspx
    http://aspalliance.com/478_Exporting_to_Excel_in_Crystal_Reports_NET__Perfect_Excel_Exports.2
    Regards,
    Abhijeet  T.

  • Type mismatch on CRVS2010 appl. after install Crystal Reports 2011

    Hi,
    I've a Windows application built in VS2010 with Crystal Reports for VS2010 that exports a report to a PDF, Excel or Word file. The application runs fine, but after the installation of Crystal Reports 2011 I got the "Type mismatch" error when the ReportDocument.Export method is called:
    System.Runtime.InteropServices.COMException (0x80004005): Type mismatch.
    at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
    at CrystalDecisioins.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
    at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
    at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export(ExportOptions options)
    at MyApp.ReportConfig.Execute() ....
    HELP!!!!
    Uninstalling Crystal Reports 2011 SP1, Crystal Reports 2011, Crystal Reports for Visual Studio 2010 SP1 and Crystal Reports for Visual Studio 2010 (in this order) followed by a re--install of Crystal Reports for Visual Studio 2010 and Crystal Reports for Visual Studio 2010 SP1 does not remove the problem.
    Config:
    Windows 7 Ultimate x64
    Edited by: Adri Koopman on Jul 23, 2011 10:32 AM

    Yes, I asked them to make note also, there have been delays, it was decide to hold off after the info was released and by then it was too late. Once it gets out everyone seems to be able to get it....
    So are you having problems installing still or just exporting? If exporting what code are you using?
    Have you set your Project for 32 or 64 bit, not anycpu?
    What framework are you using, Any of the FULL versions is a must.
    Try this sample:
            private void ExportToStream_Click(object sender, EventArgs e)
                CrystalDecisions.Shared.MicrosoftMailDestinationOptions mailOpts = CrystalDecisions.Shared.ExportOptions.CreateMicrosoftMailDestinationOptions();
                CrystalDecisions.Shared.DiskFileDestinationOptions diskOpts = CrystalDecisions.Shared.ExportOptions.CreateDiskFileDestinationOptions();
                CrystalDecisions.Shared.ExportOptions exportOpts = new CrystalDecisions.Shared.ExportOptions();
                CrystalDecisions.Shared.CharacterSeparatedValuesFormatOptions csvExpOpts = new CrystalDecisions.Shared.CharacterSeparatedValuesFormatOptions();
                CrystalDecisions.Shared.HTMLFormatOptions HTMLExpOpts = new CrystalDecisions.Shared.HTMLFormatOptions();
                rpt.Load(@"c:\reports\b.rpt");
                diskOpts.DiskFileName = @"c:\reports\worldsales.pdf";
                exportOpts.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile;
                exportOpts.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.HTML32;
                exportOpts.ExportDestinationOptions = diskOpts;
                HTMLExpOpts = new HTMLFormatOptions();
                HTMLExpOpts.HTMLEnableSeparatedPages = false;
                HTMLExpOpts.UsePageRange = false;
                HTMLExpOpts.HTMLHasPageNavigator = false;
                System.IO.Stream oStream;
                byte[] byteArray = null;
                oStream = rpt.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
                byteArray = new byte[oStream.Length];
                oStream.Read(byteArray, 0, Convert.ToInt32(oStream.Length - 1));
                // this is used to verify the file so I saved it to disk
                System.IO.File.Create(diskOpts.DiskFileName, Convert.ToInt32(oStream.Length - 1)).Close();
                System.IO.File.OpenWrite(diskOpts.DiskFileName).Write(byteArray, 0, Convert.ToInt32(oStream.Length - 1));
                System.IO.File.SetAttributes(diskOpts.DiskFileName, System.IO.FileAttributes.Directory);
                oStream.Close();
                GC.Collect();
                MessageBox.Show("Export to Stream complete", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
    Don

  • Upgrade from crystal report 8.5 to crystal report 2011

    Hi All,
    Currently we are using crystal report 8.5 (PEAPI and dictionary files) (with VB6) to generate historical data for our product. Reports can have millions of records. We are using 2-tier architecture ( our client resides on windows machine and database
    - Oracle10g dedicated server- resides on linux server).
    We are planning to upgrade it to CR2011(with .NET)
    My understanding is :
    Crystal report designed in SAP Crystal Report 2011/SAP Crystal Reports(version for Visual Studio 2010)/.NET SDK for CR2011 and developed in VS2010 will use Crystal Reports(version for Visual Studio 2010) runtime.  Please comment.
    Is there  any way to use PE APIs in Crystal report 2011 ? If not which is the best way to upgrade  ?
    Please comment.
    Thanks,
    Gaurav

    Hello,
    Not sure which viewer you are using, should be CR.Windows.Form and in code using RAS ( Report Application Server ) you'll get these options which are now controllable by you to allow all or just some:
    private void ViewReport_Click(object sender, EventArgs e)
        rptClientDoc = rpt.ReportClientDocument;
        //crystalReportViewer1.ShowProgressAnimation(false);
        crystalReportViewer1.ShowGroupTreeButton = false;
        crystalReportViewer1.EnableDrillDown = false;
        //rpt.Refresh();
        crystalReportViewer1.ReportSource = rpt;
        // next line causes a delay due to the engine having to go to the last page.
        //rpt.FormatEngine.GetLastPageNumber(new ReportPageRequestContext());
    // set up the format export types:
    int myFOpts = (int)(
        CrystalDecisions.Shared.ViewerExportFormats.RptFormat |
        CrystalDecisions.Shared.ViewerExportFormats.PdfFormat |
        CrystalDecisions.Shared.ViewerExportFormats.RptrFormat |
        CrystalDecisions.Shared.ViewerExportFormats.XLSXFormat |
        CrystalDecisions.Shared.ViewerExportFormats.CsvFormat |
        CrystalDecisions.Shared.ViewerExportFormats.EditableRtfFormat |
        CrystalDecisions.Shared.ViewerExportFormats.ExcelRecordFormat |
        CrystalDecisions.Shared.ViewerExportFormats.RtfFormat |
        CrystalDecisions.Shared.ViewerExportFormats.WordFormat |
        CrystalDecisions.Shared.ViewerExportFormats.XmlFormat |
        CrystalDecisions.Shared.ViewerExportFormats.ExcelFormat |
        CrystalDecisions.Shared.ViewerExportFormats.ExcelRecordFormat);
        //CrystalDecisions.Shared.ViewerExportFormats.NoFormat); // show no export types
        //int myFOpts = (int)(CrystalDecisions.Shared.ViewerExportFormats.AllFormats);
    crystalReportViewer1.AllowedExportFormats = myFOpts;
    Only change is the Excel Export formats have changed, and no option to use the old Excel types available in CR 8.5. Search Kbase for Exporting to Excel, there is a great article on how to optimize your reports for best output.
    Don

  • Need help in creating table in crystal report for visual studio 2010

    Since there is no table support in crystal report,how can I create a table in crystal report for visual studio 2010?
    I have a datatable and I need to show that in crystal report in table structure.
    I have tried using lines and boxes to generate the table but it is not working perfectly.
    How can I export the report in excel format in read/write mode saving all the formatting in the report

    Hi,
    Check sample codes from following:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    You can download the [Developer's Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm] & [API Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm]
    Thanks,
    Saurabh

  • Crystal Reports 2011 not working in windows 2008 server CITRIX

    Hi All,
    We are using  Crystal reports 2011 in windows 2008 server which is CITRIX farm., having crystal reports 2011 runtime in it..
    We are using .net applicationton to run the reports.
    The crystal reports parameter popup is getting opened. But the calendar icon is not fuctioning ..clicking on the calendar control no pop up appears. no error too..
    OK button is not responding. Cancel button too.
    Can you please help us why we are facing this issue in CITRIX only. When we are using the same version in desktop, Crystal report is working fine.
    Please feel free to ask if required any more details about my problem.
    Regards,
    Venkat.K

    Ido's idea is excellent, only addition I'd like to make is the following:
    You are trying to run a .NET app. However, CR 2011 does not install any SDKs. So, the directory specified by Ido is not correct. Assuming that by CR 2011 you actually mean "SAP Crystal Reports, Developer Version for Visual Studio .NET", then the directory would be:
    C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\Crystal Reports 2011\crystalreportviewers\prompting
    If that does not help, use Process Monitor and see what the logs tell you (look for Access Denied messages).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Crystal Reports 2011 Installation Issue, key code not valid

    Folks,
    We have just purchased two licenses for the Crystal 2011 upgrade from DigitalRiver.  The installation completes successfully, using one of the two "digital rights" keys that were provided in the confirmation email from DigitalRiver.
    Upon launching Crystal Reports 2011 for the first time, though, we are being prompted with a License Manager window asking to add a key code for Crystal Reports.  We enter the "digital rights" key provided by DigitalRiver, the same one used during the installation [copy and pasted from the email for accuracy] and receive the error message "The key code you just typed is not valid, please try again."
    Canceling this window or clicking Ok simply closes the Crystal Reports application.
    Any assistance in how to get the application running would be helpful.
    Tested Environments:
    Windows 7 Professional SP1, 32bit
    Visual Studio 2010 w/ CR for Visual Studio 2010 installed
    Windows Server 2008 R2, 64bit
    Thanks,
    Jeff

    Follow-up:
    We went through several iterations of installation and finally decided to mix things up to see if we could get a different response from the software.  The items that we performed differently were as follows:
    1.  Ran the setup.exe as administrator [even though we have full admin access as the logged in user]
    2.  Hand typed the digital rights key rather than cut/paste from the email
    3.  Performed a custom installation rather than the default and de-selected all of the SAP and other software integration options.
    The software ran fine without prompting with the License Manager.
    My guess is that it was the removal of the integration pieces that allowed the application to run.  We'll perform our next install with just that change and see if it is the culprit.
    Jeff

  • How to automatically/programmatically "publish" reports for local users of Crystal Reports 2011?

    Hi,
      I'm not sure if I'm using the correct Crystal Reports terminology here, so apologies in advance.
      We've got Crystal Reports 2011 and are developing an application which comes with a number of report files (.rpt) as part of its installation. These reports are used to provide a view onto the database that our application writes to.
      Is it possible to automatically manage the collection of reports that are available to users of the Crystal Reports application? Ideally this would be done as part of our application's installation/upgrade procedure. In the case of upgrades, it is possible that some report files may be modified, some removed and others added. (i.e. as the application database's underlying schema is modified or new features added/deprecated).
      I believe this could be achieved manually by starting up Crystal Reports and adding and removing reports to/from the Workbench, but we'd like this list of reports to be available to all users on the PC (Crystal Reports is installed on the same PC as our application), and for the update procedure to be something that was automatically scriptable or programmable in something like .NET.
      I've read about the Repository (which sounds like a solution to making reports available for all users), but suspect that this is only usable after some other product(s) has been installed? I'm not entirely sure what products they would be.
      Could you please let us know whether this can be achieved with the version of Crystal Reports we've got, and if so, how?
      The version of Crystal we have is: SAP BusinessObjects, CR Developer, Version 14.0.4.738 RTM, Product Type: Full
      Many thanks in advance,
        -Nige

    CR 2011 does not install any SDK... You can however download SAP Crystal Reports, developer version for Microsoft Visual Studio, which is an SDK that will let you work with VS 2010 and 2012.
    You will then have to decide if you want to use the Crystal Reports SDK or the InProc RAS SDK.
    Samples are here:
    Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    Dev Help files:
    SAP Crystal Reports .NET SDK Developer Guide
    SAP Crystal Reports .NET API Guide
    Report Application Server .NET SDK Developer Guide
    Report Application Server .NET API Guide
    Discussing your requirements with sales may not be a bad idea either: 866-681-3435
    http://www.sap.com/contactsap/directory/index.epx
    Or, create a phone support incident here:
    Crystal Single Case Technical Support - SAP Business Objects US Online Store | SAP Online Store
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for