RDL Error Definition of Report is not valid

jordi79
Member Posts: 280
Hi,
I have this weird error below when trying to modify a rdlc layout and compile a report object.
Microsoft Dynamics NAV Development Environment
Error while validating RDL content:
The definition of this report is not valid or supported by this version of Reporting Services. The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas. Details: Index was outside the bounds of the array.
OK
I have a backup of a compilable version of this same report object. When I exported the 2 in Txt format and compare the difference I see is:
Compilable Object
Uncompilable Object
BC version is BC14 (14.0.48295)
ReportBuilder version is 15.0.19914.0
I have this weird error below when trying to modify a rdlc layout and compile a report object.
Microsoft Dynamics NAV Development Environment
Error while validating RDL content:
The definition of this report is not valid or supported by this version of Reporting Services. The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas. Details: Index was outside the bounds of the array.
OK
I have a backup of a compilable version of this same report object. When I exported the 2 in Txt format and compare the difference I see is:
Compilable Object
{ 6455;2 ;DataItem;PageLoop ;
DataItemTable=Table2000000026;
DataItemTableView=SORTING(Number)
WHERE(Number=CONST(1)) }
Uncompilable Object
{ 6455;2 ;DataItem;PageLoop ;
DataItemTable=Table2000000026;
DataItemTableView=SORTING(Number) WHERE(Number=CONST(1)) }
BC version is BC14 (14.0.48295)
ReportBuilder version is 15.0.19914.0
0
Answers
-
This type of line break difference usually comes from exporting a compiled version of an object vs. a non-compiled one.
Your difference must be found in the layout part (the xml data in the RDLDATA section of the OBJECT.
Using an editor, extract the contents of that section. Then convert it from OEM encoding to UTF-8, then use an XML-validator to check it. (The version of the layout stored in the text version of the NAV object is not exactly OEM encoded: some characters differ. Pay special attention to €-signs; at least for me this is the most likely offender).
If the layout seems to be ok then try to load it into the layout designer direktly. If this succeeds, the part of the error message about the version applies.
0 -
Since i have a backup, I started eliminating the sections of the report 1 by 1. And it seems the error was caused by a textbox that was set to AutoGrow, with a very small column width (0.001unitS).
After deleting this text box, the report was compilable again.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions