SAP Knowledge Base Article - Public

1715394 - Error: 'Unhandled exception occurred in a component of your application.' using the WPF viewer

Symptom

  • Window based and browser based application (XBAP)
  • Using the Crystal Reports WPF viewer
  • The error is produced only occasionaly and with no pattern
  • Full error:

Unhandled exception occurred in a component of your application. If you click Continue, the application will ignore this error and attempt to continue. Parameter is not valid.

 xbap.jpg

Environment

  • Crystal Reports for Visual Studio 2010
  • Visual Studio 2010

Cause

  • The Crystal Reports WPF viewer is not supported in XBAP applications
  • See the Supported Platforms documentation

Resolution

Keywords

CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 Crystal Reports for .NET Framework 4.0 crforvs 13 , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio