rainforestnet / CrystalReportsNinja

A small Windows Console App that loads external Crystal Reports file, takes parameter inputs and export to various format or even print to printer
http://www.rainforestnet.com
94 stars 78 forks source link

Error on CRforVS 13_0_21 - should allow newer versions of CRforVS #11

Open jagrock opened 6 years ago

jagrock commented 6 years ago

Get an error on the latest version of CRforVS 13_0_21 (both 32bit and 64bit)

Exception: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral , PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. Inner Exception: oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo]

mhertzfeld commented 6 years ago

Try my fork. It will work with 13_0_21. https://github.com/mhertzfeld/CrystalReportsNinja

Below is why you are getting the error and the workaround if you want to stick with the version of CrystalReportsNinja you are already running.

From https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

  1. As most of CR/RAS .NET Assemblies are now re-versioned from 13.0.2000.0 to 13.0.3500.0, user MUST remove all old CR assemblies from Reference list and add the new version of CR assemblies, then rebuild the application.

a. For those customer/user who do not wanted to rebuilt their application, there’s workaround to use in app.config/web.config, please see attachment.