I realized that crystal report component not installed in visual studio 2010 to solve this problem I installed SAP Crystal Reports, version for visual studio 2010 – click Once (64 Bit). After installation completion I reopened visual studio 2010 and tried to create crystal report still I am getting same page CrystalReport.mht file even after. Right click on the downloaded Crystal Reports for Visual Studio 2013 file and click Open. Note: Make sure all Visual Studio versions installed on your system are not running during installation. The WinRAR self-extracting archive file will first extract its contents and then the installation will start.

  1. Visual Studio Crystal Report Plugin
  2. How To Add Crystal Report Viewer In Visual Studio 2013 Free

ByParth Patelon Feb 07, 2017

Learn how to install crystal report runtime and tackle visual studio error which requires crystal report runtime.

Visual Studio Crystal Report Plugin

The SAP Crystal Report is the business intelligence reporting toolcurrently marketed to small business.You can design reports both in ASP.net environment as well as Windows Forms and WPF environment. In past, SAP changed its name many times and currently it is known as SAP Crystal Reports, developer version for Microsoft Visual Studio. The reporting tool is free for developers to use it for development purpose only.

How to install Crystal Report Runtime

What is Crystal Report Runtime

To run Crystal Reports in .net environment using Visual Studio, you will need to install Crystal Report Runtime engine on Client Machine. This engine consists of libraries and functions which are needed to show the reports.

How to download

Download Crystal Report runtime (Direct Link)

Below are the given direct download links which will install the crystal report runtime engine easily

Crystal Report runtime Support Pack 19 - Latest Version

  1. Windows Server 2016
  2. IIS 10 on Windows Server 2016
  3. Addressed over 10 customer Incidents.

Crystal Reports Older Version download

Support Pack 18
  1. Supports Visual Studio 2015 Update3
  2. Also support SQL Server 2014
  3. Support for SAP Sybase SQL Anywhere 17
  4. Addressed several customer Incidents.
Support Pack 17
  1. Support for Firefox ESR 45.
  2. Support for Office 2016.
  3. Addressed 10 customer Incidents.
  4. SAP HANA SP12.
Support Pack 16
  1. Support for Edge browser on Win 10.
  2. Support for Safari 9 on Mac OS 10.11.
  3. Addressed several Incidents.
  4. Support for HANA SP11.
Support Pack 15

Download Crystal Reports Developer Edition for Visual Studio

Crystal Reports For Visual Studio 2019 can be downloaded from the following link. This version will work on a version of Visual studio 2010 and above.

Older Version Crystal Reports For Visual Studio download links

Crystal Reports Version

Supported IDE

Developer Edition Download

Runtime Download

Service Pack 25

Visual Studio 2019, 2017,2015,2013,2012,2010

How to Install Crystal Report runtime

  • First of all, login in to your PC as Administrator and follow the below instructions.

  • Choose the same version of crystal report runtime as of Crystal report for visual Studio and if your operating system is 32 bit or 64 bit, choose the version accordingly.

  • Download the zip file of Crystal Reports Runtime from the above given links and unzip and double click on .msi file

  • Go to next

  • Accept the licence agreement and go to next

  • In case, your system have older version of Crystal report runtime, the installer will ask you whether to upgrade the version. Click next to confirm or cancel to cancel.

  • Follow the rest of the instructions which are basically bunch of next buttons and click finish at the end. This will successfully install crystal reports runtime in your system.

In conclusion,You can now run your crystal report application without any issues.

Maybe sometimes you need to include the crystal reports runtime in your application project. In that case, go to Official site to download Crystal reports wiki page and download MSM File. You can then learn to include MSM file from the following link Using Crystal Reports Merge Modules MSM to create a Setup project

Purpose

This document describes how to create a WPF project using the SAP Crystal Reports WPF viewer.

Overview

By the end of this document, the reader should have a simple working WPF application using the SAP Crystal Reports WPF Viewer. The application uses three lines of code to load a saved data report and display the report in the WPF viewer.

The Project Steps

1. Create a new WPF application in Visual Studio .NET

2. Set the project to use the full .NET 4.x Framework.

3. Add the SAP Crystal Reports WPF viewer to the Visual Studio Toolbox.

Studio

The viewer should show up in the Visual Studio Toolbox as this icon:

4. Check that the following references are added to the project:

Add

CrystalDecisions.CrystalReports.Engine.dll

CrystalDecisions.Shared.dll

CrystalDecisions.ReportSource.dll

How To Add Crystal Report Viewer In Visual Studio 2013 Free

SAPBusinessObjects.WPF.Viewer.dll ( WPFCRViewer.dll )

SAPBusinessObjects.WPF.ViewerShared ( WPFCRViewerShared.dl )

If some of the above references are missing, add these as a new reference

5. Add the following decelerations to the project:

Imports CrystalDecisions.CrystalReports.Engine

Imports CrystalDecisions.Shared

Imports CrystalDecisions.ReportSource

6. Drag the Crystal Reports WPF Viewer from the Toolbox to the form.

Note(!): in VS 2013 you must name the viewer component:


7. Add code that loads a saved data report and displays it in the WPF Viewer to the MainWindow.xaml.VB form:

Dim crReportDocument AsNew CrystalDecisions.CrystalReports.Engine.ReportDocument

crReportDocument.Load('C:testsformulas.rpt')

CrystalReportsViewer1.ViewerCore.ReportSource = crReportDocument

The full project code should look like this:

ClassMainWindow

PublicSubNew()

' This call is required by the designer.

Report

InitializeComponent()

' Add any initialization after the InitializeComponent() call.

Dim crReportDocument AsNew CrystalDecisions.CrystalReports.Engine.ReportDocument crReportDocument.Load('C:testsformulas.rpt')

CrystalReportsViewer1.ViewerCore.ReportSource = crReportDocument

EndSub

EndClass

8. To add database logon information, parameters, etc., follow normal programming procedures for Crystal Reports.

Troubleshooting

1. The MainWindow.xaml file should look like this:

Visual

<Window

xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'

xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'

xmlns:Viewer='clr-namespace:SAPBusinessObjects.WPF.Viewer;assembly=SAPBusinessObjects.WPF.Viewer' x:Class='MainWindow'

Height='350' Width='525'>

<Grid>

<Viewer:CrystalReportsViewer x:Name='CrystalReportsViewer1' HorizontalAlignment='Left' Margin='-14,0,0,0' VerticalAlignment='Top' Height='209' Width='531'/>

</Grid>

</Window>

2. Make sure you are using Crystal Reports assemblies of version 13.0.2000.0.

3. Make sure to update your install to Service Pack 9. This is an absolute requirement for Visual Studio 2013.

Follow us on Twitter

Related Content

Related Documents

Related Notes (KBAs)

KBA: 1639004 - Load Assembly error when using ADO .NET datasets and Crystal Reports WPF viewer

KBA: 1528504 - Introduction to the new Crystal Reports for Visual Studio 2010 WPF Viewer

KBA: 1957717 - How to 'clear' the Crystal Reports WPF and viewer

KBA: 1638199 - How to hide the Side Panel of the Crystal Reports WPF viewer?

KBA: 1728139 - Visual Studio .NET WPF viewer displays completely black

KBA: 1836384 - How to automatically adjust the page size of the report of the WPF viewer (fit page)