I got two weird errors when I tried to run a test report built by the wizard in visual studio 2010 using C# on a window 7 x64 machine.
The type initializer for 'CrystalDecisions.ReportSource.ReportSourceFactory' threw an exception.
The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception.
In my case these issues were solved when I went to
Solution Explorer -> right click project -> properties -> Build -> General -> Platform target -> x86
note it’s x86 even though i’m on a x64 box