Forum Discussion

dkarthik363's avatar
dkarthik363
Copper Contributor
Mar 21, 2024

System.Runtime.InteropServices.COMException (0x800A175C): The context cannot be modified.

Hi All,

After moving from AIP to built-in labeling , we are getting this exception while launching the word.

ERROR KEYBINDING 698 failed for macro: Variable
System.Runtime.InteropServices.COMException (0x800A175C): The context cannot be modified.
   at Microsoft.Office.Interop.Word.KeyBindings.Add(WdKeyCategory KeyCategory, String Command, Int32 KeyCode, Object& KeyCode2, Object& CommandParameter)
   at myapp.myapp.Bind()
EXCEPTION SOURCE: Microsoft Word
 
This happens only with after enabling the built-in labeling and disabling the AIP. if we move back to AIP, its working fine, but as from April 1 2024, AIP is being removed, so we have moved to built-in labeling.
Does this requires any policies modifications to microsoft account, could you guide us on this.
 

Resources