Error exporting file. Error: Missing or out of date export DLL. Error
12 January 2004
Issue Description
While using the delivery system to print a pdf or rtf file, the following error is displayed in a Citrix or Terminal Server environment:
Error exporting file.
Error: Missing or out of date export DLL.
Error Number: -2147190548
Solution
The first thing to test is the report itself. Does the report print if you log onto the server as an Administrator and try to export as a PDF?
- If the report doesn't print, then either the Crystal DLL files are missing, unregistered, or they are for the wrong version of Crystal.
- Check that the export dlls (crtslv.dll, ExportModeller.dll, and u2fpdf.dll) exist on the machine and that they are for the correct version of Crystal.
- If the dlls exist, use the Regsvr32.exe program at the command line to re-register the dlls crtslv.dll and exportModeller.dll.
- To unregister a dll: Regsvr32.exe /u C:\WINDOWS\system32\exportmodeller.dll
- To register a dll: Regsvr32.exe C:\WINDOWS\system32\exportmodeller.dll
- Update the dll files.
Patches for some of the Crystal DLLs need to be applied.
These files are available from the Crystal Decisions technical support web site at:
http://support.businessobjects.com/updates/default.asp
The patches that should be applied are:
For Crystal Reports 8.5 Only - cr85mainwin_en.zip, cr85devwin_en.zip
For Crystal Reports 8.0 and 8.5 - dbexdrvrwin_en.zip
For Crystal Reports 9.0 Only - cr90mainwin_en.zip, dbexdrvr9pluswin_en.zip
**IMPORTANT NOTE** When downloading, please read all disclaimers carefully. If you have any questions regarding the installation of these patches, please contact Crystal Decisions Technical Support.
- If the report does print, then the problem is most likely DLL permissions for the remote user. The fix is to add the Crystal folder files to the System32 folder so that all users have access.
The Crystal Decisions Knowledgebase Article below describes how this can be done:
http://support.businessobjects.com/library/kbase/articles/c2001377.asp
We provide the following steps for your convenience. If you have any questions please refer to the Crystal Decisions Knowledgebase article above.
The work around is to copy the dlls from the Crystal bin folder to the winnt\system32 (on citrix) or windows\system32 (on newer Windows 2000 TS systems):
If you are using Crystal 8.5, the suggestion is to:
- Copy all Crystal dlls from the C:\WINDOWS\Crystal folder on the server to the C:\WINDOWS\system32 folder on the server.
If you are using Crystal 9, the suggestion is to:
- Copy all Crystal dlls from C:\program files\Common Files\Crystal Decisions\2.0\Bin on the server To C:\WINDOWS\system32 on the server.
We recommend copying the files to Window\system32 without overwritting any existing files, but rather adding the Crystal components that do not already exist.
**IMPORTANT NOTE** Please be advised that while there are customers using Crystal Reports and Forms Printer with Citrix, Crystal Decisions has stated that Citrix is not a supported platform for Crystal Reports.
Accountable Software does not provide Technical Support for the operation of the Crystal components under Terminal Server or for the multi-user setup of Terminal Server. This article merely offers suggestions related to Forms Printer use in this environment, and presents solutions that have worked for others.
For more information, please see the following Crystal Decisions article:
http://support.businessobjects.com/communityCS/TechnicalPapers/cr_citrix_terminal_servers.pdf.asp