cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Memory Corrupt Problem with Crystal report CRforVS_13_0_13

Former Member
0 Kudos

Hi Ludek,

I am using Crystal report 2008 and Visual studio 2010. I need to export the report  for the format PDF, XLS, CSV and TTX files.

I am able to export PDF and XLS file but having problem in TTX and CSV files.

ERROR in the log file. :

Error occured when export to TTX file for report ...... Error description is: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

14-Oct-2015 13:12        Error occured when export to CSV file for report..... Error description is: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

I am using CRAXDDRT dll.

Please help me.

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor
0 Kudos

From Ludek's comment above:

"As for craxddrt.dll. This dll was part of the Report Designer Component (RDC) SDK. That SDK was retired in CR XI R2 (11.5.x), which has been out of support for a few years now."

This is from the old RDC component which will NOT work in VS 2010.  The newer versions of it support the Crystal Designer in VS only - they are not licensed for use in your code.  So, you'll need to upgrade to the latest version of Crystal for VS, which you can find here:  http://scn.sap.com/docs/DOC-7824.

1.  UNINSTALL any older versions of the Crystal SDK - the new one does not "play well" when installed side-by-side with them and the old versions won't really work in the newer versions of VS.

2.  Download and install the "Install Executable" from the above link.  This will give you the integration into Visual Studio - the other downloads are for the various formats of runtime installs that you can use for deploying your application.

See the links Ludek mentions above for sample code and more information about the latest SDK.

-Dell

Former Member
0 Kudos

Thanks for your propt reply. Now I am getting CRAXDDRT.application is not defined . ERROR.

What dll should I have to include VS2010.

Please help me.

DellSC
Active Contributor
0 Kudos

See Ludek's response from 3/12/15 above - you will have to rewrite your application to use the new SDK.  The old report designer component is no longer available.

-Dell

Former Member
0 Kudos

Hi ,

I am using runtime CR13 with VS2010

Error occured when export to TTX file for report ....

Error description is: Unable to cast object of type 'CrystalDecisions.Shared.CharacterSeparatedValuesFormatOptions' to type 'CrystalDecisions.Shared.EditableRTFExportFormatOptions'.

I used the following code:

Dim CrFormatTypeOptions As New PdfRtfWordFormatOptions()

Dim crDiskFileDestinationOptions As New DiskFileDestinationOptions()

                .ExportDestinationType = ExportDestinationType.DiskFile
                .ExportFormatType = ExportFormatType.EditableRTF
                .DestinationOptions = crDiskFileDestinationOptions
                .FormatOptions = CrFormatTypeOptions

Can you please advice.

former_member183750
Active Contributor
0 Kudos

You really should have created a new Discussion on this. So, I branched this off as a new Discussion.

Anyhow, TTX file were retired in CR 8.5 - about 15 years ago. So in a nut shell here is the upshot of that:

1) Reports created off of TTX will not work in 64 bit apps at all as there is no 64 bit TTX driver.

2) The reports should be passed an ADO .NET Dataset. The Dataset must match precisely what the report is expecting as far as data format - based on the TTX it was created off of.

3) If you get issues passing datasets to the report, see this wiki: Troubleshooting Issues with VS .NET Datasets and Crystal Reports - Business Intelligence (BusinessOb...

4) For reports based off of multiple TTX files, see this blog:

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow me on Twitter

Answers (0)