3

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.

Vinoth
  • 753
  • 3
  • 12
  • 23
  • Welcome to stackoverflow! It's always better to provide a sample code for your question if possible to improve the post accuracy and get better results. Have a great day :) – Picrofo Software Oct 27 '12 at 03:49
  • i solved the error using following link " http://stackoverflow.com/questions/12374681/the-type-initializer-for-crystaldecisions-shared-sharedutils-threw-an-exceptio " – Vinoth Oct 27 '12 at 05:42

2 Answers2

1

i solved this problem using following link

http://www.logicaltrinkets.com/wordpress/?p=213

Vinoth
  • 753
  • 3
  • 12
  • 23
0

Check whether the connection string path to the database is correct or not. If any dataset is formed then configure it and check its connections.

rein
  • 32,967
  • 23
  • 82
  • 106
Freelancer
  • 9,008
  • 7
  • 42
  • 81
  • thanks for your answer, while trying to launch the application in clients system all other parts of referring database is working except trying to print the crystal reports. – Vinoth Oct 27 '12 at 04:00