IBM Support

** Troubleshooting ** "Cannot run the macro 'cc.CompareDb'. The macro may not..." when launch Excel via the Controller Excel link button

Troubleshooting


Problem

User launches the main Controller client (CCR.EXE). User clicks the green 'X' (to launch the Controller link). Excel starts to load. After a few seconds, an error appears.

Symptom

The error will vary slightly depending on version of Controller.

Example #1 (Controller 10.4.2):

image 4754

Error Launching menu item "Controller Link"

Cannot run the macro 'cc.CompareDb'. The macro may not be available in this workbook or all macros may be disabled.
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
at Cognos.Controller.Forms.Common.fFrmFrangoFunc.RunExcelMacro(Object xlApp, Object& macro, Object[] args)
at Cognos.Controller.Forms.Common.fFrmFrangoFunc.InitExcelLink(Object& xlApp, String sText, Int32 excelProcessId)
at Cognos.Controller.Forms.ControllerMDI.DoAction(Int32 iMenuIDNumber, ControllerMenuItem ClickedItem)

Example #2 (Controller 10.2.1):


Error Details
Cannot run the macro 'cc.CompareDb'. The macro may not be available in this workbook or all macros may be disabled.

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSMRTZ","label":"IBM Cognos Controller on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Cognos Controller

Software version:
All Versions

Operating system(s):
Windows

Document number:
273107

Modified date:
08 May 2025

UID

swg21971878

Manage My Notification Subscriptions