Skip to Content
author's profile photo Former Member
Former Member

Windows 10: Error/Exception Crystal.Decisions.

Hi. I have a component in to export to pdf . When the application runs on Windows 10 , when exporting to PDF , reports an exception in the type initializer " CrystalDecisions.CrystalReports.Engine.ReportDocument " . In other versions of Windows , it works ok . Anyone know how to solve the problem?

This is the method of the class that performs export to pdf:


Public Sub New()


End Sub

Public Sub ExportarRptToPDF(ByVal pRutaRPT As String, ByVal pRutaPDF As String)

Dim rep As New CrystalDecisions.CrystalReports.Engine.ReportDocument

rep.Load(pRutaRPT, CrystalDecisions.Shared.OpenReportMethod.OpenReportByTempCopy)


rep.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, pRutaPDF)

Catch ex As Exception

Dim s As String = ""

End Try

End Sub

Thank you very much!

Joaquín .

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Aug 10, 2016 at 09:22 PM

    What SDK are you u sing and version?

    Dis you install the 3.5 framework?

    32 or 64 bit application?

    Lots of notes on the download page:


    Support Packs for "SAP Crystal Reports, developer version for Microsoft Visual Studio" (SAP Crystal Reports for Visual Studio) are scheduled on a quarterly bases and support the following versions of Visual Studio:

    • VS 2010 - original release and higher
    • VS 2012 - SP 7 and higher
    • VS 2013 - SP 9 and higher
    • VS 2015 RC - SP14
    • VS 2015 - SP 15 and higher

    NOTE: CR Redist packages for deploying the runtime only onto Work Stations and Application Servers are designed for the platform of your project and not for the Operating system. MSIExec will detect if the OS is 64 bit and install the 64 bit MSI, if your project is to be used in x86 mode there will be an error generated.

    Support Packs, Fixed Issues and Distribution File downloads

    Fixes for each Support Pack are prioritized and released on or about end of each yearly quarter. All support packs are full builds of Crystal Reports for Visual Studio, thus it is not necessary to update incrementally. The most recent Support Pack in the below table is listed first.

    To keep current and up to date with new releases as well as KBAs and more follow us on Twitter

    Update: All Service Packs are cumulative so we are removing the links to previous patches and will be keeping 3 or 4 still active. Links still work if you have them.

    Please note: To integrate "SAP Crystal Reports, developer version for Microsoft Visual Studio" you must run the Install Executable. Running the MSI will not fully integrate Crystal Reports into VS. MSI files by definition are for runtime distribution only.

    By default Windows 10 does not install the 3.5 framework, CR for VS still needs it. Select it by "Turn Windows feature on or off" and choose both options.

    Note 2: SAP Crystal Reports, Developer Version for Visual Studio .NET does NOT support Express Editions of any version of Visual Studio .NET.

    WARNING: If you are using any third party applications that use the SDK package Please check with the makers of the software and ask if they have tested with the version you are downloading. If they do not support it at this time do not install the package on your PC, it could break their application.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.