将 Crystal Report 导出为 PDF 会引发错误:导出 DLL 检测到错误:(541)

发布于 2024-10-17 18:56:46 字数 204 浏览 1 评论 0原文

我们有几个从 VB6 和 VB.Net 运行的 Crystal Reports(版本 8.5)。其中大多数都可以很好地导出到 PDF,但是有两个报告(在许多报告中)在导出到 PDF 时抛出此错误:

导出 DLL 检测到错误:(541)

该错误似乎是 Crystal 中未处理的错误,我们'我们尝试过改变我们能想到的每一个参数,但没有成功。有什么想法吗? TIA。

We have several Crystal Reports (version 8.5) that we run from VB6 and VB.Net. Most of these work just fine to export to PDF, but two reports (out of many) throw this error when exporting to PDF:

Error detected by export DLL: (541)

The error seems to be an unhandled error in Crystal, and we've tried changing every parameter we can think of with no luck. Any ideas? TIA.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

似最初 2024-10-24 18:56:47

我不熟悉您的具体问题,但由于这种情况只发生在众多报告中的 2 份中,因此您可能还没有问过自己以下一些建议:

  1. 这种情况是每次都会发生还是偶尔发生? (如果是零星的,请考虑网络/服务器问题)

  2. 这 2 个报告是全新的还是它们已经工作了很长一段时间但刚刚崩溃了?如果是后者,请查看您安装的所有新程序。

  3. 这 2 份报告有何不同? PDF 是否保存在与其他 PDF 不同的位置?

  4. 他们是否从与其他报告不同的来源获取数据?

  5. 最彻底的解决方案当然是从头开始重写rpt文件。

编辑

一些谷歌搜索发现这个 页面。此论坛主题的链接已失效多年,但有一种可能性:

  1. 从以下目录复制文件:
    %systemroot%\水晶

  2. 将文件粘贴到系统目录。
    例如,在终端服务器中,
    系统目录一般为:
    Winnt\System32

I'm not familiar with your exact problem, but since this only happens to 2 reports out of many, here's a few suggestions you may not have asked yourself yet:

  1. Does this happen every time or sporadically? (If it's sporadic, consider network/server issues)

  2. Are these 2 reports brand new or have they worked quite well for a long time and have just now crashed? If it's the latter, look at any new programs you've installed.

  3. What's different about these 2 reports? Are the PDFs saved in a different location than the others?

  4. Do they pull data from different sources than the other reports?

  5. The most drastic solution would of course be to rewrite the rpt file from scratch.

Edit

Some googling found this page. The links on this forum topic have been dead for years, but here's a possibility:

  1. Copy the files from the following directory:
    %systemroot%\Crystal

  2. Paste the files to the System directory.
    For example, in Terminal Server, the
    System directory is generally:
    Winnt\System32

花辞树 2024-10-24 18:56:47

对于这个问题我仍然没有确切的答案。然而,事实证明,如果您只是捕获异常并忽略它,一切都会继续,并且 PDF 导出会创建得很好。希望这可以帮助其他人......

I still don't have an exact answer to this problem. However, it turns out that if you just catch the exception and ignore it, everything continues on and the PDF export is created just fine. Hope this can help someone else down the road...

淡紫姑娘! 2024-10-24 18:56:47

该错误位于 ExportModeller.dll v 9.1.1.527 中。您必须安装 pach。

就像这里报道的那样(意大利语)http://blogs.sysadmin。它/ermanog/archive/2009/04/28/3258.aspx
您必须下载名为 crnet11win_en.zip 的水晶报表补丁(可以在 google 上搜索),解压该文件中的压缩文件,然后替换您计算机站点中的文件
c:\%ProgramFiles%\file comuni\水晶决策\bin\1.0
并替换名为 ExportModeller.dll 的文件,以便 dll 的版本必须为 9.1.1.528 而不是 9.1.1.527。

如果你看这里可以找到文件 crnet11win_en.zip 已经解压
https://skydrive.live.com/?cid=174281e704ea1a69&id=174281E704EA1A69 %21176

The error is in the ExportModeller.dll v 9.1.1.527. You must install the pach.

Like reported here (in italian) http://blogs.sysadmin.it/ermannog/archive/2009/04/28/3258.aspx
you have to download the patch for crystal report named crnet11win_en.zip(can find searching on google), estract the file zipped in that file , and replace the file in your machine site on
c:\%ProgramFiles%\file comuni\crystal decision\bin\1.0
and replace the file named ExportModeller.dll so that the version of the dll must be 9.1.1.528 and not 9.1.1.527.

If you look here can find the file crnet11win_en.zip already estracted
https://skydrive.live.com/?cid=174281e704ea1a69&id=174281E704EA1A69%21176

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文