logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
netpacket  
#1 Posted : Wednesday, May 8, 2019 6:36:10 AM(UTC)
netpacket

Rank: Member

Groups: Registered
Joined: 12/3/2018(UTC)
Posts: 17
Man
Switzerland

Thanks: 11 times
Hello,
When I try to get my result as excel , my report shows this error:


Error in RootMain Script for Excel Conversio of view'View':
Error in Main Script for Excel Conversion of view 'Tab Control1':
Error in Main Script for Excel Conversion of view 'Model1':
Error in Main Script for Excel Conversion of view 'Tab Control2':
Error in Main Script for Excel Conversion of view 'Container':
Error in Main Script for Excel Conversion of view 'Model2':
Sequence contains no elements.

The conversion works fine in any other report.
what could be the reason?
epf  
#2 Posted : Wednesday, May 8, 2019 12:36:40 PM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 643
Switzerland

Thanks: 9 times
Was thanked: 108 time(s) in 105 post(s)
Actually it may occurs if a chart is defined and there is no records...is that the case for you ?
We will fix this in the 5.0...

Here is the quick fix:
Select you model view and edit the View Script: Chart and add the page.Series.Count > 0 && check
Code:
    if (view.Model.HasSerie && page.Series.Count > 0 && view.GetBoolValue("show_charts", true))

Edited by user Wednesday, May 8, 2019 2:40:18 PM(UTC)  | Reason: Not specified

thanks 1 user thanked epf for this useful post.
netpacket on 5/14/2019(UTC)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.