Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

Outlook Error in M-Files "The process cannot access the file because it is being used by another process"

Last updated on 19 January 2026

Admin
M-Files Desktop

Overview

When opening and closing an .MSG file from M-Files while Microsoft Outlook is running, Outlook may retain a lock on the file. This can lead to an error when attempting to modify the metadata (MD) of the file in M-Files.

Error Message

FileCacheManager.cpp, 1254

The process cannot access the file because it is being used by another process. (0x80070020)

This error is caused by Outlook maintaining a lock on the .MSG file even after it has been closed. Unfortunately, this is a behavior specific to Outlook and cannot be directly resolved from within M-Files.

Solution


To avoid encountering this error, consider the following workaround:

  • Do not check out the file when modifying its metadata. Instead, leave the file checked in and open it directly from M-Files.

This issue is a known limitation due to how Outlook handles .MSG files. If the problem persists despite using the above workarounds, consider reaching out to your IT department or M-Files support for further assistance.

Still need help?

On this page