1540637 - Error: External component has thrown an exception. Launching the Database Expert in the embedded Crystal Reports designer in Visual Studio

SAP Knowledge Base Article - Public

1540637 - Error: External component has thrown an exception. Launching the Database Expert in the embedded Crystal Reports designer in Visual Studio

Symptom

  • Editing a report in the embedded Crystal Reports designer within Visual Studio.
  • Launch the Database Expert by going to the Crystal Reports menu, then Database Expert.
  • Error message is displayed: External component has thrown an exception.

externalcomponent error.png

Environment

  • Visual Studio 2010
  • Crystal Reports for Visual Studio 2010, RTM

Cause

  • The embedded report designer in Visual Studio queries for *.sds and *.xml files in the C:\Temp directory when the Database Expert is launched.
  • There is a problem with how the embedded designer is handling the xml files it reads.
  • The issue has been identified and logged under Problem Report ID ADAPT01506594.

Resolution

 

  • Alternatively, rename the C:\Temp to something else - such as C:\Temp1 so the embedded designer can't find the directory

Keywords

KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio