解决Cognos Upfront服务器启动错误一例

解决Cognos Upfront服务器启动错误一例

Cognos Upfront是一个web portal,提供了可定制的用户接口,可以通过web查看、查找、组织和分享Cognos的报表以及查询等。

在Congfiguration Manager中启动Upfront的时候出现错误:

Unable to determine error that occurred trying to run command upfunpack.bat -x UpfUnpackError.log.

查看windows的Event Log,其中有如下记录:

Critical Error: ***** ERROR: Parsing Upfront Package file. XML parsing error: the xml document is not well-formed. Line: 6, col: 79, offset: 432., , , , , , , , , , , , , , , .

出现这个问题,是由于字符集选择错误,导致XML配置文件无法解析。解决方法:

在Configuration Manager中,修改Cognos Shared->Locale中的Local为en-us,Encoding为windows-1252,然后apply selection。再start upfront,OK。