Crystal Reports 8.5 Export to PDF

Hi,
I am using 8.5 SP 3, crystl32.ocx, VC++ 6.0.
Here is the sample code:
CCrystalCtrl     m_RPT;
int iFileType=0;
    m_RPT.SetDestination(2);  //print directly to file
    m_RPT.SetPrintFileName("C:
SAMPLE.PDF");
    m_RPT.SetPrintFileType(iFileType);
    m_RPT.PrintReport();
iFileType is only valid from 0 to 17 where 17 is the MS WORD format.
I can't get it export to PDF file.
Edited by: Al Koh on Jan 18, 2009 8:39 AM

Hello Al,
The OCX (crystl32.ocx) is quite old, and was last updated in version 6.  The OCX does not support exporting to PDF in code.  You can only export from the preview window when viewing the Crystal Report.
I found a Note that was migrated from an old Crystal Kbase article.  Here's the content of the Note:
+++++++++++++++++++++
Symptom
An application uses the Crystal Reports ActiveX (OCX) control (crystl32.ocx) as the reporting development tool.
Is it possible (through code) to export to Portable Document Format (PDF) when using the OCX?
Resolution
Exporting to PDF (through code) is not supported with the OCX because:
· The OCX does not contain an export constant for PDF
· The OCX has not been updated since Crystal Reports 6
· Functionality to export to PDF was not fully supported until Crystal Reports 8.5
====================
NOTE:
You can export to PDF using the export button in the OCX preview window. The OCX preview window is able to detect and use the PDF export DLL (CRXF_PDF.dll).
====================
+++++++++++++++++++++
If you need to export to PDF in code you'll need to migrate to the Report Designer Component (RDC), which was available in CR 8.5.  You should note that the RDC itself has been retired with the release of CR2008 (v12).  If you migrate to the RDC with CR8.5 you won't be able to update your Crystal Reports past CR XI R2 (v11.5) if you migrate to the RDC.
Sincerely,
Dan Kelleher

Similar Messages

  • Get blank report in Crystal Report Viewer when exporting to PDF

    I have an application that creates reports in the CrystalReportViewer while at the same time exports a PDF of that report.  I am having a problem in which
    performing the export causes the report in the ReportViewer and the PDF report to be blank. They have the header and column labels but no data.  If I
    comment out the Me.Export(reportExportOptions) line at the end of the exportPDFReport method the report in the ReportViewer works fine, displaying
    data on the report. 
    I have other forms that perfrom this same type of function on different reports and work fine.  In fact they use the same exportPDFReport method.  This leads
    me to believe that a difference in the reports may be causing the problem.  But I can't figure out why.
    I am using .net 3.5 with Crystal Reports 2008 (CR2008) full edition in Visual Studio 2008.  Although the reports that work were probably created using
    VS 2005 and the VS 2005 edition of Crystal, and which have since been updated to CR2008.
    Has anyone else experienced this problem?  If so, how did you resolve it?
    Thanks for any help!
    Code is below
    Public Class frmAgedReceivables
      Inherits CustomWinControls.CustomForm
      Implements ICustomForm
    ... other properties and methods
    Public Sub CreateAgedPremiumsReport()
        Dim billingType As String = "Direct"
        Dim reportType As String = String.Empty
        Dim frmDateProcess As New frmEnterProcessMonth()
        frmDateProcess.pikMonthYear.Value = TurmsController.CodeEffectiveDate
        frmDateProcess.lblMessage.Text = "Enter Processing Date"
        If frmDateProcess.ShowDialog(Me) = Windows.Forms.DialogResult.Cancel Then
          Return
        End If
        Me.InForceStripStatusLabel1.Text = "Creating Report"
        Me.Refresh()
        Dim report As New AgedReceivablesReport()
        report.Load(report.ReportPathAndName)
        Me.Refresh()
        Dim reportParmsArrayList As ArrayList = New ArrayList()
        reportParmsArrayList.Add(report.ParameterFields.Item(0).Name)
        reportParmsArrayList.Add(frmDateProcess.pikMonthYear.Value)
        reportParmsArrayList.Add(report.ParameterFields.Item(1).Name)
        If AgencyBillRadioButton.Checked Then
          billingType = "Agency"
        End If
        reportParmsArrayList.Add(billingType)
        reportParmsArrayList.Add(report.ParameterFields.Item(2).Name)
        reportParmsArrayList.Add(TurmsController.CurrentUser.UserName.Value)
        reportParmsArrayList.Add(report.ParameterFields.Item(3).Name)
        If NAICCheckBox.Checked Then
          reportType = "NAIC"
        End If
        reportParmsArrayList.Add(reportType)
        Dim parms As String() = {frmDateProcess.pikMonthYear.Value, billingType, reportType}
        Me.InForceStripStatusLabel1.Text = "Loading Data"
        Me.Refresh()
        report.getData(parms)
        Dim reportParms() = reportParmsArrayList.ToArray
        report.loadParameters(reportParms)
        report.ExportFileName = Microsoft.VisualBasic.Format(frmDateProcess.pikMonthYear.Value, "yyyyMM") + report.GetType.Name
        report.ExportFormat = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat
        report.exportPDFReport()
        Me.CrystalReportViewer1.ReportSource = report
      End Sub
    End Class  
    Public MustInherit Class TurmsReport
      Inherits CrystalDecisions.CrystalReports.Engine.ReportDocument
    Implements _ITurmsReport
    ... other properties and methods
        Public Sub exportPDFReport() Implements _ITurmsReport.exportPDFReport
          Dim reportExportOptions As New ExportOptions
          Dim reportDiskFileDestinationOptions As New DiskFileDestinationOptions
          Dim reportFormatTypeOptions As New PdfRtfWordFormatOptions
          reportDiskFileDestinationOptions.DiskFileName = getExportPathAndName(ExportType.PDF)
          If Me.UsePageRange _
          AndAlso Me.FirstPageNumber > 0 _
          AndAlso Me.LastPageNumber > 0 Then
            reportFormatTypeOptions.UsePageRange = True
            reportFormatTypeOptions.FirstPageNumber = Me.FirstPageNumber
            reportFormatTypeOptions.LastPageNumber = Me.LastPageNumber
          End If
          With reportExportOptions
            .ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile
            .ExportFormatType = ExportFormatType.PortableDocFormat
            .ExportDestinationOptions = reportDiskFileDestinationOptions
            .ExportFormatOptions = reportFormatTypeOptions
          End With
          If Not System.IO.Directory.Exists(Me.ExportFilePath) Then
            System.IO.Directory.CreateDirectory(Me.ExportFilePath)
          End If
          Me.Export(reportExportOptions)
      End Sub
    End Class 

    Pretty much. 
    Seems I had at one time hard coded a record selection statement that I forgot to remove which caused the report to be blank.  That solved my problem, but there still seems to be an issue in that the Crystal Report Viewer performed differently when I tried to export to PDF (no records displayed) then when I didn't (records displayed).
    Chip

  • Crystal report error when exporting to pdf

    We have developed a crystal report that gives an error (doesnt say which one) when i try to export the report to pdf.
    It says "exporting the report failed".
    Version : 11.0.0.1282.
    The viewer im talking about is the integrated preview of crystal reports.
    Edited by: RolandWorms79 on Sep 2, 2009 10:42 PM

    Seems to be working now.
    I upgraded CR and adobe.
    Edited by: RolandWorms79 on Sep 7, 2009 10:52 AM

  • Crystal Report XI R2 export to PDF

    Hi All
    I am working on Crystal Reports XI R2 version.
    CASE1:
    The report is working fine when report is ran in Infoview.When the same report is exported to PDF version
    then lot of empty spaces is being added in between every page.
    Can any one let me know the solution for this issue.
    Thanks
    bose

    Sastry
    Thank you.
    when i run the report from designer and export to pdf
    it works fine but the same gives lots of spaces when
    does the export from Infoview.
    Moreover will there be anything to do with ADOBE ACROBAT Version.
    Thanks
    bose

  • Crystal Reports 8.5 export to PDF problem

    Hi Guys,
    I have an application developed in VB6 using a crystal reports 8.5 version and I'm having some problems to export to PDF. If I see the data on the Crystal Reports 8.5 designer It will export just fine, but if I try to do the same thing it will export only some information to the pdf file.
    This problem is just happening on rpt with Image Object and I can't export the reports where image do not exist. This image is being loaded from an access 97 database. It is a 10 years old program.
    Hope to get this issue solved.
    Kind Regards,
    Manuel Rocha

    Hi Dear,
    Here I m also facing the similar problem with the crystal report 8.5 :
    Crystal Report (8.5) is not working on win7/windows 2008 64 bit system
    My application is a vb application and I am using Crystal report 8.5. It is working fine on 32 bit system and 64 bit system of Windows 2003 server. When I run the same application either on win7 64 bit or on 2008 64 bit, report does not open.
    I am using vb script to access the database.
    Part of the code written in the VB script file is as follows:
    Dim objrsRecordSet                 'As RecordSet
        Dim strSQL                         'As String
        '**** Open Database Connection using the parameters passed from the main program
        Set dbConnection = CreateObject("ADODB.Connection")
        dbConnection.ConnectionString = "Provider=SQLOLEDB;Server=" & mstrServer & ";uid=" & mstrUserName _
                                        & ";pwd=" & mstrPassword & ";Database=" & mstrDatabase & ";"
        dbConnection.Open
        dbConnection.CommandTimeout = 200
        dbConnection.Properties("Enable Fastload").Value = True
    Basically we have two visual basic projects developed in VB 6.0 language: let’s say 
      1. Diapp (we consume the report.dll in this application, in order to generating the reports)
      2. Adacrystalapp (which is used for making the report.dll)
    Diapp application generating the reports on windows-XP(32 bit machines) without any problems but when I run the same application on 64 bit machines(win7/Vista…etc) report is not generating.
    If I run the both applications (Diapp, Adacrystalapp) in debug mode then reports are generating on 64 bit machines (win7/vista) also without any problems.
    Please help me out with this issue, i will appreciate for your response.

  • Vista/Adobe 9/sql image Error in Crystal Report:Failed to Export the Report

    When I try to export my Crystal Report (v2008) from a Vista machine (using Crystal RDC export methods) as a PDF, I get the following error:
    Error in Crystal Report:  Failed to export the report.
    This only happens when a particular subreport (that contains a sql image) prints (based on an input parameter).  We have other subreports (within this same report) that print a sql image just fine.  But, when this subreport prints, the above error appears.
    I can run the same report on an XP machine without error.
    Exportmodeller.dll and crtsv.dll are both installed and registered to the
    C:\Program Files\Common Files\Business Objects\3.0\bin folder
    I have tried opening the report, removing the image, and then adding it back in again to the subreport.
    Still receive the same error.
    Any suggestions?

    >
    Don Williams wrote:
    > RDC is no longer shipped in CR 2008. You are using the embedded designer used within the Visual Studio .NET IDE and is not licensed for distribution.
    >
    > Upgrade to the .NET components and post your question to the .NET forums.
    >
    > Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.
    Don,
    Can you please clarify?
    Our VB6 app that uses Crystal XI RDC runtime components.  Our Crystal reports are edited in CR2008 SP1 developer edition (not through the VB.NET embedded report designer).  We have deployed the CRXIRelease 2 runtime components (via the merge module) to our client machines in order to execute the RDC.
    We can print/preview/export to excel, but the pdf creation is failing with this error.
    We are only using the RDC (which we know is no longer supported) because of huge issues with the Crystal for .NET methods we are having with our customers (I have an active case for this issue).  Therefore, we have to rollback our .NET product and revert to the RDC code. 
    Vista is failing to create a PDF for a report developed in the CR2008 SP1 developer edition when using the RDC.
    When you say  "Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.", what do you mean by "will not work in CR2008"?
    Thank you

  • 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

  • IE11 - Crystal Reports - PrintMode ActiveX now displaying PDF prompt (instead of printer prompt)

    I asked this question over at stackoverflow and am now taking it here: http://stackoverflow.com/questions/20672254/ie11-crystal-reports-printmode-activex-now-displaying-pdf-prompt-instead-of
    It's a simple straight-forward question.  IE11 is breaking the ActiveX plug-in used for printing from the Crystal Report Viewer.  All the pretty pictures are in the link I provided.  But the jist is that for my ActiveX Print Mode reports, the PDF dialog is presented now instead of the normal Printer dialog (unless I use Compatibility Mode)
    Other details:
    I am using the Crystal Reports that comes with Microsoft Visual Studio 2008.  For the life of me I can't remember how this got installed on one of my browser's (maybe an install from Visual Studio?) ... but I've been deploying the Crystal Print Control 10.5 (32-bit; version: 10.5.1.2285).
    And as mentioned in the stackoverflow post I have all ActiveX settings enabled and ActiveX Filtering off.

    Hi William,
    Moved your post to the .NET SDK forum.
    CR for VS 2008 was included in the installer of Visual Studio, you can remove it from Add/Remove Programs.
    Unfortunately the CR Basic that comes with VS 2008 only had one patch released and that's it. IE 11 was not released when it came out so we could not support it.
    Currently there are no versions of CR or our SDK packages that do support it.
    Crystal Reports Developer for Visual Studio SP 9 will support IE 11. You can get it from the Overview Tab and then on the left side. But it requires VS 2010 or above and SP 9 will support VS 2013 and IE 11.
    In VS you could select either ActiveX or PDF:
    I don't have IE 11 but to change the PDF go into the Add-ins menu:
    See this link for supported OS's and VS's:
    http://wiki.sdn.sap.com/wiki/x/b4JiAw
    Also, IE 11 is likely on Windows 2008 Server or possibly Window 8.x.
    Best thing to do is upgrade VS and then download the CR installer into VS so it supports current OS's and Browsers.
    Don

  • Handling page breaks in Crystal Reports XI when exporting to Excel

    We generate reports in Crystal Reports and programmatically export them to Excel for our end users, so the user receives both an .rpt and .xls version.  We are upgrading from Crystal 8.5 to Crystal XI and have found with some of our reports that the page breaks in Excel are different in Crystal XI than in 8.5.  The first page will fill to the end and then the next page will contain a few lines of data, the next will be full and the next will contains a few lines.  Viewing the Excel page breaks, there are soft breaks before the short pages and hard breaks before the long pages.  It's as if there is too much data defined for each page so it spills onto the next page before creating another hard page break.  In Crystal 8.5, the paging was continuous as expected.  Is there any way to fix this in Crystal XI?

    Please note, this forum is dedicated to topics related to legacy SDKs, including the Report Designer Component (RDC), OCX, VCL, and Crystal Reports Print Engine (CRPE).
    As the issue you are encountering is in the CR designer, please post your query to the Crystal Reports Design forum at:
    SAP Crystal Reports
    I'd also suggest adding more detail to your query; version of Crystal Reports used, is this an upgrade issue, new report issue, etc., etc.
    Thank you for your understanding,
    Ludek

  • Crystal Report Xi to export PDF 1.4

    Post Author: yxh
    CA Forum: Exporting
    hello:
    We are using Crystal XI, which exports reprot to PDF 1.3. We'll need the PDF report vto be in version 1.4 (not version 1.5) in order to meet FDA submission requirement. Can this be doen with Crystal Report XI, such as install a patch?
    Thanks,

    Do you mean in Adobe Reader when you open the PDF?
    You can set the default zoom level tobe used when a file is opened in Adobe but it will need to be set on a per client basis. I think by default it is set to Auto Zoom based on document:
    In Adobe Reader click on Edit, Preferences, Page Display, Default Page Layout and Zoom, click the Zoom drop down and change it to the optimum zoom for your report.
    Export the report to application PDF, the report should open in a PDF using the zoom level you specified.
    Not quite sure if this is what you are after?

  • Open a Crystal Report, run and export

    I am looking for help with respect to running a .rpt report developed in crystal report 2008 from a jsp or java. I need to set the parameters and export the report to PDF. I am looked at many different examples and still I am getting various kinds of error. Please can any one help me out on this.
    Thanks a lot.

    I am getting the below error message when I am trying to open a crystal report from the repository which is using a universe.
    java.lang.NoSuchMethodError: com.crystaldecisions.proxy.remoteagent.ICommunicationAdapter.setProductLocale(Ljava/util/Locale;)V
         com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)
         com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)
         com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)
         com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)
         org.apache.jsp.test3_jsp._jspService(test3_jsp.java:93)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:321)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:257)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    I am using the below code
         // Get the Report Application Factory service from Crystal Enterprise
         IReportAppFactory rptAppFactory = (IReportAppFactory)boEnterpriseSession.getService("", "RASReportService");
         // Get the InfoStore service from Crystal Enterprise
         IInfoStore boInfoStore = (IInfoStore)boEnterpriseSession.getService("", "InfoStore");
         // Retrieve the report by name from Crystal Enterprise
         IInfoObjects boInfoObjects = boInfoStore.query("Select SI_ID From CI_INFOOBJECTS Where SI_NAME = '" + reportName + "'");
         // Open the report into a Report Document object
         ReportClientDocument rcd = rptAppFactory.openDocument((IInfoObject)boInfoObjects.get(0), 0, Locale.ENGLISH);
    Can I please get some help in how to resolve this issue.
    Thank you very much.

  • Crystal Report: Error while Export to Excel

    We are using combination of Crystal Report 10 With
    J2EE, Below source code is working fine While
    exporting to PDF, MSWord, RTF format.
    if(selectedFormat.equals("MSWORD"))
    exportOptions.setExportFormatType(ReportExportFormat.MSWord);
    if(iPageFrom>0 && iPageTo>0)
    RTFWordExportFormatOptions RTFExpOpts=new
    RTFWordExportFormatOptions();
    RTFExpOpts.setStartPageNumber(iPageFrom);
    RTFExpOpts.setEndPageNumber(iPageTo);
    exportOptions.setFormatOptions(RTFExpOpts);
    But am getting following error while exporting report
    to Excel
    com.crystaldecisions.report.web.viewer.ReportExportControl
    Invalid post back event : {0}
    We would like to know, Is SDK feasible for exporting
    to excel or not ?
    If yes! then Please suggest us for same.
    Thanks In advance :)

    I will make sure that I am on the latest patch ie SP4
    https://smpdl.sap-ag.de/~sapidp/012002523100008782452011E/cr2008sp4.exe
    You can find the rumtimes here:
    MSI:
    https://smpdl.sap-ag.de/~sapidp/012002523100008782532011E/cr2008sp4_redist.zip
    MSM:
    https://smpdl.sap-ag.de/~sapidp/012002523100008782522011E/cr2008sp4_mm.zip
    ClickOnce
    https://smpdl.sap-ag.de/~sapidp/012002523100008782442011E/cr2008sp4_clickonce.zip
    Recompile the app and then deploy.
    What is the .NET Framework used by the application?
    Method of deployment?
    OS where app is deployed, x86 or x64?
    Are you able to export the report from designer ie CR2008 Standalone?
    - Saurabh

  • Code39Wide-Regular Fonts in the crystal report cannot be embedded with PDF

    Hello ,
    Good Day!
    We are using Code39Wide-Regular Fonts in the crystal report for bar codes. While converting this report to the PDF format from Crystal viewer, we are getting the following error. It seems like this particular font cannot be embedded with PDF format.
    Error - Failed to Export the report
    Code39Wide-Regular- Font is not allowed to be embeded in document,
    File - F:\Apps\9.40\Crystal\sfc\jobprtx.rpt
    How can we solve this issue permanantly (Not a workaround )?
    Thanks & Regards,
    Philip P Oommen | Consona | 0091-80-40173801 |

    Hi Philip, Due to licensing issues CR cannot embed licensed fonts in a PDF file. Your only work around is to export the report to editable Word format and then open the file in Word 2007 and get the export to PDF plug-in available from Microsoft.
    This will not be fixed in this or upcoming version of CR.
    Thank you
    Don

  • Crystal Reports 8.5 and blank pdf file

    Post Author: JimLW
    CA Forum: Older Products
    We have an old asp application and we are moving it to Windows 2003 server. The reports are coming up fine in the viewer. However, when we export to pdf, xls, Word, we the file names are being created in the appropriate folder but they are 0 length. Programmatically, I'm trapping for errors and the application is throwing an error right after the report object runs the export method. The error number is 507. Any thoughts.

    There is a document for Crystal Reports in Citrix environment written for exporting error, but I think it could be applicable for your situation.
    I quote it here:
    "... errors occur because Citrix Server and Terminal Server use the User Path Variable rather than the System Path Variable for clients.
    Solution:
    This solution has been written for Crystal Reports 8.5. The directory path to the Crystal folder may be different in other versions. For example, in Crystal Reports 9, copy files from c:\program files\Common Files\Crystal Decisions\2.0\bin to winnt\crystal.
    By default, the Crystal Reports export drivers (DLLs) are installed to the %systemroot%\Crystal directory (generally C:\Winnt\Crystal), which is not included in the User Path Variable. Each user will have a specific User Path Variable making it difficult to update each one.
    Steps to Resolve:
    Therefore, to resolve these issues, copy files from the Crystal directory to the Citrix Serveru2019s or Terminal Serveru2019s System directory.
    1. Copy the files from the following directory:
    %systemroot%\Crystal
    CAUTION
    Do not delete the %systemroot\Crystal directory. Other Business Objects products may require this directory.
    2. Paste the files to the System directory. For example, in Terminal Server, the System directory is generally:
    Winnt\System32
    NOTE
    Verify the correct directory location in your environment.
    With the DLLs in the System directory, the User Path Variable will be able to locate them. The error messages should be resolved and exporting should be successful."

  • Internet Explorer7 Blocking Crystal Reports 2008 CrystalReportViewer Export

    Visual Studio 2008 (VS 2008)
    Crystal Reports 2008 (CR 2008)
    Production Server: Windows Server 2003
    Internet Browser: Internet Explorer 7 (IE7)
    Crystal Reports Version: 12.0.2000.0  on both development and production
    IE7 message: To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options.
    I am in the process of updating my websites from Visual Studio 2005 and Crystal Reports.NET 2005 to Visual Studio 2008 and Crystal Reports 2008.
    In VS 2005, when creating a PDF or exporting from the CrystalReportsViewer, IE7 does not block the creation/download of the PDF, nor the download of an export.
    Whereas, with VS 2008 and CR 2008 using the CrystalReportViewer  in IE7 blocks the creation/download of the PDF, and the download of an export.
    The message returned in the yellow box at the top of IE7 display window:   To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options.
    If I select down Download Fileu2026  from the options, I must restart the PDF or export. 
    If I show another report, I have the same problem, even if I have stated to download the fileu2026.
    1. What is different between the CrystalReportViewer versions?
    2. What is recommended to avert this problem without having users change their IE7 settings?
    I found this settings change at: http://support.dell.com/support/topics/global.aspx/support/dsn/en/document?journalid=63F807B28AEC39CEE040AE0AB6E15FC5&docid=182320
    Turn off the Information Bar for file downloads
    This procedure will allow Web sites to automatically prompt you when downloading files, bypassing the Information Bar.
    1. Open Internet Explorer.
    2. Click Tools on the menu bar.
    3. Click Internet Options...
    4. At the Internet Options window, click the Security tab.
    5. Click the Custom Level... button.
    6. Security Settings window Security Settings window, scroll down to Downloads in the Settings: list.
    7. Click to select Enable under Automatic prompting for file downloads.
    8. Click the OK button.
    9. At the Warning! message, click the Yes button to change the security settings for the zone.
    10. Click the OK button.
    You will now receive prompts directly from a Web site if it needs to download a file to your computer.

    Hi Don:
    Yes, this is an https:// site.
    This is using X500 accounts for security. Once logged in, the site is running on an anonymous local user account.
    On Internet Options | Security | Internet | Setting the security level as medium  on (the lowest I was able to go) in  IE7 does not allow the user to download without the message coming up. It even states on the side (- Prompts before downloading potentially unsafe content)
    Workaround has been:
    1. Set the site as a trusted site (Internet Options | Security | Trusted Sites | Sites | Add )
    2. On the Trusted Sites Zone | Security level of this zone | Custom levelu2026
    3. Downloads | Automatic prompting for file downloads u2013 change to Enable
    Thanks for your input.  I would like to resolve this issue. CrystalReportsViewer - Crystal Reports Exports/Printing methodology has been changed since Visual Studio 2005 .NET version. 
    Thank you for your input.
    Patti

Maybe you are looking for

  • Web Service Security Question

    I have created a web service in the NetWeaver portal using a Portal Service.  I have marked the service as requiring basic http authentication.  However, when I call the web service from the Enterprise Portal Web Services Checker in NWDS it just let'

  • Win 7 64 bit and SB Titanium X-FI Drivers

    Ok - sound dissapeared yesterday, replaced by some silly High Definition Audio Device driver that doesn't work that well at all. Sound driver pack 2.7 and the latest Beta can't find the card. Tried compatibility mode and tried running as Administrato

  • New 32gb ipod with only 26.4 gb available?

    So I got a new ipod and it says the capacity is 28 gb but I bought a 32gb and it says the total available storage is 26.4gb. First of all, it's 32gb and I understand if it becomes leveled down because of software (btw i did not software update) so th

  • Any ideas how to transfer photos from my imac to my new macbook pro?

    Any ideas how to transfer photos from my imac to my new macbook pro?

  • Standard library mixing and matching...

    We've got some shared libraries which were built with Sun C++ 5.0 on Solaris 2.6 that we're trying to link with an app built with Sun C++ 5.0 on Solaris 2.8. What we're experiencing is a slew of odd compiler warnings and runtime errors that seem to b