473,396 Members | 2,018 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 13323
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: RobM | last post by:
I am using windows forms and using Crystal Reports. I have attempted to email using the standard email sample, but get an exception and the erro public void CreatePDFEmail(string sendto,string...
0
by: stephan | last post by:
I know that this has been beaten to death but I can't seem to resolve my issues (I have 2 of them). I have created a class that exposes a public method which returns a datatable as a datasource...
3
by: Russ | last post by:
I have a page that uses crystal reports to generate reports from a SQl server database. As of a week ago everything was working fine, but now I am all of the sudden getting errors. To the best of...
3
by: Deasun | last post by:
I need some help please! Crystal is driving me nuts. Heres my code so far, see below. Problem: On the .export() line it comes back with error #5 Login failed! I know the login info is good so...
19
by: LP | last post by:
I am using (trying to) CR version XI, cascading parameters feature works it asks user to enter params. But if page is resubmitted. It prompts for params again. I did set...
1
by: Hardy Wang | last post by:
Hi all, I have a piece of code in my C# console application to export from crystal report files to PDF. For some reports files, I get errors below. I have Crystal Reports 8.5 with service pack...
4
by: Mike | last post by:
Hi We are developing an ASP.NET 2.0 application and using the in built Crystal report system that it comes with. We have everything running fine on our development server but when we publish...
1
by: Lyners | last post by:
Hello all, I have created an ASP.NET website that uses Crystal Reports that works on the localhost (my PC), but when I copy it to the server it does not. The problem is...
2
by: MartyInOz | last post by:
Hi, I'm currently running Crystal Reports 8.5 from PHP using COM..(yes I know that is an older version of Crystal)...I am also running PHP on localhost. The following code: <?php $crapp =...
2
by: =?Utf-8?B?Um9iZXJ0?= | last post by:
About the time we installed Windows Server 2003 SP2 on our Web servers, our exports to Excel stopped working from Crystal Reports .NET within all our ASP.NET applications. However, the exports to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.