System.TypeInitializationException: The type initializer for "CrystalDecisions.ReportSource.ReportSourceFactory" throws an exception. ---> system.typeinitializationexception: The type initializer for "CrystalDecisions.Shared.SharedUtils" throws an exception. ---> System.IO.FileNotFoundException: Failed to load file or assembly "Log4net, version=1.2.10.0, Culture=neutral, publickeytoken= 692fbea5521e1304 "or one of its dependencies. The system cannot find the file specified.
File name: "Log4net, version=1.2.10.0, culture=neutral, publickeytoken=692fbea5521e1304"
In CrystalDecisions.Shared.SharedUtils. Cctor ()
Resolution: I thought it was missing the Log4net.dll component. In fact, it is crforvs_13_0_19.exe corresponding project build target platform, project build target platform to change to x86 can.
Crystal Report Exception "CrystalDecisions.ReportSource.ReportSourceFactory" type initializer throws an exception, failed to load file or assembly "log4net