on 10-14-2015 6:46 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.