PradeepYadhav
asked on
Missing or out-of-date export dll
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:\activ itylist.rp t")
lstrFileName = "c:/activitylist.pdf"
With CRReport
.ExportOptions.Destination Type = crEDTDiskFile
.ExportOptions.DiskFileNam e = 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
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:\activ
lstrFileName = "c:/activitylist.pdf"
With CRReport
.ExportOptions.Destination
.ExportOptions.DiskFileNam
.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
ASKER
Matt I tried out your suggestion. I couldnt succeed. It gives me the same error
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
Do you have the PDF export dll installed?
Crxf_pdf.dll
Possible causes
http://support.crystaldecisions.com/library/kbase/articles/c2009165.asp
mlmcc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
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.
ASKER
This is on a development Machine
ASKER
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.
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.
ddls may have not been updated or registry wasnt updated, but glad you worked it out.
matt
matt
Glad I could help
mlmcc
mlmcc
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.
http://support.crystaldecisions.com/library/kbase/articles/c2003059.asp
hth
matt