SAP Knowledge Base Article - Public

1544669 - The CrystalReportViewer control is missing from the Visual Studio 2010 toolbox

Symptom

  • The CrystalReportViewer control is missing from the Visual Studio 2010 IDE Toolbox.

crystalreportviewer toolbox.png

Environment

  • Visual Studio 2010
  • .NET Windows Application Project
  • Crystal Reports for Visual Studio 2010, RTM

Reproducing the Issue

  1. Create a new .NET Windows form application in Visual Studio 2010.
  2. Open the Toolbox and scroll down to the Reporting section.
  3. The CrystalReportViewer is missing.

Cause

  • By default, the Target Framework for the project is set to .NET Framework 4 Client Profile.
  • This framework doesn't contain all the components that the CrystalReportViewer requires.

net 4 client profile.png

Resolution

VB.NET Project

  1. In the Project Properties select the Compile tab.
  2. Click the “Advanced Compile Options…” button.
  3. Find “Target Framework” and set it to .NET Framework 4.

C# Project

  1. In the Project Properties, select the Application tab.
  2. Set the Target Framework to .NET Framework 4.
  3. Click Yes when prompted to change the target framework.

Keywords

CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 viewer 4.0 framework windows winform toolbox , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio