Error on export to PDF, working correctly in viewer.

I have been wrestling with an error for a while now and would appreciate any insights offered here to help me correct this issue and move on with my project.
The situation is this, I have a .net application which includes eight different Crystal Reports. All of the reports presently display and behave correctly in the browser using the crViewer.
However, one does not export to Excel or PDF at all (the other 7 do so, and do so without error or issue).
Instead, I am given this error when the export is requested:
Error in File C:\DOCUME1\x\LOCALS1\Temp\Detail {F7B06596-9318-42CD-8849-7C800C47D161}.rpt:
Failed to retrieve data from the database.
Details:  Database Vendor Code: 512
    Source: "CrystalDecisions.ReportAppServer.DataSetConversion"
I have tried exporting the report with both an ExportToHttpResponse and an ExportToStream approach, both result in the same error. The process of generating and attempting to export this report is no different than that used by the other reports which are working correctly. I have tried placing the export call both in the page_load and in the page_loadcomplete and have tried using both the report object being sent to the viewer (which works fine for the other reports) as well as creating a new report document exclusive to the export routine. I have validated the database and tested the page on two different servers, all to no avail.
This report is somewhat more elaborate than the others, but shares a data access approach (stored procedures) as well as many basic design elements with the other reports - and again, the report displays correctly in the report viewer - it is only failing when an export is attempted.
I would be happy to provide additional details as needed in order to facilitate troubleshooting, and any and all help is greatly appreciated.

It was subreport-related, though I still do not know the exact root cause.
I was having trouble with both the built-in export as well as a custom process.
Removing the subreports as suggested, I isolated the failure to one of the three subs and rebuilt this subreport from scratch (it was only three fields) and now the report has no trouble with the pdf export. I am not sure if it had a resolvable technical issue or if it was just corrupted, as it is now working, I am not going to expend much energy on finding out.
Thanks for the suggestion.

