Upgrade to Cognos 10 woes

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(\\ImageServer\Folder\Image.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(\\ImagesServer\Images\Report Images\FirstPageBackground68.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(\\ImagesServer\Images\Report Images\Background68.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 Response to Upgrade to Cognos 10 woes

  1. John Feng says:

    Hi Paul,

    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.,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: