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

Just another CrystalReports-Export problem

Status
Not open for further replies.

atropozzz

Programmer
Mar 19, 2002
16
AT

hiho!

within my local development environment the export of my report into a pdf-file functions as it should. but what tha hell goes wrong on the productive machine?:

Error in File C:\WINNT\TEMP\temp_a1f72b1b-0f48-48aa-a989-e0bdd8ace4cf.rpt: Invalid export DLL or export format.

any configuration issues on the web server i didn't think of?

 

this is the way i export in asp.net:
-------------------------------------

reports.Crystal.myReport Report =
new reports.Crystal.myReport();

Report.ExportOptions.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile;

Report.ExportOptions.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat;

CrystalDecisions.Shared.DiskFileDestinationOptions DiskOpts = new CrystalDecisions.Shared.DiskFileDestinationOptions();

DiskOpts.DiskFileName = WriteFileName; // c:\Writeable
Report.ExportOptions.DestinationOptions = DiskOpts;

Report.Export();
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top