Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

CrystalDecisions.ReportSource.ReportSourceFactory threw an exception

$
0
0

I am using:

Windows 10 Pro 64 bits Version 1511 (OS Build 10586.71) on an i7-4790 CPU

Visual Studio Professional 2015 Version 14.0.24720.00 Update 1

Crystal Reports for Visual Studio 13.0.16 (downloaded and installed today Feb/01/2016).

I installed the Crystal Reports runtime engine for .NET Framework 4 (64-bit)

 

I followed the instructions in the Tutorial "Connecting to ADO.NET DataSets" (I changed the data source to SQL Server 2014 Express).

 

I built the application and there was no error reported.

 

When I tried to debug I got the error message:

 

An error occurred creating the form.

See Exception.InnerException for details.

The error is: The type initializer for 'CrystalDecisions.ReportSource.ReportSourceFactory' threw an exception."

 

The application was being compiled to Any CPU I changed it to X86 (copying the settings from the Any CPU configuration). The error message appeared again.

 

The application was targeting .NET Framework 4.5.2 I changed it to 4. The error message appeared again.

 

I deleted the application and followed the tutorial set by step again.

 

The error message is still there.

 

What am I doing wrong? How can I solve this problem?


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>