[英]Crystal reports exception only on IIS
I am working on an asp .net project and i have some crystal reports. 我正在一个asp .net项目中,我有一些水晶报告。 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. 当我将其发布到iis服务器时,当我尝试打开报告时出现以下错误。 The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception
. The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception
。 I am using .net framework 2.0. 我正在使用.net Framework 2.0。 Windows 7 64bit. Windows 7 64位。 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 我找到了说要安装CRRedist2008_x64的解决方案,但确实做到了,但无法正常工作
make sure that you installed CRRedist2008_x64
确保您安装了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 http://www.manjuke.com/2009/07/type-initializer-for-threw-exception.html
https://forums.asp.net/p/1687367/4458527.aspx/1?Re+type+initializer+for+crystaldecisions+crystalreports+engine+reportdocument+threw+an+exception https://forums.asp.net/p/1687367/4458527.aspx/1?Re+type+initializer+for+crystaldecisions+crystalreports+engine+reportdocument+threw+an+exception
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.