473,808 Members | 2,885 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 13382
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
4733
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 pdfRtfWordOpts = ExportOptions.CreatePdfRtfWordFormatOptions() MicrosoftMailDestinationOptions mailOpts...
0
8781
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 in Crystal and run it using the class I built, it works fine. I've tried it with parameters and...
3
2829
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 Settings\Temp\temp_57908cf8-dba0-4327-b785-95de5cf6e523.rpt: Invalid export DLL or export format.
3
3790
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 IDE but in crystal itself.
19
3884
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
3566
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 missing in my code to handle this type of reports? Thanks a lot! =====================Error Call...
4
21504
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 as below ========================================================================== Configuration...
1
4319
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 width columns. I suspect it is a DLL issue, but so far all my comparisons are coming out the same.
2
7556
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
9890
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 created in Visual Studio 2003.
0
9721
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9600
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10631
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10114
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9196
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5548
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4331
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
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.