Skip to Content
0

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

Oct 13, 2017 at 02:09 PM

55

avatar image
Former Member

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

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
0

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.

Share
10 |10000 characters needed characters left characters exceeded