This error occurs when you try to save an Excel workbook in various circumstances.
“Your changes could not be saved to ‘ FileName ‘ because of a sharing violation. Try saving to a different file.”
Apple the official Microsoft Hotfix for Microsoft
This is a known problem with Microsoft.
- Download and install Hotfix 97050.
- Restart your Vontu services on the Enforce server and EDPA on the agent.
Allows you to index the Excel file.
It turns out that the main reason for this error is that the Excel file is in a folder that is not configured for its content to be indexed. More recent versions of Excel do not work well with folders in which this extended attribute is not enabled, so the sharing violation error is triggered accordingly.