IBM Support

Error 'Attempted to read or write protected memory' when saving changes in 'Form Structure Define' with Excel 2007 SP2

Troubleshooting


Problem

User launches Controller, and clicks 'Maintain - Forms - Define'. User selects a form (for example 'ABC') and clicks the 'Send to Excel' icon. The form opens in Excel. User adds some Controller formulae (for example to get the company "code" and form "code"). User presses save. This works OK. User then adds some more Controller formulae (for example 'cc.fFormName' or 'cc.fCompName'). User presses save icon. User receives error message. TIP: You may find that if you are trying to edit a “free form”, then do NOT get the problem In other words, this problem may only affect editing a “standard” form.

Symptom

Information
Standard Error
Source: mscorlib
Description: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
[OK]

TIP: If the end user tries to repeat the save, they may receive the following different error:

Information
Standard Error
Source:
Description: Exception from HRESULT: 0x800A03EC
[OK]

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.5.1;8.5;8.4","Edition":"All Editions","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

More support for:
IBM Cognos Controller

Software version:
8.5.1, 8.5, 8.4

Operating system(s):
Windows

Document number:
128251

Modified date:
08 May 2025

UID

swg21406082

Manage My Notification Subscriptions