Export into pdf raise an error?

Hai to all,
             I'm using Crystal Report 11.5, Asp.net2.0-C#.
I dynamically bind some records to the report document. Now i write the code to export the data into pdf file.
BindEveryThing();
                MemoryStream oStream; // using System.IO
                oStream = (MemoryStream)
                boReportDocument.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
                Response.Clear();
                Response.Buffer= true;
                Response.ContentType = "application/pdf";
                Response.BinaryWrite(oStream.ToArray());
                HttpContext.Current.ApplicationInstance.CompleteRequest();
The problem is after the above code reached
i'm getting two errors as
Adobe Reader cannot open CA2V0915.pdf because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment  and wasnt correctly decoded
Threre was an error openning this document Acrobat cannot open this file because there is a modal dialog open.
Experts please help me solve this problem>
Thanks in advance.

Hi Ted Ueda
                Thanks for your response. Actualy this error raised whenever i select the PDF format file so, i checked my temp folders there is no pdf files, this error is raise during file creation then how can i open it by notepad format.
               My real problem is write the code for export the records into PDF. Whenever i click this button suddenly it raise this error.
This is my sample code
Load();
                ExportExcel vwPage = (ExportExcel)vwExport;
                MemoryStream oStream; // using System.IO
                oStream = (MemoryStream)
                boReportDocument.ExportToStream(CrystalDecisions.Shared.ExportFormatType.Excel);
                vwPage.Response.Clear();
                vwPage.Response.Buffer = true;
                vwPage.Response.ContentType = "application/vnd.ms-excel";
                vwPage.Response.BinaryWrite(oStream.ToArray());
                HttpContext.Current.ApplicationInstance.CompleteRequest();

