Export to Pdf: Image not shown

I'm a newbie with Crystal Report.
I'm trying to export a loaded Crystal report document in C# to pdf.
I have a image in the document but it will not show. The Image path is an url.
If I export it to CrystalReport format it works fine and the image is shown.  
crdoc.ExportToDisk(ExportFormatType.CrystalReport, logPath + debugFileName + "_1.rpt");
If I export it to Pdf format it will not work.  
crdoc.ExportToDisk(ExportFormatType.PortableDocFormat, logPath + debugFileName + ".pdf");
I also tried to export the document like this
ExportOptions crExportOptions = new ExportOptions();
DiskFileDestinationOptions crDiskFileDestinationOptions = new DiskFileDestinationOptions();
crDiskFileDestinationOptions.DiskFileName = logPath + debugFileName + "_2.pdf";
crExportOptions.DestinationOptions = crDiskFileDestinationOptions;
crExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
crExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat;
crdoc.Export(crExportOptions);
The refrences i'm using is
CrystalDecisions.CrystalReports.Engine vers. 11.5.3700.0
CrystalDecisions.Enterprise.Framework vers. 11.5.3300.0
CrystalDecisions.Enterprise.InfoStore vers. 11.5.3300.0
CrystalDecisions.ReportSource vers. 11.5.3700.0
CrystalDecisions.Shared vers. 11.5.3700.0

I found a solution to this problem:
1200904 - A dynamic image from an HTTP source does not appear in a .NET application 
Symptom
A dynamic image from an HTTP source does not appear in a .NET application deployed to a production system.
Cause
This problem occurs because the library file libcurl.dll is missing from the Business Objects bin directory. The libcurl.dll is not included in the .NET merge modules for Crystal Reports XI and Crystal Reports XI Release 2.
Crystal Reports XI Release 2
1. Find the libcurl.dll on the development system in C:\Program Files\Business Objects\Common\3.5\bin.
2. Copy and paste libcurl.dll to C:\Program Files\Common Files\Business Objects\3.5\bin on the production system.

