The basic troubleshooting to repair error Code 17031 is to repair the office program, if it fails we need to uninstall and re-install the program. The necessary steps may be helpful in understanding how to install Office and Uninstall/repair Office programs.