IBM Support

"Standard Error ... Exception from HRESULT: 0x800401A8 ... Boolean RHS ... CloseActiveWorkbook" when opening and closing multiple Data Entry forms

Troubleshooting


Problem

User launches the main Controller client (CCR.EXE). User clicks "Company - Data Entry - Reported Values". The 'selection' screen appears. User types in the parameters, and clicks 'Open'. Excel appears, containing the data entry form. User clicks "Intercompany" and types in a value for the relevant cell. User clicks "Save Data". This works OK. User now closes the Excel sheet, then clicks "Data Entry" (whilst inside Excel) and repeats the above steps.

Symptom

Error message:

Standard Error

Source: Microsoft.Office.Interop.Excel
Description: Exception from HRESULT: 0x800401A8
at Microsoft.Office.Interop.Excel.WorkbookClass.set_Saved(Boolean RHS)
at Cognos.Controller.ControllerForms12.clsDataEntry.CloseActiveWorkbook (Boolean doClose)

Method to reproduce:
1. Launch main Controller client (CCR.EXE)
2. Click "Company - Data Entry - Reported Values". Type in parameters, and click 'Open'
3. Inside Excel, select a valid cell, and click 'Intercompany'. The "Intercompany Details" box appears:


4. Type in value, and click "Save Data":


5. Crucially, the user now clicks 'Close Window' inside Excel (to close the Data Entry form, but not Excel itself):


6. User now clicks 'Data Entry' from within Excel itself:


(or the same problem occurs if they use the CCR.EXE client menu item:
)

7. User fills in the parameters, and clicks 'Open':


The error appears.

Cause

There are several different possible causes for similar error messages.

  • For more examples, see separate IBM Technote #2010726.

This Technote specifically relates to the scenario where the cause is a defect in Controller 10.2.5100.105 and earlier.

Environment

Controller 10.2.5100.105 and some earlier versions.

Resolving The Problem

Fix:
Upgrade to Controller 10.2.5110.85 or later.

Workaround:
Do not close the Excel data entry sheet in between opening a new data entry form.

  • In other words, do not perform step 5 (see above).

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.2.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2018

UID

swg21962881