Error Opening Document, Ensure Word Application Is Installed. If Already Installed, An Office Repair May Be Required

Microsoft Office is installed on the machine and then tries to run the job using the respective activities it fails with the error " Error opening document, make sure Word application is installed. If already installed, an office Repair may be required" .

Troubleshooting Steps:

  1. Find the Microsoft Office Issues documentation for Repair Tool for Microsoft Office. If the issue persists, verify the below
  2. If Word application scope is being used, a Word application should be installed on the respective machine
  3. If Word is not installed, use Word document activities
  4. Verify if Word/Excel can be opened as a human user without any issue

If the issue persists. Reach out to the local IT team and execute the following steps.

  1. Check for the older versions of Office and delete the extra libraries:

Process:

  1. When the job is kicked in, the Robot looks for the Libraries of the target application
  2. Once the required library is found, the Robot will be able to perform actions.

Issue/Cause:

The Robot is failing to find and match the library of the currently installed version of Office which is expected to happen when libraries are missing or when there is more than one library for the same application.

Solution:

The solution here will be to review the registries(from regedit.exe) on each user’s machine, for each office application and remove unused libraries leaving the current version of the office library or adding the library for the current version if it is missing.

  1. Run Microsoft Repair with the firewall turned off:

Try to temporarily turn off the firewall, proxy, and anti-virus software on the computer, and check if Online Repair Office can work fine.

If the issue persists. Collect Diagnostic tool logs and open a UiPath Product Support ticket.