简体   繁体   English

未实现操作导出Excel(仅数据)Crystal Reports 2008

[英]Operation Not Implemented Exporting Excel (Data Only) Crystal Reports 2008

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. 我正在尝试将应用程序部署到客户端的服务器,但是无法导出到Excel(仅数据),出现“未实现操作”错误。 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. 该报告不是问题,因为我有50多个使用标准字体的报告,其中一些非常简单,并且所有字体均导出失败。

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. 我感觉使用的是exportmodeller.dll和crtslv.dll的不正确版本,因为客户端似乎具有某种登录脚本,该脚本似乎复制了Crystal报告库的CR8.5版本并向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? 我可能错过了一些东西,还是您认为我完全走错了路?

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. 它恰好不会影响我的Windows 7开发人员计算机。

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. 在Windows Server 2003 R2(x64)计算机上,如果删除“打印日期”和“打印时间”特殊字段,它将成功导出到xls(仅数据)。

I did also notice that the process loads ATL.DLL on the Windows 7 box, but not the Windows Server box. 我也确实注意到该过程在Windows 7框而不是Windows Server框上加载ATL.DLL。 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. 更新:如果我在报告中使用特定的日期/时间格式,而不是“系统默认格式”,则它也可以使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM