Solved

Missing or out-of-date export dll

Posted on 2003-11-25
11
25,369 Views
Last Modified: 2011-04-14
Hi Experts

I am using crystal reports 8.5. I am trying to convert a report file to a pdf file in run time using a small vb program.

.Export False  - Raises an error  " Missing or out-of-date export dll. "

Reference
Crystal reports 8.5 Activex Designer run time library

Private Sub Command1_Click()
    Dim CRAPP As New CRAXDRT.Application
    Set CRReport = CRAPP.OpenReport("C:\activitylist.rpt")
    lstrFileName = "c:/activitylist.pdf"
    With CRReport
        .ExportOptions.DestinationType = crEDTDiskFile
        .ExportOptions.DiskFileName = lstrFileName
        .ExportOptions.FormatType = 31
        .DisplayProgressDialog = False
        .Export False
    End With
End Sub

Checked these two dlls.
U2fcr.dll    
u2ddisk.dll

They were in 2 places C:/Windows/Crystal and C:/Windows/System32. I have renamed  the above 2 dlls from the system32.

But I still face this problem
Any Suggestions



0
Comment
Question by:PradeepYadhav
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1
11 Comments
 
LVL 7

Expert Comment

by:mnye
ID: 9818331
re-set the names you changed and try the tips in this article:

http://support.crystaldecisions.com/library/kbase/articles/c2003059.asp


hth
matt
0
 

Author Comment

by:PradeepYadhav
ID: 9818917
Matt I tried out your suggestion. I couldnt succeed. It gives me the same error
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 9819708
Is this on the development machine or a client?

Do you have the PDF export dll installed?
Crxf_pdf.dll

Possible causes
http://support.crystaldecisions.com/library/kbase/articles/c2009165.asp

mlmcc


0
[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

 
LVL 101

Accepted Solution

by:
mlmcc earned 200 total points
ID: 9819749
One other thought

Change
lstrFileName = "c:/activitylist.pdf"
to
lstrFileName = "c:\activitylist.pdf"

mlmcc
0
 

Author Comment

by:PradeepYadhav
ID: 9823605
Hi Matt

For your Information - I am using Windows XP.

I tried all the above mentioned points. I am getting the same error.

Crxf_pdf.dll  - Exists in 2 directories  
c:\windows\crystal
c:\windows\system32

Registered ATL.DLL, EXPORTMODELLER.DLL, CRTSLV.DLL

It didnt work out Matt.

0
 

Author Comment

by:PradeepYadhav
ID: 9823614
This is on a development Machine
0
 

Author Comment

by:PradeepYadhav
ID: 9824902
Hi Matt

My system used to have 7.0 then 8.0 and 8.5.
I uninstalled 8.5.
I searched for u2f*.dll and u2d*.dll in system32 directory and renamed them. Uninstalled Crystal reports and reinstalled 8.5 directly. My program is working now.
0
 
LVL 7

Expert Comment

by:mnye
ID: 9824974
ddls may have not been updated or registry wasnt updated, but glad you worked it out.

matt
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 9854315
Glad I could help

mlmcc
0
 

Expert Comment

by:gnorme
ID: 10601273
Actually, if you go into the c:\<windows directory>\crystal directory there should be a .dll called u2fpdf.dll  Make sure you have full rights to this dll and the entire folder.  I had the same problem, but this took care of it.  Hope i am not too late.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question