When you upgrade a report you’ll sometimes get a very annoying upgrade error. Something in the lines of:
RSU-SPC-0164 CSS style was removed. Unable to parse CSS Declaration: text-align:center;background-image:url(\ImageServerFolderImage.png);background-position:center center;background-repeat:no-repeat;
When this happens you will be unable to run the report until you fix all validation errors, including the warnings. This can be a problem as warnings are just warnings – the report should still run be possibly not the way you expect. But what do you do if you’re performing a calculation that relies on something that throws a warning? Revalidating the report won’t help, because it still thinks there are upgrade errors.
The work-around that I’ve found is pretty dirty. When you copy the report to clipboard and look at the XML you’ll notice that at the very end of the specs there is an “upgradeInfo” tag.
RSU-SPC-0164 CSS style was removed. Unable to parse CSS declaration: background-image:url(\ImagesServerImagesReport ImagesFirstPageBackground68.PNG);background-position:left top;background-repeat:no-repeatRSU-SPC-0164 CSS style was removed. Unable to parse CSS declaration: text-align:center;background-image:url(\ImagesServerImagesReport ImagesBackground68.png);background-position:center center;background-repeat:no-repeatמצגת ה”ר
Delete the upgradeInfo tag and open from clipboard. It won’t realize that it’s an upgraded report, and you’ll still be able to run it – despite the validation warnings.
One thought on “Upgrade to Cognos 10 woes”
On the cognos 8.3/8.4, the multi-page layout with tab horizontal style, there is a vertical and horizontal bar appearing on the browser right and bottom for a very wide and long report such as 100+ columns and 1000 rows. User likes to see it. But on the cognos 10, the same layout setting, the scrollbars go inside the portlet frame not on browser any more. I increase the height to 1625 instead of default 625, the vertical scrollbar goes on the browser, but there is no way to bring up the horizontal scrollbar on the bottom of the browser. User has to acroll down to the page end and scroll to right and goes up to view the content. Could you please shed some light any piece I missed?
Thanks a lot.,