有关水晶报告的错误?

时间:2010-12-02 12:30:47

标签: crystal-reports

有时我在尝试通过crystal report和c#生成报告时出错。但是这个错误并不是每次都发生,而是在某个时候发生。请告诉我为什么会出现这个错误以及如何解决它。

错误是

Error Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Error System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   at EOD_Schedular.frmMain.GenerateReport(Boolean ViewOnly)
   at EOD_Schedular.frmMain.Generate(Boolean ViewOnly)


Method Name: GenerateReport
Line: 0
Column: 0
Sql: Not Found

感谢

1 个答案:

答案 0 :(得分:1)

做一个google search for the error。有很多参考资料。大多数似乎是DLL版本问题。