Symptom
- The CrystalReportViewer control is missing from the Visual Studio 2010 IDE Toolbox.
Environment
- Visual Studio 2010
- .NET Windows Application Project
- Crystal Reports for Visual Studio 2010, RTM
Reproducing the Issue
- Create a new .NET Windows form application in Visual Studio 2010.
- Open the Toolbox and scroll down to the Reporting section.
- 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.
Resolution
VB.NET Project
- In the Project Properties select the Compile tab.
- Click the “Advanced Compile Options…” button.
- Find “Target Framework” and set it to .NET Framework 4.
C# Project
- In the Project Properties, select the Application tab.
- Set the Target Framework to .NET Framework 4.
- 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