cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports 2013 SP7 crashes when opening report

Former Member
0 Kudos

Hi,

I recently created a report in CR 2013, previewed the report against a sandbox environment (everything was working as expected), and then saved the report. When I try to open it now, CR crashes before the report is opened. I set up the logging environmental variables to use crlog, and found that I have an error because a parameter cannot be found. I also downloaded SP7, and tried opening it again with the same results. How can I get this fixed so that I can open the report? Log is attached. Thanks in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member183750
Active Contributor
0 Kudos

Hi Vanessa

Would you be able to attach the report - with saved data? To attach go to "Use advanced editor". Rename the rpt to txt and attach.

- Ludek

Senior Support Engineer Product Support, Global Support Center Canada

Follow me on Twitter

Got Enhancement ideas? Use the SAP Idea Place

Former Member
0 Kudos

It is attached. Thanks!

0 Kudos

Hi Vanessa,

Ludek asked me to try your report in my SDK app and it too is crashing it. I have an open case with DEV right now on another report that also crashes crw32.exe and they found the cause. I tried their fix with your report and it still crashes it so I sent it off to DEV to see if they can find the problem and possibly fix it so the report can be opened again and hopefully you'll be able to fix it.

Any chance you have a back up somewhere?

Incident 110058 / 2016 / Report closes Designer

KBA - 2310479

SAP Note - 2310504


The fix should be in all versions from 2011 to 2016 in the next release it can be scheduled into.

Thanks

Don

0 Kudos

Hi Vanessa,

R&D has fixed the issue in the latest build and I confirmed this in the SDK.

Just an FYI, there are errors in your formula:

@DeclareVar : Used: 1 times'End'

@Unit Name : Used: 2 times'End'

@GetMainpageforHeader : Used: 1 times'End'

@EvaluateHeaderForRunMetadata : Used: 1 times'End'

----------------------------------------------------------------------------------------------------------

Engine Subreport count: 3

Subreport Name: Elisa Plate  - Subreport1

Formula: @GetVar : Used: 1 times'End'

Error in formula :

Error in formula  ~:

'WhilePrintingRecords;

'

This field name is not known.

Details: errorKind

Formula Text: WhilePrintingRecords;

Shared StringVar ssTestName;

Shared StringVar Array ssMainPlateID;

Shared StringVar Array ssMainPlateName;

Shared StringVar NewPageAfter;

if IsNull({Command.TESTNO}) = false then

    ssTestName:= {Command.TESTNO};

if not({Command.PLATEIDENTIFICATION} in ssMainPlateID) then

(

    redim preserve ssMainPlateID[ubound(ssMainPlateID)+1];

    ssMainPlateID[ubound(ssMainPlateID)]:= {Command.PLATEIDENTIFICATION}

);

if not({Command.ELISAPLATENAME} in ssMainPlateName) then

(

    redim preserve ssMainPlateName[ubound(ssMainPlateName)+1];

    ssMainPlateName[ubound(ssMainPlateName)]:= {Command.ELISAPLATENAME}

);

if not(isnull({Command.ID_1})) then

    NewPageAfter:= "Plate";

-------------------------------------Subreport1------------------------------------------

Formula: @TestName : Used: 1 times'End'

-------------------------------------Subreport1------------------------------------------

Formula: @DeclareVar : Used: 1 times'End'

-------------------------------------Subreport1------------------------------------------

Subreport Name: QC Metadata - Subreport3

Formula: @PageHeader : Used: 1 times'End'

Error in formula :

Error in formula  ~:

'WhilePrintingRecords;

'

This field name is not known.

Details: errorKind

Formula Text: WhilePrintingRecords;

Shared StringVar NewPageAfter;

Shared NumberVar MainReportPage;

if not(isnull({Command.CONTAINERID})) then

(

    NewPageAfter:= 'QC';

    MainReportPage:= MainReportPage+1

);

-------------------------------------Subreport3------------------------------------------

Formula: @TestName : Used: 1 times'End'

-------------------------------------Subreport3------------------------------------------

Formula: @PlateName : Used: 1 times'End'

-------------------------------------Subreport3------------------------------------------

Formula: @PlateID : Used: 1 times'End'

-------------------------------------Subreport3------------------------------------------

Subreport Name: Run Metadata - Subreport2

Formula: @TestName : Used: 1 times'End'

-------------------------------------Subreport2------------------------------------------

Formula: @PlateID : Used: 1 times'End'

-------------------------------------Subreport2------------------------------------------

Formula: @PlateName : Used: 1 times'End'

-------------------------------------Subreport2------------------------------------------

I'll get CRD installed and see if it open the report and attach it and see if this fixes it for you, if it does not then the next patch should have the fix in it. I don't know what patch it's going to be out in though.

Don

Former Member
0 Kudos

That would be great if the report can be opened... thanks for all your help! It is much appreciated

0 Kudos

Hi Vanessa,

I have CR 4.2 SP 3 installed and re-saved your report. Not sure if it's going to fix it for you though. R&D said there was a process change in code so it may not have anything to do with the RPT file itself.

But here it is, see if it works for you...

We tried this updated one here and it did not close CRD so hopefully it works for you also.

Unzip the file and the rename and remove the .txt from the file name...

Don