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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting to HTML4.0 - Runtime Error '-2147190908 (80047784)'

Status
Not open for further replies.

chimaera

Programmer
Oct 29, 2001
10
US
This post is fairly long, but I am getting desperate now so any help gratefully received.

Our version of Crystal Reports is the Standard version, ver: 8.0.0.371. What we have is a Crystal Report definition, that accesses a SQL Server 7.0 d/b, to create some report pages which it then exports to HTML4.0. The Crystal Report is called from within a VB executable which uses RDC 8, basically using the following example code (but with a parameter added to it):-

Dim CrxReport As New CrystalReport1
Dim CrxExportOptions As CRAXDRT.ExportOptions

Private Sub Form_Load()

Set CrxExportOptions = CrxReport.ExportOptions

With CrxExportOptions
'Choose format type as html32 standard
.FormatType = crEFTHTML32Standard
'Choose destination as diskfile
.DestinationType = crEDTDiskFile
'specify the file name and path
.HTMLFileName = "C:\windows\desktop\test\New.htm"
End With

'export without showing user dialog
CrxReport.Export False

End Sub

The parameter instructs the Crystal Report to select a subset of data from the SQL d/b.

In turn, the parameter is passed to the VB executable by a .bat file. The .bat file has 16 steps in it, each calling the VB executable but passing a different parameter.

If you've got this far - thanks for sticking with me!!

What happens is this...

I run the .bat file on a User's laptop, and it will fail at step 8. If I run it on my own desktop, it will fail at step 12. It can be run in succession and then it may not fail at all (or it might fail again). Or it may not fail the first time it is run.

The error that is returned is "Runtime Error '-2147190908 (80047784): Failed to export the report'. There is plenty of hard disk space for temporary files on both of the machines, one is 128Mb RAM and the other is 256Mb RAM.

I can run it in Crystal Report Preview mode and it works. I can attempt to export to HTML4.0 from within Crystal Report and it will run - but it may fail too.

Seagate Support said it is because there is not enough free disk space, but I've managed to successfully run it on a desktop PC with 15Mb free hard disk space and the User's laptop has 720Mb free. I've logged the problem with Seagate twice and received the same answer twice. Unfortunately they haven't been overly helpful.

Does anyone have any ideas or suggestions concerning this error?

All and any help or suggestions happily received!! If you've got this far - you are priceless!!
 
I take it no-one has any ideas on this one then?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top