Reputation: 31630
I get this nonsensical error seemingly randomly in Report Builder 2.0. Does anyone know why it comes up or how I can get rid of it?
The TablixRowHierarchy in tablix 'Tablix1' contains an inconsistent TablixHeader.Size in one or more of the TablixMembers that contain headers for TablixRow 2. TablixRow 2 has an expected total header size of 314.959993338585mm and an actual total header size of 314.960003936291mm. The total header size for each TablixRow created by the TablixRowHierarchy must be equal.
Upvotes: 2
Views: 3929
Reputation: 380
I have found a cause of this, a way to replicate it and a solution after spending a while trying to fix my report which now would not upload/deploy due to the error.
It is caused by first merging cells in one column, then highlighting the newly merged cell and the adjacent cells to the right (which are still split) and then merging those with the left one.
The way to make it work without this bug is to merge the two cells in the left and right columns separately then merge them together.
Imagine you start with the following layout:
Then you merge the left cells:
Then lastly you merge the lot in a single action:
This then triggers the bug and means the report will not upload to the report server.
The way to work around this is to again start with the unmerged version (you can undo the above steps if the report is still open or otherwise must unmerge these separately)
So starting with the unmerged version:
Now merge the left cells:
Now merge the right cells:
Then merge the two sets of already merged columns:
This avoids the bug and you end up with exactly the same output.
Also the bug does not occur in Visual Studio and if you attempt to open a report in Visual Studio once the bug has occurred it can't handle it and shows the tablix twice and then stops responding and must be closed from Task Manager.
Upvotes: 0
Reputation: 1
I found a solution, I don't know why, it just works. Is not necessary to unmerge the cells. The error happens when you add a column inside a group. What you have to do is to resize each column on tablix to the size you want, but you should resize all of them. It should work.
Upvotes: 0
Reputation: 41
I found that I got this error when merging cells in a row in the grouped rows section. If you do not merge all the cells up to the data columns, you get this error. If you unmerge the cells, or merge all cells up to the data columns, the error dissapears.
Upvotes: 4