Visual Studio 2010 with Crystal Reports error ‘ The type initializer for ‘CrystalDecisions.Shared.SharedUtils’ threw an exception’
19-Oct-1212 Leave a comment
On a x64 PC
‘ The type initializer for ‘CrystalDecisions.Shared.SharedUtils’ threw an exception’
Project properties > Compile > Advanced Compile Options > Target CPU change to X86
Or on install of SAP Crystal Reports Version for Visual Studio 2010 tick box for running x64
With thanks to
http://www.logicaltrinkets.com/wordpress/?p=213
and for runtime
http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp