这两天一直在为这个bug而烦恼,今天终于解决了,真的有种难以言喻的快感。不过我也想写下解决的方案,希望能够帮助那些苦闷的人吧。同时也是帮助我自己。当然,在此我也要感谢网络上的各位朋友,谢谢你们的帮助,发帖。
和很多人遇到的问题一样,在水晶报表导出的时候,自带了office的word,excel还有pdf等等,其他的导出都是ok的,只有excel会有问题。
我像一只无头苍蝇,不知道从哪里下手,所以不停的百度,谷歌,在此我终于觉得谷歌的信息要比百度的多很多。只是善意的提示下下,很多问题也许在百度找不到可以去谷歌。
https://forums.sme.sap.com/thread.jspa?threadID=1065075&start=0&tstart=0这个是我SAP网站帮助。很有用哦。
这段话很有用,是上面的原话,怕大家不看。
"Invalid export DLL or export format" with Crystal Reports 2008 Posted: Sep 27, 2008 12:36 AM |
| |||||
I've included this sticky because we are seeing many posts in this forum regarding the error Invalid export DLL or export format when exporting to Excel and RTF in .NET applications using the Crystal Reports 2008 .NET SDK. Issue - Exporting a Crystal Report to Excel or RTF format - .NET application using the Crystal Reports 2008 runtime (version 12.0) - error Invalid export DLL or export format We've been doing some testing in-house and haven't reproduced this behavior. In order to figure this issue out we will need your help. If you are getting this error please reply to this post with the following information: - Server Operating System - Version of the .NET Framework - How did you deploy? - If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size? - What is the file version of crpe32.dll on your server? You'll find this in the C:/Program Files/Business Objects/BusinessObjects Enterprise 12.0/win32_x86 directory - How many libpng10.dll files are on your system? List all instances. - Any additional comments
Thanks in advance for your co-operation. We hope to figure out what is causing this issue soon.
1) Use Microsoft ODBC Driver for Oracle 第二,发生这种错误的原因可能是和使用oracle数据库有关,所以,要把libpng10.dll 复制到oracle的目录下面, 还要复制到C:/WINDOWS/system,C:/WINDOWS/system32,C:/Documents and Settings/Administrator/My Documents/Visual Studio 2005/Projects,C:/Documents and Settings/Administrator/My Documents/Visual Studio 2008/Projects/VSMacros80下面就可以了。看下你能不能实现吧,我能实现了,如果还有其他的方案给我留言。谢谢。 |