Missing or Out of Date Export DLL in Access (1 Viewer)

SteveClarkson

Registered User.
Local time
Today, 15:55
Joined
Feb 1, 2003
Messages
439
Hello,

I have been working on this for 3 days solid now, and have gotten absolutely nowhere. I am about ready to throw myself out the window! :mad:

I am trying to export a Crystal report to PDF from within Access, but I cannot get past this damn message about having a Missing or Out of Date Export DLL.

This is the code I am using to export to PDF:
Code:
Dim appl As New CRAXDRT.Application
Dim rep As CRAXDRT.Report

Sub ExportToPDF(ReportFile As String)
    Set rep = appl.OpenReport("G:\Invoicing\Reports\" & ReportFile & ".rpt", 1)
    rep.ExportOptions.DiskFileName = "C:\DB\Invoicing\Invoice.pdf"
    rep.ExportOptions.DestinationType = crEDTDiskFile
    rep.ExportOptions.FormatType = crEFTPortableDocFormat
    rep.Export (False)
    End Sub

And then I call it with this:
Code:
ExportToPDF "1-Client"

But every time I get this error message. I have trawled through Google and the Crystal support site, but everything I find doesn't seem to help, I am pretty sure I have all the DLLs I need.

I attach a screenshot of the references I have ticked in Access VBA.

Any help would be MUCH appreciated.

Thank you.
 

Attachments

  • untitled.JPG
    untitled.JPG
    39.5 KB · Views: 708

JosueMonteiroViana

New member
Local time
Today, 11:55
Joined
Oct 2, 2008
Messages
1
Hello Steve,

I had the same problem with a manual-installed crystal engine. I was able to open the report in my asp web app but I was not able to export the data:
Missing or Out of Date Export DLL
I solved by coping the “Crystal” folder to the %windir% folder, in my case “C:\Windows” in a Windows 2003 environment.
If you are using a manual installation of crystal, don’t forget to:

1) Register this dlls:
regsvr32 "SeagateSoftware\Report Designer Component\craxdrt.dll"
regsvr32 "SeagateSoftware\shared\emfgen.dll"
regsvr32 "SeagateSoftware\shared\keycode.dll"
regsvr32 "SeagateSoftware\Viewers\ActiveXviewer\crviewer.dll"
regsvr32 "SeagateSoftware\Viewers\ActiveXviewer\swebrs.dll"
regsvr32 "SeagateSoftware\Viewers\ActiveXviewer\sviewhlp.dll"
regsvr32 "crystal\exportmodeller.dll"
regsvr32 "crystal\crtslv.dll"

2) Create a web virtual directory point to “SeagateSoftware\Viewers\” if you are using a web environment

3) Copy the crystal folder with all dlls to the %windir%

4) Make sure users have read permission in this folder.


Good look :)
Josué Monteiro Viana
 

SteveClarkson

Registered User.
Local time
Today, 15:55
Joined
Feb 1, 2003
Messages
439
Thanks for the information - I can only assume I either fixed this myself, or gave up completely, as it isn't still a problem, but can't remember how I solved it!

Thanks though - your post I am sure will be helpful for someone else (or me, when I revisit this at some point in the future!).
 

Users who are viewing this thread

Top Bottom