Saving an Excel file to network drive doesn't work

Tomáš Sláma 1 Reputation point
2021-10-31T19:21:15.4+00:00

I have a Microsoft Server 2019 Standard with MS Office installed. I also have a Linux server that shares each user's ~/windows/ directory through Samba with their Windows account when they're logged in (as a network drive). However, when they attempt to save an .xslx file located in the said directory, the following error appears:

Microsoft Excel cannot access the file 'D:\\<username>\AppData\Local\Microsoft\Windows\INetCache\Content.MSO\53B87310'.

There are several possible reasons:

- The file name or path does not exist.

- The file is being used by another program.

- The workbook you are trying to save has the same name as the currently open workbook.

None of the above is true - the file exists, doesn't seem to be used (since it's a temporary file created by Excel) and there is no Workbook name collision.

Saving the file locally (to Desktop, for example) works without any issues. Saving a file as Administrator to the network drive works without any issues too, which hints at problems with privileges.

Any help would be much appreciated!

Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,755 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-10-31T19:44:57.363+00:00

    I'd check the user has read, write, modify, delete permissions on the location. Check both the share and underlying NTFS effective permissions.

    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc771586(v=ws.11)

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.