Product:
Planning Analytics version 2.1.14
Microsoft Windows 2022 server

Issue:
After upgrade from previous version of TM1, you do not get the PAA_Agent to work. It does not respond on port 9012.

In power shell you test with:   tnc  servername.domain.com  -port  9012

Suggested solution:

The path to the bin folder have changed for TM1, to D:\Program Files\ibm\tm1_64\bin64

Therefor when you have updated the PAA Agent, run the following scripts from a Command Prompt.
<install_dir>\paa_agent\bin\PAAAgentSetJavaHome.bat

This should update the server.env file with the correct path to the JAVA JRE

The configuration is done in the  D:\Program Files\ibm\tm1_64\paa_agent\wlp\usr\servers\kate-agent\bootstrap.properties file.

This file need to be updated manually every time you upgrade, as it is overwritten with default values.

If you have more TM1 tools installed on the server, it can point to the other folder and still work.

Then after that file is updated, you can start the PAA_Agent service.

 

If above does not work;

You may need to uninstall PAL totally and start over.
Stop all TM1 services.

To remove the TM1 Admin Server service, run the tm1admsd.exe -remove command.
To remove the Planning Analytics Administration agent service, run the <install_dir>\paa\bin\PAAAgentDelete.bat script.

Run Uninstall_IBM_Planning_Analytics.exe in the <install_dir>\uninstall directory.

Ensure that the PAA Agent is uninstalled from the Windows service list.

Then run the installation again of TM1/PAL from analytics-installer-4.0.27-win.exe

Create the ADMIN service again.

Update the bootstrap.properties file with SMTP information

Run the bat files;

<install_dir>\paa_agent\bin\PAAAgentSetJavaHome.bat

<install_dir>\paa_agent\bin\PAAAgentRegister.bat

Start and test again.

 

More Information:

https://www.ibm.com/docs/en/planning-analytics/2.1.0?topic=itscpa2l-registering-running-planning-analytics-administration-agent-as-windows-service

https://www.ibm.com/docs/en/planning-analytics/2.1.0?topic=upal2-upgrading-planning-analytics-workspace-local-from-version-20-21 

https://www.ibm.com/docs/en/planning-analytics/2.1.0?topic=later-uninstalling-data-tier-components

Product:

Planning Analytics 2.1.11
Microsoft Windows 2022 server

Issue:

You get random Unable to register subset when you run the Tm1 TI process, can be that the subset is not correct deleted, and therefor already exist when the TI process try to create it.

Error contain: Unable to register subset

Suggested solution:

Instead of using the TI process name, create a random subset name with a code similar to below:

#--------------------------------------------------
# Create names
#--------------------------------------------------

SourceView= pFromCube | 'TempSource' | getProcessName() | '_' | timSt(now, '\Y\m\d\h\i\s') | '_' | NumberToString (Rand()*1000000000);
TargetView= pToCube | 'tempClear' | getProcessName() | '_' | timSt(now, '\Y\m\d\h\i\s') | '_' | NumberToString (Rand()*1000000000);

#--------------------------------------------------
# Create views
#--------------------------------------------------

#Source
if(ViewExists(pFromCube, SourceView)=0);
viewCreate(pFromCube, SourceView,1);
endif;
#target
if(ViewExists(pToCube, TargetView)=0);
viewCreate(pToCube, TargetView,1);
endif;

ViewCreate (cubetouse, viewnametouse, a 1 here make the view only exist in this process section..)

ViewCreate(Cube, ViewName, <AsTemporary>);

Argument

Description

Cube The parent cube of the view you are creating.
ViewName The name you want to assign to the view.
AsTemporary This is an optional argument that specifies whether the view being created is temporary. 1 indicates a temporary view, 0 indicates a permanent view.

If this argument is omitted, the view is permanent.

More Information:

ViewCreate – IBM Documentation

For TM1® Server version 11.2.0 and earlier, temporary views were visible and usable only by the process that created it and any of its child processes. Temporary views were not visible to the ancestor and sibling processes. You could create same-named views in sibling child processes with the same parent process.

For TM1 Server version 11.3.0 and later, these temporary views are visible to the ancestor and sibling processes. If a parent TurboIntegrator process A invokes two child TurboIntegrator processes A1 and A2, and the child TurboIntegrator process A1 creates a temporary view S, the temporary view S exists for the duration of the parent TurboIntegrator process A. You cannot create a temporary view with the same name S in the sibling TurboIntegrator process A2 since the view is visible and usable by siblings A1 and A2.

