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

dkarthik363 0 Reputation points
2024-03-22T07:02:43.36+00:00

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.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.

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
856 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,924 questions
Word Management
Word Management
Word: A family of Microsoft word processing software products for creating web, email, and print documents.Management: The act or process of organizing, handling, directing or controlling something.
923 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.