CX 10.1: Avoid Bad Characters in Passwords During Install

Post bug reports and the status of reported bugs
Post Reply
User avatar
Mike Cowie
Site Admin
Posts: 438
Joined: Sun May 11, 2008 7:07 pm
OLAP Product: TM1, MSAS
Version: Anything thru 11.x
Excel Version: 2003 - 2016
Location: Alabama, USA
Contact:

CX 10.1: Avoid Bad Characters in Passwords During Install

Post by Mike Cowie » Tue Jul 24, 2012 1:10 pm

Hi All:

I'm still waiting for full confirmation/PMR numbers from IBM and will post when I get them, but finally discovered what was causing a Cognos Express 10.1 install to fail consistently - I was trying to use an ampersand (&) in the password for the icognosexpress account that is prompted for and gets created during the Cognos Express 10.1 install. The installer does not warn you that this could be a problem, but it certainly appears to a problem based on my testing.

The install will fail at the point of trying to start Cognos Express for the first time, after the content store is created. The error was very unhelpful and indicated the Cognos Express service failed to start. It would leave installed files in place, but all you could really do successfully at that point is uninstall Cognos Express. Manually starting Cognos Express services didn't help - you just get an error about a module not being found.

This appears to be an issue because that password gets embedded, presumably un-escaped, in an XML file at some point and literal ampersands in XML have a special meaning in XML. I have not confirmed this next point, but it's also possible all of these special XML characters would be no-no's for passwords entered during the Cognos Express install:
  • & (ampersand - confirmed to be a problem)
  • > (greater than)
  • < (less than)
  • " (double quote)
  • ' (apostrophe)
Again, I've only confirmed a problem with ampersands in the icognosexpress login. But, I suspect the problem could extend to other special XML characters and may also extend to the CX "administrator" login password that is established during install. I'd advise avoiding these characters in any CX install passwords, just to be safe.

Hope this saves someone some head-scratching & time.

Regards,
Mike

Post Reply