Word Application scope - Not working

Hi, I know it sounds crazy when the working code all of a sudden fails with some reason. a normal proof of concept with the word document replacement (Replacing text with the defined value) gives error all of a sudden. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER)

I used : Word application scope.
Package : UiPath.word.activities - version 1.3.4
Word version : 2016.

Exact Error :

Source: Replace Text

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

Exception Type: System.Runtime.InteropServices.COMException

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Runtime.InteropServices.COMException: The message filter indicated that the application is busy. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))
at UiPath.Word.Activities.WordInteropActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.Word.Activities.WordReplaceText.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Though its a common error, trying to find out what would be the cause of this issue. feel free to provide any suggestions.Any help is appreciated!

Is your MS office activated? When you open your Ms Office Word, does it shows pop up dialog box?

Before to that WORD APPLICATION SCOPE use a KILL PROCESS activity with ProcessName property as “WINWORD” and then use Word application scope

Cheers @Pradeep.Robot

1 Like

yes it is activated, and it is updated version as well.

@Palaniyappan - I tried this before dropping the post, it din work either.

Hmm it woukd work actually
Kindly uninstall the word package once and install it again and try once
Cheers @Pradeep.Robot

@Palaniyappan - may be its not so easy, as its office laptop. would need to provide the valid reason for that. what would be the reason that needs to be uninstalled? just wanted to make sure if the same thing happens with production, it would be very difficult.

1 Like

But this error looks like some issue with office suite
When I check this with msdn docs
Anyhow To ensure once with more definition, kindly check k once with the uipath technical team in this

Cheers @Pradeep.Robot

I’m getting the same issue myself, has there been any resolution?

I found the solution for this issue, instead of using word application scope - if you could use the direct functionality like eg. “Replace text” you wont get any error. interesting part is, u dnt even need to have office installed to do this operation. its super cool isnt it?


KK that was a huge find!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.