IBM Support

'Could not load an object because it is not available on this machine' when opening Perspectives

Troubleshooting


Problem

User launches Perspectives. User receives an error. User clicks OK. A second error appears.

Symptom

Error #1:

Microsoft Forms

Could not load an object because it is not available on this machine.

[OK]

Error #2:


Microsoft Visual Basic for Applications

Compile error in hidden module: MenuFuncs.

This error commonly occurs when code is incompatible with the version, platform, or architecture of this application. Click "Help" for information on how to correct this error.

Cause

Incompatible/unregistered shared Microsoft file ("mscomctl.ocx") on client device.

More Information:
Microsoft had a security update in August 2012 (see http://technet.microsoft.com/en-us/security/bulletin/ms12-aug) which updated the mscomctl.ocx common control file (which is required by Perspectives to integrate with Excel).

Environment

Client device using Excel 2007 or 2010.

Resolving The Problem

Fix:

Download the latest Windows security updates to obtain the latest common control file.

Workaround:

It is possible to manually register a 'good' version of "mscomctl.ocx" by copying the file (from a working client device) and manually registering the file.

In one real-life case:

  • 'bad' version of 'mscomctl.ocx' = 6.01.9818 (6.1.98.18)
  • 'good' version of 'mscomctl.ocx' = 6.01.9839 (6.1.98.39)


The steps to register the new OCX file is:
1. Click Start, type cmd.
2. Right-click the cmd icon, and then click Run as Administrator.
3. Depending on your operating system:
  • For 64-bit operating systems, type the following:
Regsvr32 /u "C:\Windows\SysWOW64\MSCOMCTL.OCX"
Regsvr32 "C:\Windows\SysWOW64\MSCOMCTL.OCX"

  • For 32-bit operating systems, type the following:
Regsvr32 /u "C:\Windows\System32\MSCOMCTL.OCX"
Regsvr32 "C:\Windows\System32\MSCOMCTL.OCX"

[{"Product":{"code":"SS9RXT","label":"Cognos TM1"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"TM1 Perspectives","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.1.1","Edition":"All Editions","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2018

UID

swg21631845