Visual Studio 2010 with Crystal Reports error ‘ The type initializer for ‘CrystalDecisions.Shared.SharedUtils’ threw an exception’

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

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: