 |
 |

09-01-2003, 02:17 PM
|
 |
Contributor
* Expert *
|
|
Join Date: Sep 2002
Location: Highlands Ranch, CO
Posts: 556
|
|
Crystal Reports export to PDF error
|
On my machine (WinXP) I can get the export to PDF file working, but when I try to package the app, and then try on another machine (Win98), I get a "Failed to export the report" error. I've searched the Crystal Decisions site, this site and the web but haven't found a solution. All of the other export formats that I am using do work, just not PDF.
I use Inno Setup 3.0.7 and these are the file entries for the dll's that I am packaging, if it helps:
; Crystal Reports
Source: "C:\Program Files\Seagate Software\Report Designer Component\craxdrt.dll"; DestDir: "{pf}\Seagate Software\Report Designer Component"; Flags: regserver sharedfile
Source: "C:\Program Files\Seagate Software\Viewers\ActiveXViewer\crviewer.dll"; DestDir: "{pf}\Seagate Software\Report Designer Component"; Flags: regserver sharedfile
Source: "c:\windows\system32\P2smon.dll"; DestDir: "{sys}"; Flags: sharedfile
Source: "c:\windows\system32\p2bdao.dll"; DestDir: "{sys}"; Flags: sharedfile
; Crystal Reports - Export Formats
Source: "c:\windows\crystal\U2DDISK.DLL"; DestDir: "{win}\Crystal"; Flags: sharedfile
Source: "c:\windows\crystal\U2FHTML.DLL"; DestDir: "{win}\Crystal"; Flags: sharedfile
Source: "c:\windows\crystal\CRXF_PDF.DLL"; DestDir: "{win}\Crystal"; Flags: sharedfile
Source: "c:\windows\crystal\CRXF_RTF.DLL"; DestDir: "{win}\Crystal"; Flags: sharedfile
Source: "c:\windows\crystal\U2FTEXT.DLL"; DestDir: "{win}\Crystal"; Flags: sharedfile
Source: "c:\windows\crystal\U2FWORDW.DLL"; DestDir: "{win}\Crystal"; Flags: sharedfile
Source: "c:\windows\crystal\U2FXLS.DLL"; DestDir: "{win}\Crystal"; Flags: sharedfile
; Crystal Reports - Export support files
Source: "C:\Program Files\Seagate Software\Shared\EXPORTMODELLER.DLL"; DestDir: "{pf}\Seagate Software\Shared"; Flags: regserver sharedfile
Source: "C:\Program Files\Seagate Software\Shared\CRTSLV.DLL"; DestDir: "{pf}\Seagate Software\Shared"; Flags: regserver sharedfile
Source: "c:\windows\system32\EXLATE32.dll"; DestDir: "{sys}"; Flags: sharedfile
Any help would be appreciated.
Thanks,
Randy
|
__________________
Awana Grand Prix and Pinewood Derby racing - Where a child, an adult and a small block of wood combine for a lot of fun and memories.
|

09-03-2003, 03:19 AM
|
|
Newcomer
|
|
Join Date: Sep 2003
Posts: 3
|
|
|
Hi!
Although I'm using Delphi and InstallShield, I face exactly the same problem as you: I fail to export in PDF on Win98 (but not XP or 2000).
CR support lists a few DLLs required to do the export but they are not enough. Since a Win98 machine that has Crystal Reports installed on it IS able to do PDF exports, it's probably a (few) missing DLL's that act up. Since there are literally hundreds of CR DLLs, finding the missing one is no easy task.
I'm working on it, so if I'm able to identify the DLLs necessary, I'll post them.
Peter
|
|

09-04-2003, 11:25 AM
|
 |
Contributor
* Expert *
|
|
Join Date: Sep 2002
Location: Highlands Ranch, CO
Posts: 556
|
|
I did find this article at CrystalDecisions http://support.crystaldecisions.com/...s/c2009165.asp, but if ATL.dll is the issue, then why do I also see the same export issue on another WinXP machine that I tried? WinXP should have a more up to date version of that driver.
|
__________________
Awana Grand Prix and Pinewood Derby racing - Where a child, an adult and a small block of wood combine for a lot of fun and memories.
|

09-05-2003, 01:26 AM
|
|
Newcomer
|
|
Join Date: Sep 2003
Posts: 3
|
|
Atl
|
I ran accross the same document yesterday and after manually including (copying) the atl.dll on a Win98 installation, all seemed to go fine. In InstallShield, the package the documentation referers to (atl.msm) is called ATL 3.0 [it has both versions of atl.dll], so be sure to add that (or equivalent) to your installation package. I think you should try installing it on the WinXP machine you mentioned and try it.
Peter
|
|

09-05-2003, 02:29 AM
|
 |
Contributor
* Expert *
|
|
Join Date: Sep 2002
Location: Highlands Ranch, CO
Posts: 556
|
|
I did as the article said and copied the atl.dll from the CR8.5 disk to a Win98 machine and then registered it, but the PDF export still fails. 
|
__________________
Awana Grand Prix and Pinewood Derby racing - Where a child, an adult and a small block of wood combine for a lot of fun and memories.
|

09-05-2003, 02:55 AM
|
|
Newcomer
|
|
Join Date: Sep 2003
Posts: 3
|
|
Is the WinXP that your export runs on not by coincidence a machine that has Crystal Reports installed on it?
I have experimented with a lot of DLLs before I trusted InstallShield's CR 8.5 package to handle it. My software displays an existing .RPT file, and I found out that I needed the DLLs below. You might not need all of them (actually, you probably don't), but just in case...
Crpaig80.dll
crpe32.dll
crxf_pdf.dll
Implode.dll
mfc42.dll
msvcirt.dll
msvcp60.dll
p2ixbse.dll
p2lodbc.dll
p2sfs.dll
p2sodbc.dll
There is also a deployment help available with CR installed, I guess you already know about that. Unfortunately, the files mentioned in the deployment help are not all the ones that are required.
If all else fails, you can always download a trial version of InstallShield Express or Developer, download the CR 8.0 or 8.5 or 9.0 packages (either by the automatic web update, or as merge modules from www.installshield.com), create an installer and see if it that helps you.
Peter
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
|
|
 |
|