cancel
Showing results for 
Search instead for 
Did you mean: 

rpt: Invalid section height.

Former Member
0 Kudos

Hi to all,

I'm using Asp.net 2.0-C# and Crystal Report 11.5.

I have a table with N number of records, i bind all records dynamically now i meet this problem

Error in File C:\DOCUME1\D3326\ASPNET\LOCALS1\Temp\Cr_ExportToExcel {DCA1604B-76DE-4E89-8502-274969D5D6E6}.rpt: Invalid section height.

I checked my code, my the final Fiedlobject top position is 34100, i came to know crystal report doesnt support greater then height 32,767 from

http://www.forumtopics.com/busobj/viewtopic.php?t=106646&view=next&sid=29c694f5aa0a7d2fca31404ca09a3...

this web site. If it's true then how can i solve this problem,

becuase i have nearly one lakh records.

Actualy i display my records like this

ColumnName Data ColumnName Data

ColumnName Data ColumnName Data

so i'm using only one detail section object because no need of heading section.

Experts please help me.

Thanks in advance.

Edited by: winseelan j on Sep 29, 2008 7:20 PM

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

The following appears to be a similar issue with a solution. See if it does the trick for you:

http://www.dotnetexpertsforum.com/getting-error-invalid-section-height-in-crystal-reports-t171.html

Ludek

Former Member
0 Kudos

Hi Ludek,

I think you are displaying all the fields in a single section.You must place the field name and field value of each row must be placed in each section.

Right click on the crystal report form and click on the create section details and place each row details in seperate section.

According this we need to create sections for every row then how to do this. Could you please post some code.

Thanks in advance.

former_member183750
Active Contributor
0 Kudos

You will have to use RAS. This sample app shows you how to create sections at runtime:

https://boc.sdn.sap.com/node/6304

More sample apps are here:

https://boc.sdn.sap.com/samples/84/1194

And the developer libraries is here:

https://boc.sdn.sap.com/developer/library

Ludek

Former Member
0 Kudos

Hi,

Now it's working. I just set like this

boSection.Height = 2147483647;

Answers (0)