简体   繁体   English

迁移6i到10g Oracle报告

[英]Migration 6i to 10g Oracle reports

I have problems with reports when migrating from 6i to 10g. 从6i迁移到10g时,我遇到报告问题。 Everything works fine except when a report is opened from another report. 除非从另一个报告打开报告,否则一切正常。 I am getting an error- 我收到一个错误 -

REP-56107: Invalid environment id myenv for Job Type report in the command line REP-56107:命令行中的“作业类型”报告的环境ID为myenv

I only get this error when I try to open a report from another report. 当我尝试从另一个报告打开报告时,我只收到此错误。 My Oracle version is Oracle 10.2.0.4. 我的Oracle版本是Oracle 10.2.0.4。

I think the defaultEnvId attribute for the environment is set incorrectly in your server_name.conf file. 我认为server_name.conf文件中的environmentdefaultEnvId属性设置不正确。 Typically the defaultEnvId would look something like below- 通常, defaultEnvId看起来如下 -

<engine id="rwEng" initEngine="1" minEngine="0" maxEngine="10" engLife="50" maxIdle="30" defaultEnvId="JP"/>

And consecutively the definition as- 并且连续定义为 -

<environment id="JP">
  <envVariable name="NLS_LANG" value="Japanese_Japan.JA16SJIS"/>
  <envVariable name="NLS_CURRENCY" value="¥"/>
  <envVariable name="DISPLAY" value="MyServer.MyCompany.com:0.0"/>
</environment>

I am assuming that your file has the defaultEnvID="myenv" and <environment id="myenv"> . 我假设你的文件有defaultEnvID="myenv"<environment id="myenv"> Check this to make sure it points to the right environment. 检查这一点以确保它指向正确的环境。 Make sure that the defaultEnvId in engine definition matches the environment definition. 确保engine定义中的defaultEnvIdenvironment定义匹配。 Also, keep in mind that this is an optional setting so you may or may not need this. 此外,请记住,这是一个可选设置,因此您可能需要也可能不需要。 See this for details. 请参阅了解详情。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM