I’m currently working in the .NET Entity Framework (MySQL 5.0 server) Windows Forms Application. While trying to print the report in client’s system, I’m getting the following error message.
Method Errored:GetEffectiveCulture
Error Message:The type initializer for ‘CrystalDecisions.Shared.SharedUtils’ threw an exception.
Additional Details: at CrystalDecisions.Shared.SharedUtils.GetEffectiveCulture()
at CrystalDecisions.Shared.LocaleManager..ctor()
at CrystalDecisions.Windows.Forms.CrystalReportViewer.InitReportViewer()
at CrystalDecisions.Windows.Forms.CrystalReportViewer..ctor()
Please help me to solve this error.
Check whether the connection string path to the database is correct or not. If any
datasetis formed then configure it and check its connections.