Create a very large dimension in Cognos TM1 using Turbo Integrator (TI) – Ever Analytics

Wim‘s Excel, TM1 & soccer site

What’s new in IBM Planning Analytics – IBM Documentation

Product:
Planning Analytics 2.1 Architect
Microsoft Windows 2022 server
Cognos Analytics 12.0.3

Issue:

After change in Cognos Configuration, you can not login from TM1 Architect, but you can login with TM1WEB.

Error you get: tm1camclient

Solution:

Inside Cognos Configuration for CA12, change the Edit Global Configuration under Action menu.

Remove the dot in front of the server domain name.  So it says servername.domain.com instead of .servername.domain.com

The clue, it can be .domain.com, then it should work best if you only have one CA server to work with. If you have the servername in global settings then you should not use the period first.

Also ensure that the GATEWAY URL is the same in both Cognos Configuration and TM1S.CFG file

In the TM1S.CFG file it should be like this

ServerCAMURI=http://servername.domain.com:9300/p2pd/servlet/dispatch
ClientCAMURI=http://servername.domain.com:80/ibmcognos/bi/v1/disp

Then in TM1 architect under FILE – OPTIONS you enter the servernname to TM1 e.g. servername.domain.com and update.

Also change the value for “Allow session information to be shared between client applications” – change it to False can help solve the issue.

Save and restart CA12 service for the changes to take affect.

 

More Information:

Users are not able to log into Cognos Connection after setting a Domain property in the Global Configuration Cookie Settings. Submitting a login results in the user being redirected back to the login page without an error.

Diagnosing The Problem

Users unable to log in, are looped back to login page without error.

Resolving The Problem

Use the same server name qualification as that specified in the Domain property of the Global Configuration Cookie Settings.

Example:

Domain property: .travelinfo.co.nz

