Skip to Content
0
Nov 16 at 06:16 PM

Upgrading to Visual Studio 2022 Professional

125 Views Last edit Nov 17 at 09:58 PM 2 rev

I upgraded to Visual Studio Professional 2022 and installed the Crystal Reports for Visual Studio 2022. When I run my project and select a form that has a Crytal Report embedded in it, I am getting the following Inner Exception error messages:

Exception 1 - TypeInitializationException: The type initializer for 'CrystalDecisionsReportSource.ReportSourceFactory' thew an execption

Exception 2 - TypeInitializationException: The type initializer for 'CrystalDecisions.Shared.SharedUtils' thew an execption

Exception 3 - FileNotFoundException: Could not load file or assembly 'log4net, Version 1.2.10.0,Culture=neutral