SAP Knowledge Base Article - Public

1870767 - Error: Failed to load database information when trying to set report datasource to a dataset using .Net SDK

Symptom

 Error: Failed to load database information when trying to set report datasource to a dataset using .Net SDK

Environment

  • Visual Studio 2012
  • Crystal Reports for Visual Studio: 13.0.5
  • .NET 4.5 framework
  • Windows application

Resolution

Add the following segment to app.config file.

<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
</startup>

Keywords

VS2012;Dataset;4.5framework;Failed to load database information , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio