1

我对 ASP.Net 很陌生,并且使用 CrystalReportsViewer 开发了一个简单的 Web 应用程序。我有一个“主页”页面,其中选择了所需的报告,还有一个“ViewReports”页面来呈现报告。为了调试,我硬编码了 *.rpt 文件的路径。

使用 ASP.Net 开发服务器进行调试时,我可以很好地加载报告并且加载速度相当快。但是,当应用程序托管在 IIS 中(在同一台机器上)时,“V​​iewReports”页面永远不会加载 - 它大约到一半然后就挂起。完全没有错误。如果我删除 RPT 文件,页面会加载预期的“错误加载报告”消息。有任何想法吗?我将 .NET 4.0 与 VS 2010 和 Crystal Reports 用于 VS 2010。此外,如果有帮助,我可以包含代码,只要让我知道您希望看到的部分(我不想用不必要的问题淹没这个问题代码,如果它不会有帮助)。

更新(5/31 下午 2:59)

我确实在事件日志中看到了大量错误(好电话,Christopher)。消息如下:

The description for Event ID 4353 from source Crystal Reports cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

The keycode assembly, BusinessObjects.Licensing.KeycodeDecoder.dll, cannot be loaded.


the message resource is present but the message is not found in the string/message table

这个缺失的程序集是否应该包含在 CR 运行时中?

4

0 回答 0