Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Missing or out-of-date export DLL

Status
Not open for further replies.

Bruudje

Programmer
Feb 14, 2002
9
NL
Hello,

I'm trying to export crystal reports. But this doesn't work.

I get the error message: Missing or out-of-date export DLL

I'm using CR 8.5 on win2k
I'm programming in VBScript on ASP
The example given with cr8.5 gives the same error and i use the same code. I don't know why this is. I've got the U2f dll what i need. At CR i don't find anything about it.
please can anyone help me?
 
I bet you once had a previous version of Crystal on this computer. You are mixing up various versions of the same *.DLL files.

1) Uninstall Crystal
2) search for and delete all copies of p2b*.dll files
3) Delete the folder c:\windows\crystal
4) Search folder c:\program files\seagate software
and everything under it.
5) re-boot your computer
6) re-install crystal

Howard Hammerman,

Crystal Reports training, consulting, books, training material, software, and support. Scheduled training in 8 cities.
howard@hammerman.com
800-783-2269
 
No, that isn't it.
My code is:
Code:
filetype = Request.Form("exp")
filename = session("rapport") & "." & cstr(filetype)
Set ExportOptions = Session("oRpt").ExportOptions
Session("oRpt").DisplayProgressDialog = FALSE
exportfilename = Path & "exports\" & cstr(filename)
Select Case cstr(filetype)
    case "doc" ExportType = 14
	case "xls" ExportType = 22
	case "rtf" ExportType = 4
	case "pdf" ExportType = 31
	case "rpt" ExportType = 1
End Select
ExportOptions.DiskFileName = exportfilename
ExportOptions.FormatType = cint(ExportType)
ExportOptions.DestinationType = 1
	
On Error Resume Next
Session("oRpt").Export False
If Err.Number <> 0 Then
    Response.Write &quot;Error Occurred Exporting Report: &quot; & Err.Number & &quot; &quot; & Err.Description
	Set Session(&quot;oRpt&quot;) = nothing
	Set Session(&quot;oApp&quot;) = nothing
	Session.Abandon
	Response.End
Else
	If IsObject(session(&quot;oPageEngine&quot;)) then                              
	set session(&quot;oPageEngine&quot;) = nothing
	End If
	set session(&quot;oPageEngine&quot;) = session(&quot;oRpt&quot;).PageEngine
End If
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top