Home Knowledge Articles IBM Cognos TM1 PRS-PRH-0221 The file "portal/variables_TM1.xml" could not be opened.
Follow us on Twitter


Countries

50.1%United States United States
7.6%India India
7%United Kingdom United Kingdom
5.1%Australia Australia
4.8%Canada Canada

Visitors

Today: 35
Yesterday: 573
This Week: 35
Last Week: 3348
This Month: 9420
Last Month: 15365
Total: 383507


PRS-PRH-0221 The file "portal/variables_TM1.xml" could not be opened. Print E-mail
(0 votes, average 0 out of 5)
Written by Roger   
Tuesday, 04 October 2011 00:00

Product:
Cognos TM1 9.5.2 portlets
Cognos BI 10.1

Symptom:
You cannot get a TM1 cube viewer to show up in your Cognos Connection Page.

Error message:
PRS-PRH-0221 The file "portal/variables_TM1.xml" could not be opened.

Cause:
The variables_tm1.xml file is installed to the Cognos Gateway folder, should be installed to folder C:\Program Files\ibm\cognos\c10_64\templates\ps\portal on the Cognos BI server.

Error message:
The forward URL does not exist or it has failed validation. Ensure that a valid forward URL is specified.

Cause:
The URL in the variables_tm1.xml file is wrong. Ensure it is correct, by compare it to a variables_tm1.xml file from a working Cognos BI server.

Solution:
Note that you must always restart the Cognos BI service, after changes to variables_tm1.xml file for the change to take affect.

The variables_TM1.xml file should look like this; replace SRV001 with your TM1 server name.

<?xml version="1.0" encoding="UTF-8"?>
<!--
 IBM Confidential

 OCO Source Materials

 BI and PM: tm1fragments

 (C) Copyright IBM Corp. 2008, 2009

 The source code for this program is not published or otherwise
 divested of its trade secrets, irrespective of what has been
 deposited with the U.S. Copyright Office.
-->
<CRNenv>
    <urls>
  
      <url is-regex="true">http://srv001/TM1Web/TM1WebLogin.aspx</url>
      <url is-regex="true">http://srv001/TM1Web/TM1WebLoginHandler.aspx</url>
      <url is-regex="true">http://srv001/TM1Web/TM1WebMain.aspx</url>
  
    </urls>
 <cookies>
  <param name="cam_passport"/>
 </cookies>
</CRNenv>

www.cogknowhow.com

Comments

Please login to post comments or replies.
 
 

Login

For more content en features!



CogKnowHow Newsletter

Season's Greetings


Receive HTML?

Polls

How many users are working on your Cognos environment?