cancel
Showing results for 
Search instead for 
Did you mean: 

error when changing the data source of report in .net error

Former Member
0 Kudos

Hello

I try to change the datasource of a report using CrystalDecisions.CrystalReports.Engine in VS 2017 and get and error when running the following line

ReportDocument crReportDocument = new ReportDocument();

error:

--------------------------- Microsoft Visual Studio ---------------------------

An exception has been encountered. This may be caused by an extension. You can get more information by examining the file 'C:\Users\christianh\AppData\Roaming\Microsoft\VisualStudio\15.0_2140496b\ActivityLog.xml'.

--------------------------- OK ---------------------------

I have installed the latest Crystal runtime via CRforVS_redist_install_64bit_13_0_21.zip

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Uninstall that and install the EXE to integrate into VS

Do not install the MSI's on your DEV PC.

VS is 32 bit by default so if you don't change it it won't use the 64 bit runtime.

Answers (0)