471,350 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

Crystal Reports Export to PDF Error

VS 2005 Pro.
I am getting the following error when I try to export a report to PDF or any other format using Crystal Reports 11 library. Does anyone knows how to fix this problem, the same code work fine in .NET 1.1

I have search for this error in Google and BusinessObjects website but have not found anything.

Here's the error message:

{"Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.E ditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.":"CrystalDecisions.ReportAppServer.Rep ortDefModel.EditableRTFExportFormatOptionsClass"}
Here's the Code:

DiskFileDestinationOptions crDiskFileDestinationOptions = new DiskFileDestinationOptions();

crDiskFileDestinationOptions.DiskFileName = @"C:\test.pdf";

this._crReportDocument.ExportOptions.ExportDestina tionType = ExportDestinationType.DiskFile;
this._crReportDocument.ExportOptions.ExportFormatT ype = ExportFormatType.PortableDocFormat;
this._crReportDocument.ExportOptions.DestinationOp tions = crDiskFileDestinationOptions;

this._crReportDocument.Export(); // <--- This is where the error occurs
Thank You
Peter
Dec 9 '05 #1
3 13050
Hi Peter,

The Crystal Report is shipped with VS.NET. However, it is not supported by
Microsoft. You can check the support website for CrystalReport or wait to
see if any community member can shed some light on this.

http://support.businessobjects.com

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Dec 9 '05 #2
Hi,
I have never used that sequence, all I do to export (and it works ) is :
ReportDocument.ExportToDisk( ExportFormatType.PortableDocFormat , @"C:\temp\" + Guid.NewGuid().ToString() + ".pdf" );

Plain and simple

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Peter" <pc*****@online.nospam> wrote in message news:ey*************@TK2MSFTNGP11.phx.gbl...
VS 2005 Pro.
I am getting the following error when I try to export a report to PDF or any other format using Crystal Reports 11 library. Does anyone knows how to fix this problem, the same code work fine in .NET 1.1

I have search for this error in Google and BusinessObjects website but have not found anything.

Here's the error message:

{"Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.E ditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.":"CrystalDecisions.ReportAppServer.Rep ortDefModel.EditableRTFExportFormatOptionsClass"}
Here's the Code:

DiskFileDestinationOptions crDiskFileDestinationOptions = new DiskFileDestinationOptions();

crDiskFileDestinationOptions.DiskFileName = @"C:\test.pdf";

this._crReportDocument.ExportOptions.ExportDestina tionType = ExportDestinationType.DiskFile;
this._crReportDocument.ExportOptions.ExportFormatT ype = ExportFormatType.PortableDocFormat;
this._crReportDocument.ExportOptions.DestinationOp tions = crDiskFileDestinationOptions;

this._crReportDocument.Export(); // <--- This is where the error occurs
Thank You
Peter
Dec 9 '05 #3
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote in message news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,
I have never used that sequence, all I do to export (and it works ) is :
ReportDocument.ExportToDisk( ExportFormatType.PortableDocFormat , @"C:\temp\" + Guid.NewGuid().ToString() + ".pdf" );

Plain and simple

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Peter" <pc*****@online.nospam> wrote in message news:ey*************@TK2MSFTNGP11.phx.gbl...
VS 2005 Pro.
I am getting the following error when I try to export a report to PDF or any other format using Crystal Reports 11 library. Does anyone knows how to fix this problem, the same code work fine in .NET 1.1

I have search for this error in Google and BusinessObjects website but have not found anything.

Here's the error message:

{"Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.E ditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.":"CrystalDecisions.ReportAppServer.Rep ortDefModel.EditableRTFExportFormatOptionsClass"}
Here's the Code:

DiskFileDestinationOptions crDiskFileDestinationOptions = new DiskFileDestinationOptions();

crDiskFileDestinationOptions.DiskFileName = @"C:\test.pdf";

this._crReportDocument.ExportOptions.ExportDestina tionType = ExportDestinationType.DiskFile;
this._crReportDocument.ExportOptions.ExportFormatT ype = ExportFormatType.PortableDocFormat;
this._crReportDocument.ExportOptions.DestinationOp tions = crDiskFileDestinationOptions;

this._crReportDocument.Export(); // <--- This is where the error occurs
Thank You
Peter

I am getting the same error with this code:
ReportDocument.ExportToDisk( ExportFormatType.PortableDocFormat , @"C:\temp\" + Guid.NewGuid().ToString() + ".pdf" );
Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.E ditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.

Dec 9 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by RobM | last post: by
3 posts views Thread by Russ | last post: by
3 posts views Thread by Deasun | last post: by
1 post views Thread by Hardy Wang | last post: by
2 posts views Thread by =?Utf-8?B?Um9iZXJ0?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.