Prior to configuring this property, users accessed Cognos Connection using the servername ( http://servername/ibmcognos ). This URL no longer works with the Domain property set.

You will need to use the fully qualified server name in the URL to access Cognos Connection.

http://servername.travelinfo.co.nz/ibmcognos

An error message ‘Error with CAM Passport’ is seen when attempting to login into a TM1 server with Architect and Perspectives. The TM1 server uses CAM security (IntegratedSecurityMode 4 or 5 in the tm1s.cfg file). No error is seen during CAM authentication in TM1Web.


Cause

Incorrect Cookie Domain setting in Cognos Configuration for the Cognos BI Server used for CAM authentication.

Resolving The Problem

On each Content Manager server in your environment, remove or correct the Cookie Domain setting from Cognos Configuration. This setting can be access in Cognos Configuration from the Actions -> Edit Global Configuration… menu option.

Question

Multiple IBM Cognos installation in same domain Unable to open Cognos Connection when using the same browser instance, where another Cognos instance was opened before.

Cause

Same domain.
Answer

Launch “IBM Cognos Configuration -> Action -> Edit Global Configuration -> General” and configure the Cookie settings “Domain” and “Path” for each installation

Example:
Domain : .server1.domain
Path : /ibmcognos/

Domain : .server2.domain
Path : /ibmcognos/

Note: Do not forget the point before the server name.


Not sure of what is the correct setting in EDIT GLOBAL CONFIGURATION, you need to test what will work in your windows environment. Test to login to both your Cognos Analytics servers from same web browser, and from TM1 architect pointing to different TM1 servers.

 

Product:

Microsoft Azure Blob Storage

Issue:

When you run ETL script to send files to your BLOB storage you get a error like this:

HTTP Status Code: 403 HTTP Reason Phrase: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.

Signature not valid in the specified time frame:

 

Possible Solution:

Please check if the SAS KEY you use in your script have expired.

Create a new SAS KEY and insert that in your script to upload files, to solve the issue.

 

More Information:

https://learn.microsoft.com/en-us/azure/storage/common/storage-sas-overview 

https://learn.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?tabs=azure-portal

https://markheath.net/post/upload-azure-blob-storage-sas

https://community.boomi.com/s/article/How-to-Create-a-Azure-Blob-Shared-Access-Signature-Token

A Shared Access Signature (SAS) token is a unique string of encrypted text that encapsulates all the necessary details needed to authenticate a shared signature to access Azure Storage services. It also determines which service and resource can be accessed, the permissions granted, and the validity period of the signature.

If we look at the specifics of these tokens, there are 3 types of SAS tokens: Account SAS, Service SAS, and User Delegation SAS. This blog walks through Account SAS tokens specifically, as this is the type of token used to access storage, which is a critical (if not the most critical) point of failure in data security.

Account SAS Tokens

SAS tokens are encrypted codes in the form of URIs (Uniform Resource Identifier) that grant specific access rights to one or more Azure Storage resources, such as Azure Blob Storage, Azure File Storage, and Azure Queue Storage. Compared to other tokens, this extensive access means it’s crucial to handle Account SAS carefully to prevent unauthorized data access.

https://www.cyera.com/blog/understanding-the-risks-of-azure-sas-tokens 

Explanation of parameters:

sv: The storage service version.
ss: The signed services, in this case, blobs.
srt: The signed resource types, in this case, service (s), container (c), and object (o).
sp: The signed permissions, in this case, read (r).
se: The expiry time for the SAS token (2024-04-10T23:59:59Z).
st: The start time for the SAS token (2024-04-08T00:00:00Z).
spr: The signed protocol, in this case, HTTPS.
sig: The signature, which is a hashed value generated using your account key and the specified parameters.

https://bigid.com/blog/understanding-azure-sas-tokens/

Product:

Planning Analytics 2.0.x – 2.1.13
TM1 Architect

Issue:

How can i set a WEBSHEET page as default for all people who login to TM1WEB?

Solution:

Create a websheet and publish it as public, under a folder in your applications, from TM1 Perspective or PAFE.

Then go into TM1 Architect as Administrator.

Right click on your TM1 instance/application and select security – clients/groups

In the dialog – click on Settings.

At homepage – click on browse and select the websheet you want to use.

At apply to select All Clients.

Click Apply settings.

Click OK.

Now this page will show for all users when they login to the Application in TM1WEB.

If you change the websheet in any why, you need to repeat above steps, as this setting is lost when you publish a new websheet.

More Information:

https://www.ibm.com/docs/en/planning-analytics/2.0.0?topic=analysis-publish-workbook-tm1-server-application-folder 

https://www.pantarhei.at/wp-content/uploads/2024/09/IBM-Planning-Analytics-2.1_TM1_Web_User_Guide.pdf

IBM Planning Analytics Tips & Tricks: Custom landing pages for TM1 Web

https://code.cubewise.com/blog/the-revenge-of-tm1-web/

IBM Planning Analytics Tips & Tricks: Application Websheet Folders

 

 

Product:
Cognos Analytics 12.0.3
Microsoft Windows 2022 server

Issue:

When try to login to CA12 direct from EDGE on the server you get a error:

504 Gateway Timeout: remote server did not respond to the proxy

The webserver reported that an error occurred while trying to access the website. Please return to the previous page.

Solution:

Check that you not are using a proxy, that not allow you to surf on the server.

Go to control panel

Go to system

Search for proxy

Select Proxy settings

Check that manual proxy setup is OFF.

Test again in your web browser to access the IBMCOGNOS site.

 

More Information:

https://schoolsit.wcgschools.gov.za/index.php/knowledge-base/86-how-to-manually-change-your-proxy-settings-on-windows-10

https://brightdata.com/blog/how-tos/set-up-a-proxy-in-windows-10

https://en.wikipedia.org/wiki/Proxy_server

 

Product:

Microsoft SQL server 2022

Issue:

When on the server try to login with a SQL account in SSMS you get a error:

TITLE: Connect to Server
ADDITIONAL INFORMATION:

A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 – The certificate chain was issued by an authority that is not trusted.) (Microsoft SQL Server, Error: -2146893019)

For help, click: https://docs.microsoft.com/sql/relational-databases/errors-events/mssqlserver–2146893019-database-engine-error

The certificate chain was issued by an authority that is not trusted

 

Solution:

Mark Trust Server Certificate and click connect.

 

More Information:

https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0109476

https://blog.netnerds.net/2023/03/new-defaults-for-sql-server-connections-encryption-trust-certificate/

