"Invalid export DLL or export format" with Crystal Reports 2008
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.
- 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
What We Know
- The error invalid export DLL or export format may occur when exporting to Excel and RTF formats in .NET applications utilizing the Crystal Reports 2008 runtime (v 12.0)
- Other export formats like Adobe PDF, Crystal Reports, CSV all export with no error
- Some customers have resolved this by adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to their environment path variables. Note the system must be restarted after editing the path variable.
- This may have something to do with the file libpng10.dll. Both crxf_xls.dll and crxf_rtf.dll are dependent on it.
- libpng10.dll has changed versions from SP0 to SP1. In SP0 it was 220.127.116.11 and in SP1 it is 18.104.22.168
The dependencies have also been updated for libpng10.dll in service pack 1. This may have something to do with the export issue. If you've deployed your application with the latest merge modules or setup package for service pack 1 you'll want to make sure you have version 22.214.171.124 of libpng10.dll.
Thanks in advance for your co-operation. We hope to figure out what is causing this issue soon.
Edited by: David Hilton on Jan 14, 2009 10:07 AM