Hola!
Al iniciar una ejecucion de una automatizacioo que reeplaza texto en una plantilla de word, tengo el siguiente error:
{
“message”: “System.Runtime.InteropServices.COMException (0x800A17C0): La función que está intentando ejecutar contiene macros o contenido que requiere soporte de lenguaje de macros. Cuando se instaló el software, el usuario (o el administrador) no instaló las características necesarias para admitir macros o controles.\r\n at Microsoft.Office.Interop.Word.Documents.Open(Object& FileName, Object& ConfirmConversions, Object& ReadOnly, Object& AddToRecentFiles, Object& PasswordDocument, Object& PasswordTemplate, Object& Revert, Object& WritePasswordDocument, Object& WritePasswordTemplate, Object& Format, Object& Encoding, Object& Visible, Object& OpenAndRepair, Object& DocumentDirection, Object& NoEncodingDialog, Object& XMLTransform)\r\n at UiPath.Word.WordDocument…ctor(String documentPath, Boolean createNew, Boolean readOnly, Boolean attachOnlyIfFileOpen, Boolean attachToAnyFile)\r\n at UiPath.Word.Activities.WordApplicationScope.Execute(NativeActivityContext context)\r\n at System.Activities.NativeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)\r\n at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)”,
“level”: “Error”,
“logType”: “User”,
“timeStamp”: “12:36:31”,
“fileName”: “GlobalHandlerX”,
“jobId”: “78e1d31e-2594-4b27-b716-88210097f581”,
“robotName”: “gcytautomatizaciones@hotmail.com-attended”,
“machineId”: 4173078,
“processVersion”: “1.0.0”,
“organizationUnitId”: 5685684
}
El word de la compu que estoy usando no es el oficial, y creo que debe ser algo de eso. Lo RARO del error es que poniendo reintentar arranca a funcionar normalmente. Aclaro que el error aparece cuadndo abre el archivo de word, pero una vez aprieto reintentar arranca y no vuelve a mostrar errores, salvo que se repita con otros documentos. Cada vez que se abre un doc de word tira el error. Alguna forma de solucionarlo?
As you pointed it might be a unlocensed version issue
As you are sayingn it works when retry…try to use a retry scope around it so that it retried when dailed automatically and it should solve the issue
Cheers
Should it look like this? Because the error still appears and i have to press retry every time it opens the word file (it’s inside an iteration)
Is your word file macro enabled?
Where can i check that?
The robot opens the word file, shows the error, I manually press retry and it continues well with the process. But using the try scope didnt go well, it’s still the same. Should i place the try scope inside the use word file activity?
We can check by file extension. What’s the extension?
Can you show a screenshot of error…we want to see on which activity it is occuring
Cheers