Similar Messages

  • How to ask about EXPORT to PDF images per/page

    When I export to pdf I get:
    1st page has one image on it
    2nd pages on have two images each
    I can't figure out how to make the export ONE image per PDF page.
    Sorry it this question is cryptic...I don't know the correct terms to use.
    Thanks,  --bill

    I found a promising javascript for Acrobat to split spreads to single pages... there were couple of flaws (cover single page was splitted too, some interactive elements were not deleted when page was cropped and element was left outside of crop area...) I sent a comment to an author of that script about those problems...
    But I think this script could be usefull even with those problems, at least if you have a long document to process. You can always put an extra page to first and last spread and keep it while exporting, and those non-deleted elements may be deleted manually...
    Address and instructions how to add it to Acrobat´s Document menu can be found at:
    http://www.khk.net/wordpress/2009/03/30/splitting-pdf-pages/

  • 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

  • Gray image not shown correctly in photo app

    Hi, in my iphone App, I create a Gray CGImage. Some code is here:
    colorSpace = CGColorSpaceCreateDeviceGray();
    if (colorSpace == NULL)
    fprintf(stderr, "Error allocating color space\n");
    return NULL;
    CGDataProviderRef dataProvider =
    CGDataProviderCreateWithData(NULL,
    myimagebuffer,
    bitmapByteCount,
    NULL);
    CGImageRef cgImage = CGImageCreate(col,
    row,
    8,
    8,
    col,
    colorSpace,
    kCGImageAlphaNone,
    dataProvider,
    NULL,
    false,
    kCGRenderingIntentDefault);
    And then I use this CGImage to make a UIImage. This image shows OK in UIImageView. I also use UIImageWriteToSavedPhotosAlbum to save this gray scale image to photo album. But when I open iphone native Photo app, this image is not shown correctly.
    Anyone has the same experience?
    Thanks,
    fm

    Post Author: JeffI
    CA Forum: Older Products
    Because I am sure other people will encounter this issue, I will post the solution here...The issue lies in what program is associated with .bmp files. In my specific case the customer had PhotoSuite 4 by Roxio associated with opening bmp files.  I am not sure exactly why (perhaps it doesn't support drag-and-drop?) but if you create a .reg file and import this it should fix the problem. The bolded part is the important part. Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT][HKEY_CLASSES_ROOT\*]"InfoTip"="prop:Type;DocAuthor;DocTitle;DocSubject;DocComments;Write;Size""QuickTip"="prop:Type;Size""AlwaysShowExt"="""TileInfo"="prop:Type;Size"[HKEY_CLASSES_ROOT\.bmp]@="Paint.Picture""PerceivedType"="image""Content Type"="image/bmp"[HKEY_CLASSES_ROOT\.bmp\OpenWithList][HKEY_CLASSES_ROOT\.bmp\OpenWithList\MSPaint.exe]@=""[HKEY_CLASSES_ROOT\.bmp\OpenWithProgids]"Paint.Picture"=hex(0):

  • SRM-MDM Catalog: Images not shown in search ui - only placeholder visible

    Hello Expert,
    we have the problem, that the images, which we imported into the repository using the Data Manager are not shown in the search ui. The image is visible in the Data Manager and assigned to a product.
    If I make a right-click on the image in the brower,  I get a URL like this
    http://[server]:port]/webdynpro/resources/sap.com/tc~mdm~srmcat~uiprod/Components/com.sap.mdm.srmcat.uiprod.ItemDetails/null//Images?id=1&variant=Thumbnail&cachePath=/tmp/largeObjectRepositoriesCachedFolder/kfw-mdm-ae54/RepositoryPort_2010/User1&relativePath=t07/0000000/r00001v-2.jpg
    Regards,
    Sven
    Edited by: Sven Haustein on Oct 16, 2008 3:28 PM

    Hi,
    we are using SRM-MDM Catalog 2.0 SP04 Patch 01 (5.5.63.65)
    Retrieving MDM JAVA API Version
    Admin Version = 5.5.63.02 [Interface CRC=0x5b63a633]
    Build Version = 5.5.63.102
    Content Version = 5.5.63.09 [Interface CRC=0x9d7cb0c4]
    Meta Version \t= 5.5.63.00 [Interface CRC=0xab59b8dc]
    !======================================!
    Building up connection to MDM Server 10.130.32.81
    Retreiving MDM Server Version
    Version = Version 5.5 SP6 (5.5.63.65)
    Regards,
    Sven

  • Anychart save as pdf/image not working

    A while ago I posed this question when the right click, save as stopped working on my APEX charts
    Apex charts - right click, save as image (not responding)
    The problem resolved when anychart.com was back up, but the problem is occurring again and I wonder if they've moved their php files.  Not even in Hilary's sample app is working. We think this happened within the last month.
    After choosing save as image and a location, the "saving" just keeps spinning.
    Most anychart google results at the moment seem to revert to the same landing page, and webcached copies refer to locations that no longer exist.
    I wonder with post anychart7 cleanup, have they moved the supporting php files? For instance, this location no longer exists
    http://www.anychart.com/products/anychart/saveas/pdf/PDFSaver.php
    A workaround is to use a local copy of the php file with custom XML
      <settings>
        <pdf_export file_name="mychart.pdf" use_title_as_file_name="true" url="/i/AnyChart4_SaveAsPDF_php4/PDFSaver.php" image_type="jpg" />
    But I only have the PDFSaver, not the AnyChartPNGSaver.php
    This file no longer exists either:
    http://anychart.com/products/anychart/docs/users-guide/export_image_scripts/php.zip
    Does anyone know where I can source the png saver php, or suggest another workaround? Or have any other information on this issue.
    An email to [email protected] back in 2013 got no reply.
    APEX 4.2.0
    Scott.

    Hi Scott,
    So, if i understand properly, making this change
    <settings><pdf_export file_name="mychart.pdf" use_title_as_file_name="true" url="/i/AnyChart4_SaveAsPDF_php4/PDFSaver.php" image_type="jpg" />
    will avoid atleast PDF issue? And as i dont have privileges to install or deinstall anything on /i/ folder, still this will work and URL path will remain same for each installation?
    Adding another question, as you said "it sends base64 information when converting to PDF", does it mean i will not be able to convert to PDF, if i am using intranet and PC's not accessible to internet?
    Thanks
    Sunil Bhatia

  • Export to PDF - Does not embed font

    Hello,
    I have created my CV in Pages. However when exporting the file as a PDF, my chosen font refuses to embed/render when I open it on a Windows computer. The specific error is:
    Cannot extract the embedded font 'LSHFUS+MuseoSlab-100'. Some characters may not display or print correctly.
    The resulting PDF displays correctly on my Mac, iPad and iPhone, but not on any Windows computer.
    Can anyone suggest what I might do to get this to work in Windows, and whether there are other applications available that help with exporting Pages documents to PDF?
    Thanks,
    Saj

    snkhan wrote:
    Thanks for posting the links Koenig, hopefully we can figure out whether it is a font issue or a Windows issue. It's impractical to stop using non standard fonts, so I really don't want to go down the route of just using Arial/Verdana in my documents.
    I'm not the one urging you to do that. I think that we must be free to choose our fonts (even ugly ones if we want and I must say that I see most ugly ones than well formed ones).
    I did what I was able to do:
    I downloaded the fonts, used them in a document.
    Print a PDF , export a PDF.
    Then, I stored the two PDFs on a memory stick which I connected to an other machine which don't know what is MuseoSlab 500.
    The result is exactly the one which I got on the first machine.
    Also, how can I check if the font subset was embedded correctly in the PDF?
    Given the behaviour described some lines above, I assume that the embedded subset is correctly formed but, I can't guarantee that.
    This is why I asked peter to test because if I understand well, he has access to both operating systems.
    Yvan KOENIG (VALLAURIS, France) mardi 10 août 2010 16:58:50

  • Why Arabic charactes in PDF are not shown ?

    I have Microsoft IIS , oracle report server , Acrobat writer 5 and report builder 6
    in Windows2000 with Arabic language enabled.
    In live previewer and HTML format Arabic characters are shown correctly in my report
    also when i print my report by Acrobat distiller printer, but when i generate to file PDF ,
    arabic characters are not shown correctly (they are not shown as question marks )
    this meanes that my reports in IE5 as PDF do not show arabic characters.
    How Can I define my Acrobat distiller printer as default printer used by web CGI (rwcgi60) ?
    I have found this statment in developer documents:
         "PDF does not support multi-byte character sets."
    wether it meanes that i can not have reports with arabic characters as PDF?
    thanks for your help.

    Jalal,
    BiDi was not supported in PDF output in reports 6/6i. It is supported in reports 9i.
    Thanks
    The Oracle Reports team

  • Export to pdf links not active

    When i create a pages document and export to PDF, the web page links are not active, even though pages says the links should be active in the PDF's i create. Whats up? Anyone

    This forum is dedicated to the program Pages in iWork '08. I suggest you ask your question about Word in the Microsoft Office forums.

  • New images not shown

    Hi,
    Apparently images that are not on the disk when a Java application starts but that are added on disk during program execution, are not shown on JLabels, JButtons, ...
    Anyone knows why?
    Taaje

    Dunno, coz it works 4 me. Y ! 4 u?
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import javax.imageio.*;
    import javax.swing.*;
    public class Example {
        public static void main(String[] args) {
            final File file = new File("temp.jpg"); //constructor doesn't create file in file system, right?
            final JPanel cp = new JPanel(new BorderLayout());
            JButton write = new JButton("write image file");
            write.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent evt) {
                    try {
                        URL url = new URL("http://today.java.net/jag/bio/JagHeadshot-small.jpg");
                        ImageIO.write(ImageIO.read(url), "jpg", file);
                    } catch (IOException e) {
                        e.printStackTrace();
            JButton read = new JButton("attempt to read file and create label");
            read.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent evt) {
                   try {
                       cp.add(new JLabel(new ImageIcon(ImageIO.read(file))));
                       cp.revalidate();
                       cp.repaint();
                   } catch (IOException e) {
                       e.printStackTrace();
            JPanel buttons = new JPanel();
            buttons.add(write);
            buttons.add(read);
            cp.add(buttons, BorderLayout.NORTH);
            cp.setPreferredSize(new Dimension(400, 300));
            JFrame f = new JFrame("Example");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setContentPane(cp);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    }

  • Pdf files not shown

    When trying to open PDF files in Safari 6 are not shown. It shows a gray screen. What do I do to view these PDF files directly in Safari?

    Try:
    *[/questions/816793]

  • PDFs are not shown correctly at more than 150% size

    Hi,
    we use Adobe Reader 8.1.2 and we can´t change it in our company.
    we now have the problems, that a few documents are not shown correctly, when they are shown with more than 150% on the screen.
    at 150% the signature and some lines are shown, when we look at the document witz 177% the lines and the signatures disappear.
    Does someone have the same problem AND a solution?
    Hajo

    Hi,
    I'm having exactly the same problem with my 80gb ipod on my new laptop which is also running Windows 7 64 bit and iTunes 10.1.1.4.
    I initially just tried syncing photos and according to iTunes it was still syncing after 4 hours, this was for 6700 photos and I wasn't asking for full resolution, but iPod just said Connected - Eject before disconnecting. I couldn't disconnect and in the end had to close iTunes before disconnecting, then there were no photos on the iPod.
    Disconnected, rebooted then when I connected the iPod I got the message that it was synced to another PC which I expected so i click to erase and synch, iPod initially showed synching then went to Connected - eject message but itunes was saying "finishing synch" it showed this for hours and out of 6543 songs on the PC it was onlt showing 6002 on iPod. I stopped the synch trie dejecting but got same message Iancenaz got. Again had to close iTunes before I could disconnect iPod safely.
    I'm going to try synching it back on mhy old laptop which is running Windows XP and an older version of iTunes as I suspect its either a Windows 7 or iTunes 10 problem.

  • Images not shown correctly i addon store

    I Have a questions regarding the Adobe® Exchange Producer Portal. If this is not the correct forum, please do direct me to the correct channel.
    Images not showing correctly on the product page in the addons store.
    See page https://creative.adobe.com/addons/products/5132#.VL4rTy5GySM
    For instance the preview images are not showing correctly.
    The url https://portcullis-production-us-east-1.s3.amazonaws.com/0/5132/26a19cfe-663d-49f4-86f4-fd 4b2d6a338b.png returns status code "403 Forbidden"

    If this is your product, please submit a metadata change request with new images uploaded. That should solve the problem.

  • Exporting to pdf does not take the SummaryInfo properties

    Hi,
      i am setting all t he properties of the ReportDocument.SummaryInfo  and then exporting to .pdf, but only the title gets exported.
    second there are properties get set in the .pdf automatically by crystalReports without having the power to change them like:
    Creator, Producer.
    is there a possibility to change them.
    third is there a possibility to encrypt and sign a pdf through crystal reports?
    Regards.

    At least one of the 3rd-party Crystal Reports Desktop Schedulers listed at http://kenhamady.com/bookmarks.html provides that functionality (automating the process of exporting to pdf, setting properties using static or dynamic information from the report, protecting the pdf, etc.).

  • Crystal Reports 2008 export to PDF does not render Japanese fonts

    Hello,
    I have searched the forums for this issue, and there does not seem to be a clear resolution to this problem.  We are using CR2008 to create RPT files that are bundled with our custom .NET 2005 application, which then generates reports in PDF format by running the RPT files against an access mdb database using the CR2008 runtime (our application is deployed on a different machine than the one that is used to create the RPT files).  The issue we are having occurs when data in the access mdb file contains Strings with Japanese characters.  The system that our application is running on does contain the eastern asian language fonts so if a user opens the mdb file using access, they can see the Unicode strings in the database rendered properly (rather than the usual boxes and garbage).  However, once our application generates the report filling in the rpt file with data from the mdb and exporting the report to pdf format, the entries that should contain Japanese font data, which leads me to believe the problem is in the export pdf function of the crystal reports 2008 runtime.  Is there anyway we can configure the runtime to properly embed the fonts in the PDF so that the users can view the Japanese content from the database.  Our users end up viewing reports on both OSX and Windows using Adobe Acrobat Reader.
    Thank you very much in advance

    Thanks for the quick reply!
    1) Exact version of Crystal Reports. (Open Crystal Developer. Go to Help> About Crystal Reports).
    12.0.0.683
    Type: Full
    2) What happens if you export the report to PDF format from the standalone Crystal Reports Designer?
    Same result.  The entry shows up as giberish in the report designer preview...however, by doing this I stumbled upon something.  See below
    3) Are you able to export the report to other formats without any issue?
    See Note below
    NOTE:
    In another part of the report, I just put the fields in question directly in the report (that is, not embedded in a text object).  That part of the report when run produces the correct non-gibberish, properly rendered Japanese result (in the CR designer preview).  The same field, however, when embedded in a text object, results in the gibberish being shown in the designer preview as well.
    Now when I export this to PDF, that ends up turning both areas into the incorrect, gibberish result.  Both the one that did properly render in the preview (field not embedded in text object) and the one in the text object.
    Exporting to any other format (tried xls, rtf and html) results in correct rendering for the field not embedded in the text object and incorrect rendering for the field embedded in a text object.
    Hope this helps with the problem, and I think it means this thread probably still belongs under this current forum.
    Cheers

Maybe you are looking for

  • How do I view a list of software and when it was last used?

    I'm new to Apple and on Windows you could see a list of software on your pc and when it was last used - that helped me delete unused stuff but I can't find the same function on my Macbook Pro? 

  • ICM_HTTP_CONNECTION_FAILED  Error

    Hi, I am trying CRM Mobile Sales With SUP. the device is registered but data not flowing to device. when checked in subscription monitering i am getting below error . Exception occurred due to http communication failure SDOE_ESDMA 14.09.2011 08:38:15

  • An necessaries requirement of Java for using Khmer Unicode

    Hi Java Architecture or Engineering, May you describe me about any specific requirement that Java 1.6 can support Khmer Unicode? My Simulation problem: Recently, newgenlib (Open source Library) have been launch new version what can support Khmer Unic

  • Site Transfer

    I am stumped. I copied my entire hard drive to an external drive. I then installed Vista and then reinsalled Dreamweaver 8. I can't get any of my site definitions back. I forgot to export them under the site menu. I thought I could just copy back the

  • Scan name resolving IP's in serial manner.

    Hi, we Added scan entry at DNS server, but when do a nslookup for the scan name before the cluster installation, showing the following manner. so please check and assist why resolving in serial manner, its not showing as normal one by one as document