Similar Messages

  • Error when exporting a pdf in SAP

    She sends me the error when exporting a pdf from the SAP system, this is the message:
    X Object reference not set to an instance of an object.
    I hope I can support.
    Annex image

    See your other thread.

  • Generating error with export to PDF action

    Hi,<br>
    After we have implemented Nakisa OrgChart Accelerated (live solution) successfully, we installed export pack 3.0 correctly. If we want to export an OrgChart to PDF a message pops up saying that an error occurred while generating the file.<br>
    What is/can causing this?<br>
    Thanks in advance,<br>
    Bruno

    Hi Bruno,
    I know that the PDF functionality only works after Service Pack 1.0 has been installed because of some content in the CSS files in the Themes folder. I am unsure if implementing this element or the whole of Service Pack 1.0 would fix this for Accelerated because of potential style changes, but you could try it. I believe the files are orgChartTheme.css and NOMSStyle1.css.
    I hope that helps.
    Luke

  • Error while exporting to PDF document in OBIEE 11g

    Hi
    In OBIEE 11g we are facing an issue regarding exporting a few reports to pdf. It is resulting in following error: "Error generating PDF document".
    The reports are placed on a dashboard which has a prompt too. However, when we remove the prompts, the export is working fine.
    We will really appreciate any help in this regard.
    Thanks.

    Hi,
    Looks like this is a sort of known bug with PDF creator in 11g. Try implementing the below solution:
    To configure the Javahost service, edit the Javahost service configuration parameters in the
    instanceconfig.xml file. The parameters are
    identified by their relative path starting from the /WebConfig/ServerInstance node
    For example:
    <JavaHost>
    <PDF>
    <InputStreamLimitInKB>50000</InputStreamLimitInKB>
    </PDF>
    </JavaHost>
    After changes restart Siebel Analytics Java Host and Siebel Analytics Web services
    If it doesn't work try to create same report in xml publisher as presentations services in obiee has limited capacities in printing out reports.
    Refer to this thread for related useful information: Error in creating a PDF
    Hope it helps.
    Thanks,
    -Amith.

  • Error on exporting to PDF - Exception in formula - this field is not known

    We just upgraded the crystal to new CRJ files and the reports started to throw errors.
    We are sending the output as a byte array stream
    inputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
    We have 2 procedures in the report and exception is thrown for every formula based on procedure 1.
    If we remove all formulas report works fine. Does anyone have a clue.
    Just to let you know, the reports were working fine using previous crystal APIs. Its only after new jars, the exception is thrown. Any help is highly appreciated.

    Crystal Reports formulas?
    Are they in Crystal Format or Basic Format?
    Sincerely,
    Ted Ueda

  • Error while exporting to PDF - Operation not yet implemented

    Hi,
        We using C# Dot Net 2005 and Crystal Report for Dot Net 2005 and we are trying to export to PDF file.  In one of the reports, we are using a Font "Shree-Kan-0850' from Shree Samhita, a SDK to build application in Indian regional languages. But we are getting an error as follows:-
    "Error in File C:\Document~1....\{....}-.rpt: Operation not yet implemented.". When we tried in various sites and forums found that it was due to some non-standard fonts. We have checked that if we remove Shree-Kan-0850 font from report, it works fine and once included the error comes. So problem might by from this font. Whether Crystal report is not supporting other than Windows standard fonts or the problem with PDF? Because with same font we can export to DOC, XLS etc. Please guide us how to solve this?
    Thanks and regards,
       Rajeev Vandakar, Bangalore.

    Unfortunately, it looks like that font has many issues. Googling 'Univers Condensed Fonts .net' gets a number of interesting posts. E.g.;
    Univers 67 Bold Condensed Font does not show in my Flash Fonts List
    See if you can select the font in the properties window of the VS.NET IDE.
    It would also be interesting to see if the following will work in a new test app:
    Private Sub Form1_Load(ByVal sender As System.Object,
    ByVal e As System.EventArgs) Handles MyBase.Load
         Label1.Font = New Font("Univers 57 Condensed Font – Univers 57 Condensed", 12, FontStyle.Regular)
    End Sub
    - Ludek

  • Printing error and Export to PDF error after a Quark Express convert

    I are working on a catalogue that was previously made with Quark Express. I used q2id to convert over to InDesign CS3. I had some minor issues setting up the new fonts, but that was no big deal. Now that the catalogue is close to finished, I want to do some test print, however, on several of the files it start processing the printing, finish the processing of all the pages, then kills the print job and comes with the following error:
    Print Error: The Adobe Print Engine has failed to output your data due to an unknown problem.
    Similar error happens when I try to export to PDF, this error only says:
    Failed to Export PFD file
    Anyone had a similar problem?? I've done a preflight but ID does not indicate any problems with the file nor its content. Is there another tool to scan the file with to find errors?? Possible fix it?? Is there a log file I could check??
    In advance, thanks guys.
    Working on:
    InDesign CS3
    Windows XP Pro, SP02
    2 GB RAM

    Thanks Ken,
    Not sure how to check if we do have OPI comments on some of the images, but looks like I have found a solution to the printing problem at least.
    Thanks to a respons by Peter Spier to another topic with similar problems:
    Peter Spier - 4:00am Mar 11, 08 PST (#5 of 6)
    The symptoms could describe document corruption rather than network issues which might fall into the category of things that can be cleared up through export to .inx.
    Try exporting one or two of the problem files to interchange format, open those and save as new .indd and make a new book file. See if that behaves differently across the network.
    I also found another article about INX files, that confirms this technique:
    http://avondale.typepad.com/indesignupdate/2005/08/what_the_heck_i.html
    "...INX can also help “clean up” problem files in InDesign CS2—if you’re running into problems, especially with files that started their lives as QuarkXPress or PageMaker files, try exporting the document as INX and then opening that file."
    So, I
    1. exported all files, one by one to INX or InDesign InterChanged
    2. Then reopened those files, saved back as regular .indd files
    3. Reopend the new file (hoping for a refreshed file and test to see if it would open without problems.)
    4. Then packed the files indevidually and reopend the new packed files when done.
    Alle the files now print without any problems but export to PDF still fails with the same error message.
    Would the OPI comment be a problem here maybe?
    Thanks!
    bard

  • Page Number Error when export to PDF

    I am getting an error on page numbers for a book file when I export to PDF. The page numbers are set in the master pages and when I export each chapter individually the page number show fine. When I export the entire book, then some of the page numbers repeat. The pages are the right pages, but the numbers change incorrectly. For instance, the sequence goes, 58, 59, 58, 61 and 72, 73, 72, 73, 76.
    I've updated to the latest InDesign (7.5.2) and have tried multiple PDF export options (High Print, Press, PDF/X, etc) and nothing fixes it.
    Any suggestions?
    thanks

    This is a known (and fairly catastrophic) problem in CS5.5.
    Some people have found exporting the individual INDD files to IDML, resaving them as INDD files (don't overwrite your originals!! Make a backup first!), and recreating the book works...for a while.
    You could revert to CS5.0 if you have a license for it.
    CS6 is on the horizon and should fix this bug.
    Hopefully there'll be a CS5.5 maintenance update to do so as well.
    Sorry I don't have a better suggestion.

  • Error when exporting to pdf using Infoview.

    Hi,
    If I preview one of our reports (built in CRXI) in the CMC for CR server and then attempt to export the output to a PDF after waiting for a few mins I get the error:
    Error
    Your request could not be completed because a failure occurred while the report was being processed. Please contact your system administrator. 
    The report has 6 supreports each that take 2 parameters. Previously we have had problems with this report when trying to change the database connections for the subreports (we were getting a 'Missing prompting units' error until we started making the database connection change in CRXI, running from CRXI not the CMC and then saving the file to the repository once it had run successfully with the new connection settings).
    All our other reports preview fine, they do not generally use sub-reports or multiple parameters though.
    Thanks for your help.

    There's so many variables for each Enterprise action, even with an effort to improve these over the years, the Enterprise error messages are usually so vague you have to trace to really identify the issue.
    Exporting directly from Crystal Reports is a good start.
    Sometimes it's just a matter of the report has streamed the 1st/beginning pages to you, but it is still processing in the background when the export to pdf is executed. Since the report is not complete, it fails. Try scheduling it directly to pdf to eliminate this possibility.
    Else you will have to trace the Page Server or RAS to get more info.

  • 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

  • Errors in Export to PDF for web use - some images are lost when PDF is enlarged & in browser

    I have a multi-page PDF in InDesign CS6 that I want to export to view on the web. I need the file to stay under 2MB, and I need it to be crisp and nice enough to read the type on the page (as small as 9pt type).
    The errors that are occurring are the following:
    On some browsers, some images will entirely not show up. Some of the missing images have been pasted into the document, some placed. I cannot think of a correlation.
    When the PDF is enlarged (Adobe Acrobat X 10.1.10) to more than ~200%, there is one placed image that will mostly disappear. What I mean by "mostly" is that little bits of it are still visible, like I masked it carelessly or something. Since this is only occurring with one image it seems that it would be a problem with the image itself, yes? I'm all ears if I'm making a mistake. It is a placed .ai file with no link errors. Should I not be placing directly from illustrator? It renders wonderfully from 100% all the way up to 188%, and then if you enlarge by margins of 1% little bits of it disappear, almost a chunk at a time.
    The way I've been exporting is:
    File > Export > Adobe PDF (Print)
    Adobe PDF Preset: Smallest File Size
    Standard: None
    Compatinility: Acrobat 6 (PDF 1.5)
    Options: Optimize for Fast Web View
    Export Layers: Visible & Printable Layers
    Compression
    I always change the downsampling from [100/150] to [150/225]. I usually leave the JPG image quality low. I leave both bottom boxes checked (compress text and line art, crop image data to frames)
    Output
    Color Conversion: convert to destination
    Destination: sRGB 1EC61966-2.1
    Profile Inclusion Policy: Include Destination Profile
    However, after reading a few other forum questions I started trying to export as Acrobat 4 so that it would flatten. When I do that, problem #2 still persists although I didn't test problem #1. I haven't tried using Distiller, and using the "prepare for web publishing" action within Acrobat itself makes the PDF too artifacted.
    At the heart of my question is this: I am a young designer at an old company that is not necessarily keeping up with the times. I REALLY want to know what the best, most efficient way to export a pdf for web viewing is. Does this exist in InDesign, outside of InDesign? Does it exist at all? Tell me what I'm doing wrong so that I can get better!
    Thank you in advance.

    Show Large Images is a preference inside of Acrobat which might be disabled.
    Acrobat - File > Preferences

  • Trouble exporting a pdf with correct resolution

    I am really confused.
    When I export a pdf from inDesign using any of the (print) options, and view it in bridge (meta data and preview area), the dimensions are incorrect from what the specs my printer supplied me, even though the inches are correct in the document set up.
    As an example, a postcard in Inches, 4.1” x 6.1” and when looking at the meta data using bridge it says the 439 x 289 (pixels I guess) and should be 2135 x 1435. It also doesn't display the resolution in bridge for the pdf which needs to be 350 dpi. Now if I export a jpeg, it has all the correct specs that I need. Am I exporting incorrectly?

    Ok right got it
    My document is A4 - and Bridge is telling me the PDF is 595 x 842
    If you start a new document and choose "Web" instead of "Print"
    Choose A4 and you'll see the dimensions being 595 x 842
    I wouldn't trust Bridge or any PDF preview or information for actual size.
    It's clearly giving a Pixel reading of the document
    And if you uploaded that as a thumbnail to a website at 72 ppi
    It would be 595 x 842 pixels.

  • Fireworks CS4 internal error when export to PDF

    Trying to export a PDF from a layout gets an internal error
    message with Fireworks CS4. The layout involves a master page plus
    5 pages with a few PSD images imported. To test to see if it was
    something to do with the specific file, I tried another simple
    single page png which initially exported but then started to fail
    as well. Regular export to CSS, etc. seems to be fine. My OS is
    Vista Business.
    I've tried googling for a solution but have only found topics
    around certain fonts causing start up failures.
    Any ideas?
    Thanks.

    quote:
    Originally posted by:
    tjodoin
    After some debugging, I discovered that if all text is
    removed, the project exports to PDF without issue so this looks
    like a font issue similar to the other threads covering program
    launch problems. I haven't installed any fonts outside of what come
    with the system or Web Premium CS4.
    Is there a list available that identifies fonts required by
    Vista?
    Here you are:
    The
    big font list in Windows

  • CS5 Unable to print to PDF ... export to PDF works fine??

    I can't print to PDF without going to PS first. Printing to the PDF is necessary for print booklet and printing separations, among other things. It will not print directlly to the PDF without first producing a PS file. I then have to convert the PS file to the pdf.  The print to PDF worked just fine in CS3. Does anyone have an answer to this??

    yes it is a recent install of CS5 but all the printer preferences remained the same.  I printed the
    test page and it does confirm that it is using the PDF9.0 driver.
    As I said, this works perfectly with every other program I use, just NOT with the print function of InDesign CS5.

  • Error in Export to PDF for crystal reports

    Hi All,
                I have created one Crystal Report & on other side i have created a windows form & kept crystal report viewer on it.so through my coding i'm setting the crystal report to get loaded into viewer on runtime.so in runtime i can connect to Printer (or) i can export it to PDF,but while exporting it to PDF gives me an error like this
    System.Threading.ThreadStateException:current thread must be set to single state apartment(STA) mode before OLE calls may be made.Ensure that your main function has STAthreadAttribute marked on it.
    System.Windows.Forms.Form.ShowDialog()
    can anybody suggest me some ideas to solve this problem.
    thanks,
    shangai.

    hello,
    in details,
    1. to make sure that ur .rpt file is working run in (Preview ) using crystal reports ... this should return the expected result.
    2.try to run ur report in an Administrator account. (if i am correct w/ authorization issue) this should fix the problem.
    best regards
    fidel

Maybe you are looking for

  • Unrelated data in master detail sections of a custom BIP  report deployed in R12 EBS

    We have a custom Master Detail BIP report generated by calling XDO APIs from a custom Java concurrent program (common_report_attachment) . This Java concurrent program is called from another custom concurrent program (po_validation) that processes a

  • How can I start Firefox in a brand new session?

    I got onto a malware site that wants to scan my computer for viruses. There is currently a popup window that says "Threat Detected. Please click the Protect button to make your system safe." I don't want to do that. I can't close the popup by clickin

  • Carrying case for my laptop and MOTU Traveler?

    I bought my MOTU Traveler for the portability. Does anyone know of a good, protective carrying case for my MacBook Pro and my MOTU?

  • Quizzes

    Hi everyone, I need help. Im creating a training guide and I came across a few problems I need help solving. Im creating a guide and in that guide I have 8 sections and I would like to include a quiz (with 4 questions each; all are multiple choice) a

  • Correlated Subqueries, NOT EXISTS & Anti Joins - Clarification

    I am a bit confused now regarding correlated subqueries and the NOT EXISTS operator (I had originally thought I understood but am all mixed up now!) I was reading around and have gathered that if one were to use EXISTS that this isnt the preferred me