Skip to Content
0
Jun 26, 2018 at 12:53 PM

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

548 Views

I am developing a app in VS 2015 using the .NET Framework 4.0

I am also setting my build to x86(32-bit).

I can not change to the x64 runtime as im using 32 bit COM Interop's.

I continue to get this exception

Message = "Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. An attempt was made to load a program with an incorrect format."