Overview
An Office application such as Word or Excel could not open a document in M-Files when opening it via Recent files in a certain scenario.Impacted Products and Versions
M-Files Online or M-Files 2018 with Office 365.Symptoms
Opening the Recent view of Word and clicking on a recent document in M-Files results in error "Word experienced an error trying to open the file".
Similarly, Excel stops opening a document due to error "Sorry, we couldn't find…".
Solution / Workaround
Log in to the document vault
This error is avoided by first logging in - Using your user credentials - to the document vault where the document resides in. Being logged out prevents Office applications from accessing recent files opened in M-Files. You can check whether you are logged in via the Show Status dialog as illustrated here:Right click on the M-Files icon on the status bar and select Show Status.
See if you are logged in - It is indicated by your username being displayed on the "Logged In" column. To log in here, select the document vault and click on the "Log In" button which appears.
Unblock your file
Please, follow instructions of this Microsoft support article to unblock your document and add it to a trusted folder location: https://support.microsoft.com/en-us/topic/how-to-resolve-the-problem-word-experienced-an-error-trying-to-open-the-file-when-opening-a-word-2007-2010-file-easy-fix-article-0903bb9b-d8e4-aabd-0364-f832d26ecff7
Disable Protected View options
- Click on Word’s File tab.
- Next, click Options on the left of the File tab.
- Select the Trust Center tab.
- Press the Trust Center Settings button.
- Click Protected View to open the options window
- Deselect all three of the selected Enable Protected View checkboxes.
- Press the OK button to close the Trust Center window.
- Click OK to exit Word Options.
- Open MS Word.
- Click Open on Word’s File tab.
- Select the Browse option.
- Select the Word document the error arises for.
- Click the Open button’s small arrow to open the submenu in the shot directly below.
- Select the Open and Repair option.
