IBM Support

'Auto create data caches' progress starts but does not complete configuring data caches

Troubleshooting


Problem

Cognos Analytics dashboard authors can encounter a progress indicator in the 'Configure data caching' panel that starts but does not complete the process of auto creating data caches.

Symptom

The symptom of the problem can be encountered when executing the following steps to create data caches for the first time:
  1. Open a dashboard
  2. Select the 'Edit' toggle to switch to edit mode
  3. Select 'Properties' to open the properties panel
  4. In the properties panel, expand the section 'Advanced' 
  5. For the property named Configure local cache, select 'Edit'
  6. Select 'Auto create data caches'
The progress indicator that appears in the 'Configure data caches' panel starts but never completes by presenting a list of data caches
The following error appears in the console of the browser developer tools:
Uncaught (in promise) TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'

Cause

This process that can start but never complete happens when attempting to create data caches on an environment where one of the following conditions exists:
  • the Apache HTTP Server or IBM HTTP Server is using configuration files that has not been updated manually.
  • Cognos Analytics has been upgraded from an older version and the Apache HTTP Server or IBM HTTP Server sample configuration files were preserved.
New parameters have been introduced to the HTTP Server template configuration files that must be included in any existing and preserved configuration files. These files can include, but are not limited to, the Apache HTTP Server httpd.conf file.

Resolving The Problem

To resolve this issue ensure all HTTP Server configuration files on the system contain the new parameters, including but not limited to files based on the following templates in installation_location\cgi-bin\templates:
  • cognos_apache22_loadbalance.conf
  • cognos_apache22_loadbalance_SSO.conf
  • cognos_apache24_loadbalance.conf
  • cognos_apache24_loadbalance_SSO.conf
  • cognos_IHS9.conf
  • cognos_IHS9_SSO.conf

For each of the HTTP Server configuration files, perform the following steps:

  1. Navigate to where the HTTP Server configuration files are stored.
  2. Open the file in a text editor.
  3. Edit the file to add the following lines:
    <IfModule mime_module>
        AddType application/wasm wasm .wasm
    </IfModule>
  4. Save the file.
When all of the HTTP Server configuration files have been updated, restart the Cognos Analytics service.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m0z0000001jleAAA","label":"Dashboard"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.0.0;and future releases"}]

Document Information

Modified date:
14 June 2023

UID

ibm16997029