Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    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.

    Add comment
    10|10000 characters needed characters exceeded