未执行导出 Excel(仅数据)Crystal Reports 2008 的操作
我正在尝试将应用程序部署到客户端的服务器,但导出到 Excel(仅数据)不起作用,从而出现“操作未实现”错误。这不是报告的问题,因为我有超过 50 个使用标准字体的报告,其中一些非常简单,并且所有报告都导出失败。
我感觉使用了错误版本的exportmodeller.dll 和crtslv.dll,因为客户端似乎有某种登录脚本,它似乎复制了CR8.5 版本的水晶报表库并将它们注册到COM。
我尝试自动为我的主可执行文件创建一个清单文件,以强制它使用正确的版本,但这并没有改变任何东西。
我可能错过了什么,还是你认为我完全走错了路?
I'm trying to deploy an application to a client's server, but export to Excel (Data Only) is not working, giving me the "Operation Not Implemented" error. It isn't a problem with the report, because I have over 50 reports with standard fonts, some of them very simple, and the export fails for all of them.
I have the feeling the incorrect version of exportmodeller.dll and crtslv.dll are being used, because the client seems to have some sort of logon script which appears to copy a CR8.5 version of the crystal reports libraries and register them with COM.
I attempted to automatically make a manifest file for my main executable to force it to use the correct version, but this didn't change anything.
Might I have missed something, or do you think I'm completely on the wrong track?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我将问题范围缩小到与报告的格式问题有关。它只是碰巧不会影响我的 Windows 7 开发机器。
在 Windows Server 2003 R2 (x64) 计算机上,如果我删除打印日期和打印时间特殊字段,它将成功导出到 xls(仅数据)。
我还注意到该进程在 Windows 7 机器上加载 ATL.DLL,但在 Windows Server 机器上不加载。我认为这可能有某种关联。
因此,解决我的问题的一个办法是删除这些字段。如果有人能提供一些建议,让我不必编辑所有报告,那就满分。
更新:如果我在报告中使用特定的日期/时间格式而不是“系统默认格式”,它也可以工作。
I narrowed the problem down to being related to a format issue with the report. It just happens to not affect my Windows 7 dev machine.
On the Windows Server 2003 R2 (x64) machine, if I remove the Print Date and Print Time special fields, it will export to xls (Data Only) successfully.
I did also notice that the process loads ATL.DLL on the Windows 7 box, but not the Windows Server box. I gather that could somehow be related.
So, a solution to my problem is to remove those fields. Full points if anyone can offer some advice which would prevent me from having to edit all of my reports.
Update: If I use a specific date/time format in my reports instead of "System Default Format" it also works.