cognos错误整理.doc_第1页
cognos错误整理.doc_第2页
cognos错误整理.doc_第3页
cognos错误整理.doc_第4页
cognos错误整理.doc_第5页
免费预览已结束,剩余26页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

小手冰凉版权(*_*) 嘻嘻Cognos错误总结文档文件状态: 草稿 正式发布 正在修改文件标识:NCI-SIS-DQ当前版本:1.0作 者:完成日期:文档信息项目管理阶段:设计阶段文档版本日期:起草人:崔芯起草日期:2009-02-11复审人:复审日期:评审人:评审日期:版本记录版本编号版本日期修改者说明文件名0.12009-02-11崔芯初始版本Cognos问题1、 UDA-SQL-0458问题描述:UDA-SQL-0458 PREPARE failed because the query requires local processing of the data. The option to allow local processing has not been enabled. UDA-SQL-0580 The use of call statements as derived tables is not supported by the database and requires local processing of the data. RSV-SRV-0042解决办法:open your FM model, select the data source, check properties, Query Processing should be Limited Local2、 jre冲突问题描述:解决办法:把cognosc8binjre1.4.2libext bcprov-jdk13-125.jar这个文件拷贝到java_home的jdk下的jre目录下的libext目录3、 ANS-MES-0005错误问题描述:解决办法:这个问题最终也没得到更好根据一直以来的总结:主要分析可能原因和相应的解决办法,但是有的人用这种办法好用,但我们的客户还是没好用,现写下来做参考。1、原因是对报表快速的进行 拖拽、点击,移动等操作时,有可能会发生这类错误(我自己猜想,这个可能是因为当前的这张报表比较大,cognos的BS报表程序反应不过来,程序内部出现了异常,这个好像是cognos analysis studio自身的BUG。)当出现这类错误时,不管后面进行何种操作都会报错,关掉后重新打开就不会报错了。2、我刚在网上查了一下。网上说,这种情况可能是因为开了杀毒软件的原因,把杀毒软件关掉试试(网上说的是瑞星)很多朋友用这个方法解决了问题网上还说: 清除IE浏览器缓存。 关闭所有弹出式窗口拦截器(例如: IE浏览器弹出bloker ,弹出式窗口拦截器上的MSN工具栏,弹出式窗口拦截器的雅虎工具栏) 。 3、我看了一下我的报表连接,因为在连接的时候少了一个“=”所以也出现了上述问题1、/groups/technical-functional/cognos-reportnet-l/analysis-studio-error-1038921?cv=expanded2、hi,这个错误原因比较复杂,如果一直出错,检查CUBE是否正确,如果偶尔,检查补丁是否打到sp34、IE8的问题问题描述:解决办法:信任站点级别改到最低。但不建议这样,这样系统容易受到攻击,建议安装IE7或者IE6。5、Tr1901错误的一种问题描述:解决办法:拖动滚动条,使desired partition size变大6、Tr0120错误问题描述:解决办法:这个是由于临时空间不足引起的,一般在transformer的路径设置默认是c盘,如果没做更改,可以更改到空间更大的盘符,如果本身磁盘空间不大,可能就要申请空间或者删除一些文件来增大空间才好,记得关一下transformer,这样才可以删除已经产生的错误文件,这样的文件占用的空间很大。7、太保的Portal和Cognos结合不能自动跳转问题问题描述:在Portal里登陆后跳转到main页面就停止了,需要点一下运行才可以正常跳转解决办法:查找了所有的跟跳转有关的java程序,没有发现问题,最后在运行mail报表时发现在状态栏的左下方有一个!打开报的是缺少对象错误,这时把main页面的html去掉就没有报这个错误,所以推断是JavaScript的错误仔细检查发现,正确的和错误的不同:正确的:function init()location.href=2:8080/Portal/Include/login.htm;错误的:function init()location.href=2:8080/Portal/Include/login.htm;嘿嘿,你发现了么?8、Transformer增量更新问题描述:解决办法:这个最后没有得到更好的解决办法,只是把原来的分区粒度由季度改到了月,并删除了所有的错误文件,在重新更新,在保证临时文件空间足够大的情况下就没有错误了!9、QE-DEF-0285 Logon failure问题描述:I am facing a problem connecting from Reportnet to the Datasource. I am able to connect one oracle server with out any problem. While i am connecting to other oracle server i am not able to connect and i am getting error message QE-DEF-0285 Logon failure. Here is the crnserverlog SQLNET.ORAOriginal Error: QE-DEF-0285 Logon failure. QE-DEF-0323 The DSN(ODBC)/ServiceName is invalid. Either the DSN is missing or the host is inaccessible. QE-DEF-0068 Unable to connect to at least one database during a multi-database attach to 1 database(s) in: testDataSourceConnection UDA-SQL-0031 Unable to access the testDataSourceConnection database. UDA-SQL-0532 Data Source is not accessible: cpm_test2. ORA-12154: TNS:could not resolve service name Trace back: WPBIBusMethod.cpp(190): QSException: CCL_CAUGHT: WPBIBusMethod:run Source/CQEConnection.cpp(304): QSException: CCL_RETHROW: CQECommon Source/CQEConnection.cpp(303): QSException: CCL_CAUGHT: CQECommon Source/QE_QsApi.cpp(2959): QSException: CCL_RETHROW: QE Source/QESqlServer.cpp(3064): QSException: CCL_THROW: QE I dont have any problem accessing this database through the SQL Plus or Enterprise Manager console with the same connection string but i am having a problem connecting this from Reportnet Any idea on this 解决办法:Answer 1:I have found the answer.Just add the following environment variables under (System Properties Advanced Environment Variables)- ORACLE_HOME (path of oracle client holding the bin folder)- CRN_ROOT (path of crn root directory eg: c:program filescognoscrn)答复2:注意: Sql*Net connect string :输入的omis52是oracle客户端里面tnsnames.ora配置代码的名称:OMIS52 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 52)(PORT = 1521) ) (CONNECT_DATA = (SERVICE_NAME = OMIS) ) )而不是数据库名:OMIS10、Cognos Transformer建模问题之(TR1008)问题描述:现象: 使用Cognos Transformer工具编辑模型文件时,产生如下错误: (TR1008) Transformer couldnt read the connection information for database wsmis2bi from COGNOS.INI,From the IQD or from Access Manager.解决办法:原因: 新安装或配置的Cognos开发环境,“安装目录Cognos.ini”没有配置数据源的连接。或新增加了数据库源而没有在“安装目录Cognos.ini”中新增连接字符串。用写字板打开“安装目录Cognos.ini”,在文件的最后一行加入如下内容: wsmis2bi=User ID:?Password:;LOCAL;OL;DBInfo_Type=MS;Provider=SQLOLEDB;User ID=%s;Password=%s;Data Source=26;Provider_String=Initial Catalog=NEDW;COLSEQ= 保存Cognos.ini后关闭文件即可。 分析: 上述问题的主要产生原因是在配置文件没有数据源连接串或连接串的内容被改动所造成的。 针对“wsmis2bi1=User ID:?Password:;LOCAL;OL;DBInfo_Type=MS;Provider=SQLOLEDB2;User ID=%s;Password=%s3;Data Source=264;Provider_String=Initial Catalog=NEDW5;COLSEQ=”连接连串说明如下: 1数据源在Cognos Portal中Directory目录下Data Sources选项夹中数据源的名称。 2数据库的类型。 3登录数据库的帐号。 4数据库实例所在的服务器名称,可以使用IP地址,也可以使用机器名称。 5连接的数据库名称。 上述连接字符串可以Portal中检索到,查看方法如下: 以管理员身份登录Portal,展开Tools菜单,打开Directory页,选中Data Source选项夹,点击“Test the Connection”按钮,如下图所示: 11、Cognos发布cube时的PCA-ERR-0006错误问题描述:解决办法:File-Model Properties-Cube code page -UTF-8 or GB2312.注意如果是UTF-8的话,生成的Cube,PowerPlay打开中文就变成乱码12、在运行的时候出现算术溢出问题描述:运行报表的时候会出现个弹出窗口,显示发生算数溢出而不能运行,这多是数据太大引起的(我有一个保额数据就出现了这个问题)解决办法:降低小数精度 在交叉表报表中,值最多总共可以包含 19 位数。小数精度可以确定这些位数中预留多少位来表达一个数字的小数部分,而将其余的位数用于表达整数部分。 默认情况下,将小数精度设置为 7 位,这样会将整数的长度限制为 11 位(由于有一位要为小数分隔符预留)。如果您要使用 11 位以上的整数,则必须降低小数精度。例如,您可以选择将小数精度设置为 2,这样将允许您最多使用 16 位数表达整数。步骤1. 将 c8_location/configuration/CQEConfig.xml.sample 文件复制到 c8_location/bin 并将其重命名为 CQEConfig.xml。 2. 在编辑器中打开 c8_location/configuration/CQEConfig.xml。请确保您的编辑器支持以 UTF-8 格式保存文件。3. 找到“crosstabDecimalPrecision”参数并将该值减小到所需的小数精度。4. 保存 CQEConfig.xml 文件。5. 使用 Cognos Configuration,停止 Cognos 8 然后重新启动。修改字符集(注册表)Windows Registry Editor Version 5.00HKEY_LOCAL_MACHINESOFTWAREORACLEHOME0ID=0ORACLE_GROUP_NAME=Oracle - OraHome92ORACLE_HOME_NAME=OraHome92ORACLE_HOME=D:ora92NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1ORACLE_BUNDLE_NAME=EnterpriseORAMTS_CP_TRACE_LEVEL=0ORAMTS_CP_TRACE_DIR=D:ora92oramtsTraceORAMTS_CONN_POOL_TIMEOUT=120ORAMTS_SESS_TXNTIMETOLIVE=120ORAMTS_NET_CACHE_MAXFREE=5ORAMTS_NET_CACHE_TIMEOUT=120000ORAMTS_OSCREDS_MATCH_LEVEL=OS_AUTH_LOGINSQLPATH=D:ora92dbsORACLE_HOME_KEY=SoftwareORACLEHOME0MSHELP_TOOLS=D:ora92MSHELP13、BMT-MD-6003问题描述:BMT-MD-6003- No connection to the data source could be established.RSV-SRV-0042 Trace back: RSReportService.cpp(747): QFException: CCL_CAUGHT: RSReportService:process() RSReportServiceMethod.cpp(217): QFException: CCL_RETHROW: RSReportServiceMethod:process(): promptPagingForward_Request RSASyncExecutionThread.cpp(690): QFException: RSASyncExecutionThread:checkException RSASyncExecutionThread.cpp(204): QFException: CCL_CAUGHT: RSASyncExecutionThread:run(): promptPagingForward_Request RSASyncExecutionThread.cpp(740): QFException: CCL_RETHROW: RSASyncExecutionThread:processCommand(): promptPagingForward_Request RSQueryMgr.cpp(1475): QFException: CCL_RETHROW: RSQueryMgr:executeRsapiCommand RSQueryMgr.cpp(1462): QFException: CCL_RETHROW: RSQueryMgr:executeRsapiCommand RSQueryMgr.cpp(1437): QFException: CCL_RETHROW: RSQueryMgr:executeRsapiCommand RSQFSession.cpp(186): QFException: CCL_RETHROW: RSQFSession:oRequest QFSSession.cpp(604): QFException: CCL_RETHROW: QFSSession:rocessDoRequest() QFSSession.cpp(602): QFException: CCL_CAUGHT: QFSSession:rocessDoRequest() QFSSession.cpp(551): QFException: CCL_RETHROW: QFSSession:rocessDoRequest() QFSConnection.cpp(788): QFException: CCL_RETHROW: QFSConnection:GetParameters QFSQuery.cpp(273): QFException: CCL_RETHROW: QFSQuery:GetParameters BmtRtmBuilderImp.cpp(634): QFException: CCL_RETHROW: BmtRtmBuilderImp:CreateConversionScript BmtActionsHelper.cpp(466): QFException: CCL_RETHROW: BmtActionsHelper:oAction BmtActionsHelper.cpp(466): QFException: CCL_RETHROW: BmtActionsHelper:oAction FMMetadataRetrieverMgr.cpp(864): QFException: CCL_THROW: QE_Substitute 解决办法:这个大部分是由于负载均衡引起的,首先检查你的机器除了负载均衡的机器有没有其他的机器连接,如果有则禁用此服务。我的错误在于在两个负载均衡的机器上使用的文件不完整,重新拷贝一份,解决了这个问题。绝对亲和力错误(否认)问题描述:绝对亲和力请求“asynchWait_Request”失败,所请求的会话不存在解决办法:在COGNOS安装目录下有个自带的APACHE下CONF目录下SERVER.XML文件改最大连接数ANS-MES-0003报表运行错误问题描述:报表运行的时候产生如下图错误解决办法:比对正确和错误的连接发现是我连接报表的错误,因为我用的都是集群,这样直接拷贝过来的连接需要稍作修改,具体如下:3/cognos8/cgi-bin/cognos.cgi?b_action=xts.run&m=portal/launch.xts&ui.gateway=%2Fp2pd%2Fservlet%2Fcognos.cgi&ui.tool=AnalysisStudio&ui.object=%2Fcontent%2Ffolder%5B%40name%3D%E5%A4%9A%E7%BB%B4%E5%88%86%E6%9E%90%5D%2Ffolder%5B%40name%3D%E6%89%BF%E4%BF%9D%5D%2Fanalysis%5B%40name%3D%E8%BD%A6%E9%99%A9%E6%89%BF%E4%BF%9D%E5%B9%B4%E9%99%A9%E5%88%AB(%E6%97%AC)%5D&ui.drillThroughTargetParameterValues=&ui.action=edit&launch.openJSStudioInFrame=true更改了红色的超链接地点就可以了3:9300/p2pd/servlet/dispatch?b_action=xts.run&m=portal/launch.xts&ui.gateway=%2Fp2pd%2Fservlet%2Fdispatch&ui.tool=AnalysisStudio&ui.object=%2Fcontent%2Ffolder%5B%40name%3D%E5%A4%9A%E7%BB%B4%E5%88%86%E6%9E%90%5D%2Ffolder%5B%40name%3D%E6%89%BF%E4%BF%9D%5D%2Fanalysis%5B%40name%3D%E6%89%BF%E4%BF%9D%E8%BD%A6%E9%99%A9%E7%BB%BC%E5%90%88%E5%88%86%E6%9E%90-%E6%97%A5%E5%8E%86%E5%B9%B4%E5%88%B6%5D&ui.drillThroughTargetParameterValues=&ui.action=edit&launch.openJSStudioInFrame=trueANS-AAA-0027问题描述:Problem(Abstract) After logging into Cognos Connection received an error CAM-AAA-0027 The function call to CAM_AAA_Authenticate failed. Reason:. Symptom CAM-AAA-0027 The function call to CAM_AAA_Authenticate failed. Reason: Cause Active Content Manager server is not part of the Content Manager URI listing in the Environment. 解决办法:Update the Content Manager URI to include all servers that are running the Content Manager service or set Content Manager service to False on the servers that are not listed in the Content Manger URI. Steps:Update Content Manager URI: 1. Open Cognos Configuration2. Select Environment from the left hand window3. Click the edit button for the Content Manager URIs4. Save and restart the services. If more then one server we will need to bring up the primary Content Manager server first.Disable Content Manager service:1. Open Cognos Configuration2. Select Cognos 8 Service from the left hand window3. Change the value for Content Manager service enabled? to False.4. Save and restart the services. If more then one server we will need to bring up the primary Content Manager server first.14、CFG-ERR-0103 的解决方法之一那么是什么原因导致上述错误的呢?无意间看到有人说,删除节点在创建,服务禁用等说法。突然想到是不是进程冲突?于是 ps aux |grep cognos 查来进程,在服务未启动的情况下果然有进程存在,kill掉。重启启动,ok啦!情况不同,解决方法应该不同,为大家提供一种思路而已网上搜集的错误和解决办法:1、在FM里create Relation Ship时出错问题描述及截图:每次创建关系都会有上面的错误,IBM给出的答案是The PostgreSQL ODBC driver is not ODBC 3.5 compliant.(IBM上关于此错误的答复:/support/docview.wss?uid=swg21341791)但是我是在下载的psqlodbc_08_03_0400,应该不会有这个问题吧上面是我在注册表里截的图,不知道怎么看是否兼容3.5的,DriverODBCVer的键值是03.51,是不是这个啊ODBC驱动设置如上,Test结果Success解决办法:找到问题所在了,是ODBC驱动的问题Postgres必须使用native connection换了个ODBC驱动 Openlink ODBC Driver for PostgreSQL 就没问题了2、部署网站样式问题描述:比较菜的一个问题-如何将部署网站的样式Cognos Administration - 配置 - 样式 看到有多种样式可以选择, 想更改当前网站的样式, 但是如何更改呢?解决办法:公司的logo - 更改与品牌相关的图形与品牌相关的图形在名为c8_location/webcontent/skins/style/branding 的目录中归为一组,其中style 表示每个样式目录(第395 页)。根据使用的样式,您可在相关联的样式目录中更改图形。可以选择使用更合适的大小或设计替换各个IBM Cognos 8 图像(通常为GIF 文件)。但是,在替换外观类似的徽标和图标时,请务必小心。例如,用于创建Web 门户(banner_cogsquare.gif)品牌的内嵌正方形徽标与“关于”框中使用的内嵌正方形徽标(about.gif) 不同。要帮助您查找正确的图形,应注意这些与产品组件配合使用的图形,它们的文件名通常以前缀tools_ 开头。这将它们与文件名通常以前缀icon_ 开头的对象或与操作相关的图形区分开。提示:要更改图形中的文本(例如首字母缩略词BI),请在图形编辑器中打开相关文件,替换该文本,然后将图形以.GIF 格式重新保存。3、 求助 Framework能用JDBC数据源么?急!问题描述:像DB2和Oracle这些大型数据库可以在New data source时Type中直接选,但如果是想用MySQL或Postgres之类的数据库该怎么办呢?在Type选择里看到有ODBC的选项,那么是否有JDBC的数据源连接可用呢?解决办法:查看:Testing Cognos 81.3 with PostgreSQL via ODBC 3.5 compliant.pdf4、cogudaif 网关找不到UDA-SQL-0432问题描述:谁知道 FrameWork Manager 连接informex 数据库的时候,报找不到 cogudaif 网关 怎么解决啊? 版主帮帮忙啊解决办法:Description: When creating a new data source connecting to Informix in BI Modelling, a UDA-SQL-0432 error is received, indicating that the product is unable to find the appropriate database gateway. Error Message: UDA-SQL-0432 Unable to locate the gateway cogudaif Solution: Cognos 8 connection libraries require certain api calls that earlier versions of the Informix client driver do not have. Review the supported environments page for the version of Cognos 8 that you are using and ensure that the Informix driver meets the build listed for your given database connection.4、 生成cube时报Tr0210警告问题描述:(TR0210)606 data input conversion or overflow errors occurred.See the log file for details解决办法:指标类型改成数字型的,或者是算数溢出,解决办法参考算数溢出的解决办法Cognos Connection上无法显示Report Studio等链接这可能有两个原因:1.用户没有足够的权限2.在FireFox2.0中可能出现该问题,即使用户拥有足够的权限如果是权限的问题,请进行如下设置:1.以Administrator的身份进入Cognos Connection2.点击Tools - Capabilities - Report Studio 后面的 Set Properties 图标,然后选择Permissions标签3.给对应的用户/Group/Role增加 execute和traverse 权限4.保证该用户没有Deny这些权限,因为Deny会覆盖Grant权限5.保存后退出,以该用户登录即可Cognos8 BI安全认证设置默认配置的Cognos8使用匿名访问,在Cognos Connection中将不需要登录,也看不到log on/log off的连接,自动以anonymous账户登录。这时如果在Cognos Configuration中直接将Securiy-Authentication-Cognos-allow anonymous access设置为False,则会无法启动服务,主要报错为:DPR-CMI-4006 Unable to determine the active Content Manager. Will retry periodically.CM-CFG-5076 A Content Manager configuration error occurred during the initialization of Cognos Access Manager.CAM-AAA-0145 There is no namespace that is properly configured for authentication这是因为,在Authentication只有一个默认的名为cognos(Type为Cognos)的namespace的情况下,必须使用anonymous,否则就需要新建一个namespace,以指定其他认证方式。在Securiy-Authentication点右键,选New resource-Namespace,在弹出的对话框中,输入该Namespace的名字,如MyCognos,以及类型,可供选择的有Active Directory,Cognos Series 7,Custom Java Provider,LDAP,Netegrity SiteMinder,NTLM,以及SAP。例如要使用如何配置Cognos的Access Manager里已经配置好的Access Manager认证资源,这里的type就选Cognos Serials 7,然后配置目录服务相应的参数,比如Host and port为localhost:389,Base Distinguished Name为o=cognos,Namespace Name为Default等。要是Directory Server正常,并且设置无误的话,应该可以正常启动Cognos服务了。更具体的设置过程,请参考Cognos文档Cognos 8 Installation and Configuration Guide 。再打开Cognos Connection,就会出现Log on的界面了:5、 QE-DEF-0313问题描述:QE-DEF-0313 error produced when running a reportSymptom QE-DEF-0313 An error occurred while calling the content store for model. 解决办法Cause Running a report on from a package where the package had Traverse only permission and the report had Read, Execute, Traverse Resolving the problem Add the Execute permission to the package will allow users to execute objects from this packageSteps:Display the package folder in Public Folders Open the properties for the package folder Select the permissions tab Add the Execute permission and click OK to save the settings 解决方法二:Problem(Abstract) CCL-RCI-0002 while publishing a new or existing package from Framework Manager, QE-DEF-0313 while opening the package in Report Studio. Symptom While publishing the package in FM:CCL-RCI-0002The Soap server returned a soap fault.Exception occurred: java.lang.nullpointerException While opening the package in Report StudioQE-DEF-0313An error occurred while calling the content store for the model: /content/packagename=XXXXX/modelname=modelinformation Cause The SQL server database servers were rebooted while the BI server was still up and running. Environment SQL Server Content Store. Resolving the problem Restart Cognos 8 to resolve the issue. Steps:Via Cognos Configuration, stop and restart the Cognos 8 Bi server. 6、 QE-DEF-0285Failed QE-DEF-0285 The logon failed解决办法1.把E:oracleora92bin;添加到环境变量的PATH2.本地装的oracle版本是否过低(ORACLE8不支持cognos8)3.客户端ORACLE版本跟服务器端版本最好一样。Problem(Abstract)Similar messages may occur when using or creating an Oracle connection from Cognos Connection or within Framework Manager. The root causes of the problem are similar although the means of generating the message may differ. SymptomIn a Windows Environment: QE-DEF-0285 Logon failure.QE-DEF-0068 Unable to connect to at least one database during a multi-database attach to 1 database(s) in:testDataSourceConnectionUDA-SQL-0432 Unable to locate the gateway cogudaor.In a UNIX environment:QE-DEF-0285 Logon failure.QE-DEF-0068 Unable to connect to at least one database during a multi-database attach to 1 database(s) in:testDataSourceConnectionUDA-SQL-0432 Unable to locate the gateway libcogudaor.For Data Manager the following message may also be displayed:DS-DBMS-E402: UDA driver reported the following:UDA-SQL-0432 Unable to locate the gateway libcogudaor9.DS-DBMS-E306: UDA driver error connecting to Alias Name.Depending on the Oracle version the message may also list libcogudaor10CauseIncomplete configuration of the Oracle client. There are many w

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论