system.runtime.interopservices.comexception UiPath I am getting this Exception So that inbetween Some Word Files are Converting but some file are not Converted
I am Looping through all the word files in a folder and trying to to save it in PDF format in another folder meanwhile I am getting this error
System.Runtime.InteropServices.COMException error in UiPath typically indicates an issue when working with COM objects, such as Microsoft Word in your case. This error can occur for various reasons, such as problems with file access, file corruption, or issues with the COM interop.
Is their any Solution to overcome it
Include those possible activities that can fail within a RETRY SCOPE activity where inside the ACTION Block first place a KILL PROCESS with ProcessName as “WINWORD” and then place the activity that you found as failing
Workflows\WordFile_to_PDF_File_Conversion.xaml - Invoke Workflow File: Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run. Please ensure that the workflow has been compiled. Getting this error while placing Kill Process activity I have entered Process Name section I have entered “WINWORD” String
Thank you Palaniyappan for your suggestion
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.