Skip to Content
0
Jun 22, 2016 at 09:55 AM

Not able to instantiate CrystalDecisions.CrystalReports.Engine.ReportDocument in Windows 10

969 Views

Hello, all,

I have installed Crystal Reports CRforVS_13_0_17.exe to support Visual Studio 2015.

Application that uses CR tries to do the following

CrystalDecisions.CrystalReports.Engine.ReportDocument document = new CrystalDecisions.CrystalReports.Engine.ReportDocument();

...which produces

The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.


Inner Exception is:

{"An error has occurred while attempting to load the Crystal Reports runtime.\n\nEither the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.\n\nPlease install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information."}


We have had installations of CR run on Windows 8 and not produce any errors, also the same application succeeds on machine operating Windows 10 that is installed as upgrade of Windows 8.

This situation happens only on 'clean' installations of Windows 10.

Could you, please, help with solving this issue? Any help highly appreciated!