Reputation: 855
I am working on an asp .net project and i have some crystal reports. When i debug the application localy it works fine. When i publish it to the iis server i get the following error when i am trying to open the report.
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception
. I am using .net framework 2.0. Windows 7 64bit. Did anyone faced again this problem or have any ideas?. I found a solution which said to install CRRedist2008_x64 and i did it but is not working
Upvotes: 1
Views: 1297
Reputation: 8337
make sure that you installed CRRedist2008_x64
Now follow the below thread which explains about the security related to application pool
http://www.manjuke.com/2009/07/type-initializer-for-threw-exception.html
Upvotes: 1