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.

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.2.1","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"}}]

Log InLog in 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 Log in button above to access the full document. 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

Modified date:
08 May 2025

UID

swg21962881