cancel
Showing results for 
Search instead for 
Did you mean: 

Why does VS 2010 throw type initializer for 'CrystalDecisions.Shared.SharedUtils' for 64-bit

Former Member
0 Kudos

I am talking about a Win-forms application in VS 2010 SP1. The application has been set to 64-bit compile mode and the 64-bit CR redist. was installed. While opening the report after running the application, the VS throws the type initializer exception.

The error will go off when I install 32-bit runtime and everything works fine.

Why does this happen ? Why cannot the 64-bit mode application talk to the 64-bit CR version ?

CR Version - 13.0.5.891.

And the type initializer exception when thrown, tells you that log4Net issue. The application does not even know who log4Net is.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Roshan,

There is no CrystalDecisions.Shared.SharedUtils, it would be part of the Shared assembly.

What API are you using that uses that requires it?

You can try SP 12 to see if that helps.

Don

Answers (0)