The message filter indicated that the application is busy

0

When I try to read content of word doc by oWordDoc.Content, It throws exception:

The message filter indicated that the application is busy. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))

I tried OApplication.Visible = false, It also did not work.

c#
ms-word
asked on Stack Overflow Apr 20, 2015 by seemaA • edited Apr 21, 2015 by leppie

1 Answer

0

I think there is another instance of msword already working on background, maybe invisible and displaying some message box nobody will click on. Try to kill that instance by task manager, then try to ensure you are closing msword when you use it in automation.

answered on Stack Overflow Apr 21, 2015 by Felice Pollano

User contributions licensed under CC BY-SA 3.0