https://www.mssqltips.com/sqlservertip/3299/how-to-configure-ssl-encryption-in-sql-server/

https://help.akana.com/content/current/sp/platform_install/install_db_mssql.htm

How to Use a Query to Check an SSL Certificate in SQL Server

Product:

Cognos Analytics 12.0.3
Microsoft Windows 2022 server

Issue:

When you look into the cognosserver.log file you find entries like this:

ERROR Audit.Other.DISP.com.cognos.pogo.handlers.engine.ServiceLookupHandler

ERROR com.ibm.bi.platform.commons.web.BIResponseWrapper

Request http://www.ibm.com/xmlns/prod/cognos/sacamsrvc-auth/202311/ Failure <messages><message><messageString>The client did something wrong.
/v1/disp/ibmcognos/sso/cisapi/bi/v1/login user-profile-service 2040 HttpServletResponseCode for /user-profile-service/v1/login is in error: 599

Solution:

As of IBM Support this are not errors. You can ignore them.

They happen when you login with IIS and SSO.

If the user login to the dispatcher direct they do not exist:  http://caservername.domain.com:9300/p2pd/servlet/dispatch

Here is no SSO, so they have to enter there name and password.

 

More Information:

To check if content manager is up use http://caservername.domain.com:9300/p2pd/servlet

https://www.ibm.com/support/pages/which-roles-and-features-need-be-installed-when-installing-iis-windows-server 

Configuring IIS in Cognos Analytics – IBM Documentation

 

Product:

Cognos Analytics 12.0.3
Microsoft Windows 2022 server

Issue:

When saving in Cognos Configuration where you have setup SSO to AD, you get a error like below:

[ ERROR ] CAM-AAA-0146 The namespace ‘AD’ is not available.

[ ERROR ] CAM-AAA-0064 The function ‘Configure’ failed.

[ ERROR ] CAM-AAA-0089 The provider is not initialized.

[ ERROR ] CAM-AAA-0036 Unable to authenticate because the credentials are invalid.

[ ERROR ] ADSI Error:

8009030C: LdapErr: DSID-0C090604, comment: AcceptSecurityContext error, data 52e, v3839

System Error:

The user name or password is incorrect.

Solution:

You must start the cognos configuration program with a user that is part of the Active Directory domain. The credentials is passed to the AD DC server, and therefor you get this error. Same error will happen when you do a test.

You can also populate the BINDING with a valid AD user name and password, preferable for a service account, that do not change the password. If the BINDING is filled in, then you can run cognos configuration with a local user that is not part of the domain.

When the IBM Cognos Windows service is run by a valid AD user, then the user credentials who are logging in are passed to the AD DC server, for gathering of information – like what AD groups does the person belong to.

 

 

 

More Information:

https://www.ibm.com/docs/en/cognos-analytics/12.0.x?topic=providers-configuring-cognos-components-use-active-directory-server 

https://www.ibm.com/docs/en/cognos-analytics/12.0.x?topic=analytics-configuring-authentication-providers 

https://www.ibm.com/docs/en/cognos-analytics/12.0.x?topic=new-known-issues-in-120x 

Product:

Microsoft SQL azure

Issue:

In a view, we want to exclude all text in column “konto” after character ” – ”

Solution:

In the select statement use something like this:

IIF (SUBSTRING ([Konto],1, CHARINDEX (' - ',[Konto])) ='', [Konto] ,SUBSTRING ([Konto],1, CHARINDEX (' - ',[Konto]))) as [Konto]

 

Substring extract text in column konto from first position to where we find the – character, this position is given with charindex, and then we check if the result is empty. In case the string does not contain a -, then we get a empty value. Then we show the orginal value – otherwise we show the substring without all text after – in the field.

SUBSTRING(string, start, length)

CHARINDEX(substring, string, start)

IIF(condition, value_if_true, value_if_false)

More Information:

SUBSTRING, PATINDEX and CHARINDEX string functions in SQL queries

 

https://www.w3schools.com/sql/sql_isnull.asp

https://www.geeksforgeeks.org/sql/sql-statement-to-remove-part-of-a-string/

https://help.zebrabi.com/kb/power-bi/sort-a-hierarchy-by-custom-sort-logic/

https://www.w3schools.com/sql/func_sqlserver_substring.asp

https://www.w3schools.com/sql/func_sqlserver_iif.asp