473,546 Members | 2,244 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 'ISCREditableRT FExportFormatOp tions_reserved5 ' on type 'CrystalDecisio ns.ReportAppSer ver.ReportDefMo del.EditableRTF ExportFormatOpt ionsClass' from assembly 'CrystalDecisio ns.ReportAppSer ver.ReportDefMo del, Version=11.0.33 00.0, Culture=neutral , PublicKeyToken= 692fbea5521e130 4' is overriding a method that has been overridden.":"C rystalDecisions .ReportAppServe r.ReportDefMode l.EditableRTFEx portFormatOptio nsClass"}
Here's the Code:

DiskFileDestina tionOptions crDiskFileDesti nationOptions = new DiskFileDestina tionOptions();

crDiskFileDesti nationOptions.D iskFileName = @"C:\test.pd f";

this._crReportD ocument.ExportO ptions.ExportDe stinationType = ExportDestinati onType.DiskFile ;
this._crReportD ocument.ExportO ptions.ExportFo rmatType = ExportFormatTyp e.PortableDocFo rmat;
this._crReportD ocument.ExportO ptions.Destinat ionOptions = crDiskFileDesti nationOptions;

this._crReportD ocument.Export( ); // <--- This is where the error occurs
Thank You
Peter
Dec 9 '05 #1
3 13343
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( ExportFormatTyp e.PortableDocFo rmat , @"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******** *****@TK2MSFTNG P11.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 'ISCREditableRT FExportFormatOp tions_reserved5 ' on type 'CrystalDecisio ns.ReportAppSer ver.ReportDefMo del.EditableRTF ExportFormatOpt ionsClass' from assembly 'CrystalDecisio ns.ReportAppSer ver.ReportDefMo del, Version=11.0.33 00.0, Culture=neutral , PublicKeyToken= 692fbea5521e130 4' is overriding a method that has been overridden.":"C rystalDecisions .ReportAppServe r.ReportDefMode l.EditableRTFEx portFormatOptio nsClass"}
Here's the Code:

DiskFileDestina tionOptions crDiskFileDesti nationOptions = new DiskFileDestina tionOptions();

crDiskFileDesti nationOptions.D iskFileName = @"C:\test.pd f";

this._crReportD ocument.ExportO ptions.ExportDe stinationType = ExportDestinati onType.DiskFile ;
this._crReportD ocument.ExportO ptions.ExportFo rmatType = ExportFormatTyp e.PortableDocFo rmat;
this._crReportD ocument.ExportO ptions.Destinat ionOptions = crDiskFileDesti nationOptions;

this._crReportD ocument.Export( ); // <--- This is where the error occurs
Thank You
Peter
Dec 9 '05 #3
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.mach in AT dot.state.fl.us > wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
Hi,
I have never used that sequence, all I do to export (and it works ) is :
ReportDocument. ExportToDisk( ExportFormatTyp e.PortableDocFo rmat , @"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******** *****@TK2MSFTNG P11.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 'ISCREditableRT FExportFormatOp tions_reserved5 ' on type 'CrystalDecisio ns.ReportAppSer ver.ReportDefMo del.EditableRTF ExportFormatOpt ionsClass' from assembly 'CrystalDecisio ns.ReportAppSer ver.ReportDefMo del, Version=11.0.33 00.0, Culture=neutral , PublicKeyToken= 692fbea5521e130 4' is overriding a method that has been overridden.":"C rystalDecisions .ReportAppServe r.ReportDefMode l.EditableRTFEx portFormatOptio nsClass"}
Here's the Code:

DiskFileDestina tionOptions crDiskFileDesti nationOptions = new DiskFileDestina tionOptions();

crDiskFileDesti nationOptions.D iskFileName = @"C:\test.pd f";

this._crReportD ocument.ExportO ptions.ExportDe stinationType = ExportDestinati onType.DiskFile ;
this._crReportD ocument.ExportO ptions.ExportFo rmatType = ExportFormatTyp e.PortableDocFo rmat;
this._crReportD ocument.ExportO ptions.Destinat ionOptions = crDiskFileDesti nationOptions;

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

I am getting the same error with this code:
ReportDocument. ExportToDisk( ExportFormatTyp e.PortableDocFo rmat , @"C:\temp\" + Guid.NewGuid(). ToString() + ".pdf" );
Method 'ISCREditableRT FExportFormatOp tions_reserved5 ' on type 'CrystalDecisio ns.ReportAppSer ver.ReportDefMo del.EditableRTF ExportFormatOpt ionsClass' from assembly 'CrystalDecisio ns.ReportAppSer ver.ReportDefMo del, Version=11.0.33 00.0, Culture=neutral , PublicKeyToken= 692fbea5521e130 4' 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
4722
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 subject,string from, string message, string user, string password // Declare variables and get the export options PdfRtfWordFormatOptions...
0
8718
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 for a Crystal Report. The method has a single argument which represents a parameter required by the Stored Procedure. When I generate the report...
3
2806
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 my knowledge nothing was changed on the server. Here is the error: Error in File C:\DOCUME~1\WEBSERVER\ASPNET\Local...
3
3782
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 why is the bloody thing doing this. The paths have been checked and are correct. The crystal Report is a .rpt file. Not one created in the VS.net...
19
3853
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 ReuseParameterValuesOnRefresh="True" in a viewer, but it still doesn't work. Did anyone run into this problem. What's the solution? Please help. Thank you
1
3541
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 installed on my local machine. What is the reason to cause this "Unknown Query Engine Error"? This is a report with 3 sub-reports, is there anything...
4
21496
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 the site to our production server - as soon as we visit the site to test it we get a horrible message from crysta reports that we just dont understand...
1
4300
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 ExcelUseConstantColumnWidth = False. On my PC when exporting a report, it works - columns are varible width to fit the field, from the server it does not - I get constant...
2
7544
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 = new COM ("CrystalRuntime.Application") or die ("Error on
2
9868
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 pdf and Word still work. Is anyone else having this problem and have you found a resolution? We are using ..NET Framework 1.1. The web apps were...
0
7507
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7435
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7698
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7947
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
5361
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3492
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1922
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1046
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.