Similar Messages

  • I have a problem. When exporting from PDF to PPTX error "unable to process the document in the module Save As file is not created." What to do?

    I have a problem. When exporting from PDF to PPTX error "unable to process the document in the module Save As file is not created." What to do?
    Windows 7 64
    PC

    everything works on a laptop (

  • Indesign Exported into PDF - not all images are showing.. !!!!

    I've created a DL Phamplet in Indesign, using images from Photoshop (All converted to CMYK,PSD and flattened and used Illustrator files for other objects with the extension (filename).ai afterwards.)
    I don't understand why my particular acrobat doesn't show the complete logo. This doesn't occur on two of my the computers at work PC and Mac, but it occurs at my manager's computer and once on my computer. I've outline all the fonts and images etc to ensure everything is in order. Everything is ungrouped as well to ensure all is outline.
    View problem here
    http://img291.imageshack.us/my.php?image=picture1yp2.jpg
    I've even exported the pdf from the computer that had no problem viewing the missing part of the logo - however when previewing it on my computer, the logo seems to be missing still.
    I think its a previewing problem of some sort but not sure. Do I need a certain plugin - I've updated my software and I haven't reinstalled the software. Please assist. Many thanks.
    Other information that may assist?
    Working on Mac OS X Version 10.4.11
    CS3
    Acrobal Professional 8

    The white logo is undoubtedly set to overprint. Go back into Illustrator
    and fix it.
    Bob

  • Exporting into pdf

    What do you do when InDesign stops responding in the middle of exporting a book into pdf?

    Troubleshoot using the divide-and-conquer method.
    Export each book document individually until you find the problematic one.
    Then, export that document in halves to identify the problematic half.
    Then, export that half-document in halves to identify the problematic fourth.
    Then, export that fourth-document in halves to identify the problematic eighth.
    And so on until you identify the problematic page.
    Then if necessary, apply a similar approach to eliminating possible problematic elements of that page.

  • Some Two-page Spreads export to PDF/Blurb with Errors

    Hi,
    I have created a Blurb book in default portrait format.
    Some of the two page spreads (sample: first two images in portrait format, third image squared on the top right) do not export correctly. The second image, the one, which will be on both pages, will be slightly smaller on the left page, than on the right page (both on Blurb and PDF export). Sadly, those two page spreads are useless for now
    LR4 release versions, no updates available as of now.
    Took me just three hours to upload the book and see those same errors in the Blurb preview :/
    Regards,
    Daniel

    You can use a multipage importer to import a single Page PDF into InDesign.
    Create a single page PDF
    Create a facing pages document the same size as your original file
    Multi-page place the entire pdf into facing pages (automatically done by script)
    Export entire book to PDF as spreads.
    http://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both-pdf-and-i ndd-files.php
    I say to do this with a singe pages PDF - because I don't think it will import multiple InDesign files, you'd have to place them individually - and with my experience it takes longer to import multiple indesign files - so I just use a single pages PDF.

  • Exporting to PDF from Freehand error

    Hi,
    I have been trying to export a freehand presentation to a PDF file, i have tried to do a simple export aswell as printing to PDF, in both cases the resulting PDF file becomes disconfigured with Text comming out of the background boxes. however if i print to a normal printer all seems to be ok. Does anybody know if I need to do anything special in the configuration so that this does not happen?
    Thanks

    here is the print screen of the three results, the original file as seen in freehand, the exported PDF with the original font (District - thin) and an alternative export with a different font. i see that it is a problem with the font but this particular project requires the font from the District family.
    I find that it will be easier to unlink the text and insert each block of text in it's own text box, convert to curves and then export the entire document again, though this also does have certain issues as all of the "l" in th document seem to appear in bold. It is a bit of a pain but i guess that there will always be certain incompatabilities between programmes.
    Thanks for your help:)

  • InDesign crashes continuously when trying to export into PDF - Urgent Help!

    Hello All,
    I'm facing the issue like InDesign is getting crashed continuously when trying to export directly the PDF, I'm using InDesign CS5.5. Please suggest urgently.
    Thanks,
    Praveen

    Gejaraja wrote:
    I tried with script, but later assumed it's crashing even doing manually using File -> Export.
    Sorry, that's terribly unclear.
    Is it crashing with BOTH the script and File > Export?
    Is your script using exportFile or asynchronousExportFile?
    If it crashes manually, have you tried disabling asynchronous exports per Re: Background PDF export Help?

  • Document Language not exported into PDF when viewed in Acrobat Pro 9?

    I've been working on making our PDFs accessible, but it looks like the LiveCycle-generated forms are causing some issues. While I can set the Form Locale in LiveCycle ES (8.2.1), generating a PDF from this and viewing it in Acrobat Pro 9 leaves the Reading Language field greyed out. I'm new to LiveCycle, so it might be something simple (but I've tried Googling everything).
    I've tried saving it as both a Static PDF and Dynamic XML PDF form without luck. The Generate Accessibility Information Save Option is checked. I am doing a Save As rather than in-app generation (I understand this can be the cause of some issues).
    Help!?

    Unfortunately, as I mentioned in my original post, I've already tried toggling smoothing options. They don't make the jagged edges go away—they just change them slightly. In some cases, as with the sample file provided, it does help smooth the art out, but it never looks as good as it did going in, in a recent project, toggling smoothing options didn't affect the appearance of the image at all. Zoom does not appear to relieve the artifacting.
    A little clarification: this PDF was created from a flat PNG, but I have had this issue with PNGs and TIFFs as well, generated by both Photoshop and Illustrator. To reiterate, the PDFs display fine in other software—Finder preview looks great, and the same file viewed in my browser via Google Drive looks as intended as well. A colleague was able to replicate this issue in Acrobat on his Windows machine. This appears to be a rendering issue specific to Acrobat with regards to the files I use it to create.

  • Error while trying to export a report into PDF using JRC (Linux env)

    Hi all,
    I have my web app installed on a Linux environment. When trying to export a CR report into PDF using JRC
    PrintOutputController controller = reportClientDoc.getPrintOutputController();
              ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream) controller.export(ReportExportFormat.PDF);
    I got this error message:
    19/02/2009     10:21:37     b     INFO     PdfExporter: PdfDocumentModeller.modelPage (page 1)
    19/02/2009     10:21:37     b     INFO     PdfExporter: Modelling page
    19/02/2009     10:21:37     b     INFO     PdfExporter: Creating document manager, text modeller and image modeller.
    19/02/2009     10:21:37     b     ERROR     PdfExporter: Exception caught in PDFFormatter.formatPage (from PdfDocumentModeller.modelPage); aborting export
    java.lang.IllegalArgumentException: Data type is not supported.
         at java.awt.image.Raster.createInterleavedRaster(Raster.java:212)
         at java.awt.image.Raster.createInterleavedRaster(Raster.java:178)
         at java.awt.image.ComponentColorModel.createCompatibleWritableRaster(ComponentColorModel.java:2826)
         at java.awt.image.BufferedImage.<init>(BufferedImage.java:439)
         at com.crystaldecisions.reports.exporters.format.page.pdf.pdflib.u.<init>(Unknown Source)
         at com.crystaldecisions.reports.exporters.format.page.pdf.b.k.a(Unknown Source)
         at com.crystaldecisions.reports.exporters.format.page.pdf.b.k.a(Unknown Source)
         at com.crystaldecisions.reports.exporters.format.page.pdf.b.d(Unknown Source)
         at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
    On my Windows environment the JRC export into PDF work perfectly. I know that there are some known issues regarding the usage of JRC on Linux environments. Could this be one of those?
    Any solution (or workaround) would be highly appreciated!
    Thank you!
    PS Maybe this is relevant: I use a MySQL database!
    Edited by: Sandila Catalin on Feb 19, 2009 10:01 AM

    What kind of image do you have in the report?
    Do you have -Djava.awt.headless=true specified for the Java JVM option?
    Sincerely,
    Ted Ueda

  • Error  while exporting in pdf in crystal report XI

    Post Author: Siddheswar
    CA Forum: General
    hi
    I am getting the following error in crystal report XI while exporting to pdf.
    The Error:
    Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.
    Please Help.
    Thanking in advance.
    Regards
    Siddheswar

    The stack trace is caused by whitespace in your CrystalReportViewer.jsp file.  Look up SAP Note 1199025 for the resolution.
    It's not related to the PDF formatting issue.  There's been changes to the formatting with the most recent version - Crystal Reports for Eclipse 2.0 - so if you haven't already, I recommend you upgrade.
    Note that there's differences in font metric calculation when using Adobe PDF format such that there's no way to get exact agreement between output of the CR and PDF.  But the latest version helps greatly.
    Sincerely,
    Ted Ueda

  • How to export dynamic images into pdf

    Hi,
    I need to export a image into PDF which we are getting it from DBase. This returns me the image as BLOB and this we are putting it in between the xml tags. I am passing the xml to xsl-fo. While i tried to export the xml data into pdf using xsl-fo, the content is getting exported into pdf but not the image. I am using FOP, and i have added fop.jar, batik.jar, avalon-xx.jar, jai_codec.jar and jai_core.jar to my class path. I am putting my sample xsl and xml here.
    xml:
    <RTFDrugReport>
    <ImagePath>http://www.thomson-pharma.com/tp/images</ImagePath>
    <NewsEdge>
    <NewsItem>
    <StoryId><![CDATA[200705223600.15_2774000daba43be0]]></StoryId>
    <HeadlineText><![CDATA[NeuroLogica's CereTom Supplies On Site Post-Fight Brain CT During De  La Hoya-Mayweather Weekend]]></HeadlineText>
    <ItemTime><![CDATA[05/23/2007 03:22:24 AM EDT]]></ItemTime>
    </NewsItem>
    </NewsEdge>
    </RTFDrugReport>
    xsl:
    <fo:static-content flow-name="xsl-region-before">
    <fo:block font-family="Helvetica" font-size="14pt" text-align="left" white-space-collapse="false">
    <xsl:variable name="imageName" select="concat(//ImagePath,'/logo_thomson_pharma.png')"/>
    <fo:external-graphic src="'{$imageName}'"/>first
    <fo:external-graphic src="url('{$imageName}')"/>second
    <xsl:value-of select="'{$imageName}'"/>thrid
    <fo:external-graphic src="'{$imageName}'" content-width="100mm" content-height="100mm"/>fourth
    <fo:external-graphic src="'{$imageName}'" content-width="100mm" content-height="100mm"/>fifth
    <fo:instream-foreign-object src='url("///file:/D:/Customization/collage.jpg")' height="3cm" width="3cm"/>
    </fo:block>
    </fo:static-content>
    Any help would be appreciated.

    hi,
    all the UI elements in the adobe form are generally connected to your web-dynpro Context.
    whatever you type in the online adobe form is reflected in the respective context attributes of the dynpro Context of the view where "ur Interactive form UI element is".
    that means you can yourself fill the contents of ur interactive form by working on the get/set methods of the context attributes.
    Likewise you can clear the form by setting all context attributes to blank eg ""
    <b>interactive form has two imp properties:-</b>
    <b>*dataSource</b>
    data source points to the node all whose context attributes will be made available in the interactive form
    <b>*pdfsource</b>
    points to the context attribute which will hold the pdf.
    note that the type of this pdfSorce attribute will be binary.
    if you still have doubts.
    give me your gmail mail id. i 'll send a tutorial.
    with regards,
    -ag.

  • Pre Requisites to export dashboard into PDF format

    Dear Xcelsiuis Experts,
    Am unable to export the dashboard either into PDF format. Please let me know are there any pre requisites to export the same into PDF format.
    Regards
    Narendra Reddy

    Hi,
    Do you have Adobe Acrobat on your system ? i have version 6.0 Installed on my System and i can Export it and it is working fine in pdf format. I have tried with Word, PowerPoint and other available format too all are working fine here.
    You can do this by Following Steps Bellow
    1.
    --> Open DashBoard you want to Export into PDF or any other Format like Flash (SWF), HTML, PowerPoint or Word.
    --> Go to Menu --> File --> Export --> from here you can select the Format you want.
    2.
    --> You can also select these option from Toolbar if you don't have at the Screen Please Follow steps.
    --> Go to Menu --> View --> Toolbar --> and Select "Export"
    --> it will show you up the Toolbar from here you can also Export.
    Hope will solve out your problem,
    Kind Regards,
    Faisal

  • Export to PDF

    Hi,
      This is Rajesh, i have a problem while exporting a report to PDF.
    my requirement is:- when the user clicks on the report button from jsp, internally it has to execute the query, invokes the report and exports into PDF dynamically. Stores into particular location with RandomNo.pdf and deploy in enterprise also...
    can any one help me out plz?
    I am using Crystalreport11 and BusinessObject Enterprise as a server. I need the code for that...
    Thanks & Regards
    Rajesh Kottakota

    I remember that bad behavior in previous versions of Pages. Now using Pages 2.0.2 and Mac OS X 10.4 Tiger it does not happen again. Maybe your system version (10.3.9) and the interaction with Pages was not already perfect. Consider updating, maybe?
    All PDF produced nowadays open and display fine in Preview 3.0.9 or in Acrobat Reader 8.
    iMac G5 PPC 2,1 Ghz   Mac OS X (10.4.9)  

  • Using Font Folio in InDesign to export in PDF to app store

    Our customer is creating applications using In Design.    These applications are exported into PDF format for viewing on mobile devices.    Is there any additional licensing needed from Adobe in this scenario?
    Also, in the future (not now) if the customer would like to look into perhaps fonts to be embedded in a app the customer is creating, what licensing would be needed?
    Thanks in advance!

    For export of PDF from InDesign (or saving PDF from Illustrator or Photoshop), no additional license is required for embedding fonts sourced from Adobe (including all the fonts in the Font Folio and any bundled with Adobe applications).
    This is not true for use in applications where text is being generated on-the-fly and/or can be entered by the user. Others will comment on those licensing requirements.
              - Dov

  • InDesignCC. How to keep image quality with exporting Interactive PDF?

    Hello everyone, I'm using InDesign CC, I'm exporting a PDF that has PNG images, the problem is that I'm loosing the sharpness and the pureness in the images after exporting the file into PDF Interactive... the Settings I'm using for Image Handling are Compression: Automatic , JPEG Quality: Maximum, Resolution PPI: 300..
    The file size is "Letter" with web Intent (792px x 612px) the images I'm using are big and have great quality, can anyone tell me how I export into PDF interactive without loosig images quality? I want to keep this pureness and sharpness in the images
    Thanks in advance

    It depends on the image. Best way for us to advise you is to open your image, then go to Image > Image Size and upload a screen capture of the Image Size box with the readings.
    What you might have working against you is not enough pixels. Upsampling may just make it blurred. But we will see.
    300 ppi is also not carved in stone, you may get away with 200 ppi depending on where you are sending it for printing.
    And lastly, if you are paying a commercial printer to do this, it's best to consult with them and see what they can do.

Maybe you are looking for

  • Database login failed after upgrade to VS 2008

    I am having trouble with one of my reports after upgrading a project from VS 2005 to VS 2008. All reports work fine except for one. The one that doesn't work has a subreport and I am assuming that the subreport is the cause of the problem. My configu

  • Vide playback on G5 choppy

    Video playback on my G5 is really choppy and lags. I've got 2GB RAM. Any ideas on how to speed things up? Andy

  • Problems with MobileMe contacts sincyng

    I'm a MobileMe, Mac and iPhone user and I usually sync all my data with no problem However for some reason I cant sync my contacts in my Mac with with my contacts in MobileMe. Also I find some of my contacts names overwritten with other names in Mobi

  • Firefox stalls whenever in Yahoo e-mail; Windows XP unable to shutdown

    When I am in my Yahoo e-mail account, firefox stalls. The page does not budge. I have to close Firefox and when I try to restart, it says that Firefox is already running. I am also not able to shutdown the Windows.

  • Web service hosted but client program cannot access it ERROR

    hi, pls help me, my problem is i have hosted the WEb services successfully, i can that in the below URL http://localhost/jbossws/services Environment is Jboss 4.2.2, jdk jdk1.5.0_12 web service end point is EJB3 But i when i am trying to access it th