I have problems with reports when migrating from 6i to 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
I only get this error when I try to open a report from another report. My Oracle version is Oracle 10.2.0.4.
I think the
defaultEnvIdattribute for theenvironmentis set incorrectly in yourserver_name.conffile. Typically thedefaultEnvIdwould look something like below-And consecutively the definition as-
I am assuming that your file has the
defaultEnvID="myenv"and<environment id="myenv">. Check this to make sure it points to the right environment. Make sure that thedefaultEnvIdinenginedefinition matches theenvironmentdefinition. Also, keep in mind that this is an optional setting so you may or may not need this. See this for details.