- ReportDocument object throws an error while compiling
- Error: “The type initializer for ‘CrystalDecisions.Reprots.Engine.ReportDocument’ threw an exception.”
- Crystal Reports XI R2 SP6
- Visual Studio 2005
- Web Application
The assembly version of CrystalDecisions.Shared in web.config was different than mentioned in GAC (C:\Windows\assembly).
Ensure that the latest references are added in project & assembly version of every dll added to project is same as mentioned in GAC.
CR XI R2, .NET SDK , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem