IBM Support

Intermittent "Attempted to read or write protected memory ... System.AccessViolationException ... InvokeDispMethod" error, using Data Entry or running a report, caused by Click-to-Run MS Office

Troubleshooting


Problem

User is inside Excel. User tries to use the Data Entry or Report functionality. Intermittently, an error appears.

Symptom

Example:
(Inner Exception)
Date and Time: 1/16/2018 9:25:43 AM
Machine Name: PCNAME
IP Address: fe80:
Current User: DOMAIN\username

Application Domain: C:\Program Files\IBM\IBM Cognos Controller Local Client\
Assembly Codebase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
Assembly Full Name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Assembly Version: 4.0.0.0

Exception Source: mscorlib
Exception Type: System.AccessViolationException
Exception Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Exception Target Site: InvokeDispMethod

---- Stack Trace ----
System.RuntimeType.InvokeDispMethod(name As String, invokeAttr As BindingFlags, target As Object, args As Object[], byrefModifiers As Boolean[], culture As Int32, namedParameters As String[])
mscorlib.dll: N 00000 (0x0) JIT
System.RuntimeType.InvokeMember(name As String, bindingFlags As BindingFlags, binder As Binder, target As Object, providedArgs As Object[], modifiers As ParameterModifier[], culture As CultureInfo, namedParams As String[])
mscorlib.dll: N 0492 (0x1EC) IL
Microsoft.VisualBasic.CompilerServices.VBBinder.InvokeMember(name As String, invokeAttr As BindingFlags, objType As Type, objIReflect As IReflect, target As Object, args As Object[], namedParameters As String[])
mscorlib.dll: N 0129 (0x81) IL
Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateSet(o As Object, objType As Type&, name As String, args As Object[], paramnames As String[], OptimisticSet As Boolean, UseCallType As CallType)
mscorlib.dll: N 0672 (0x2A0) IL
Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSet(Instance As Object, Type As Type, MemberName As String, Arguments As Object[], ArgumentNames As String[], TypeArguments As Type[], OptimisticSet As Boolean, RValueBase As Boolean, CallType As CallType)
mscorlib.dll: N 0083 (0x53) IL
Cognos.Controller.ControllerForms12.clsDataEntry.ActivateStandardForm(bDataEntry As Boolean)
mscorlib.dll: N 1781 (0x6F5) IL
Cognos.Controller.ControllerForms12.clsDataEntry.ActivateDataEntryForm()
mscorlib.dll: N 0452 (0x1C4) IL
Cognos.Controller.ControllerForms12.clsDataEntry.OpenSelectedForm(UserSelection As UserParameters&, openType As OpenType)
mscorlib.dll: N 0295 (0x127) IL
Cognos.Controller.ControllerForms12.clsDataEntry.DoDataEntry()
mscorlib.dll: N 0314 (0x13A) IL
Controller.ExcelLink.AddinModule.btnDataEntry_OnClick(sender As Object, control As IRibbonControl, pressed As Boolean)
mscorlib.dll: N 0017 (0x11) IL
AddinExpress.MSO.ADXRibbonButton.DoInternalAction(e As ADXRibbonOnActionEventArgs)
mscorlib.dll: N 0035 (0x23) IL

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

More support for:
IBM Cognos Controller

Software version:
10.3

Operating system(s):
Windows

Document number:
303045

Modified date:
08 May 2025

UID

swg22012649

Manage My Notification Subscriptions