Skip to Content

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

Oct 13, 2017 at 02:09 PM


avatar image
Former Member


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();


--------------------------- 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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Don Williams
Oct 13, 2017 at 10:25 PM

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.

10 |10000 characters needed characters left characters exceeded