Hello Uipath family, I get an error when am trying to convert the world file to pdf I share the screen shoot bellow you please check.
The thing is pdf file is converted when am getting an error is when there is no file to convert pdf to word on that time I get an error I hope you people get my point at the end of the time its showing error why I don’t know please help me @Vajrang but pdf file is saved but the robot is not run successfully.
20.4.3
Source: Word Application Scope
Message: The file appears to be corrupted.
Exception Type: System.Runtime.InteropServices.COMException
RemoteException wrapping System.Runtime.InteropServices.COMException: The file appears to be corrupted.
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)
at UiPath.Word.WordDocument…ctor(String documentPath, Boolean createNew)
at UiPath.Word.Activities.WordApplicationScope.Execute(NativeActivityContext context)
at System.Activities.NativeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Thanks, Chethan P