Disable clutter Office 365 primary domain

FIX: An error occurred while accessing the Office Document Cache

“Microsoft office upload center found a problem while accessing the Microsoft office document cache” the basics.

It may happen that when you upload a Microsoft Office file you receive an error message that your Microsoft Upload Center has an error with the Office Document Cache. The Upload Center indicates in the error message that you can try to restart the Upload Center, and if the error message keeps coming back you can completely remove the Cache. Personally, I never delete the cache directly. I move it so that I can always put it back if problems arise.

Below the error message is a short manual with screenshots that describes how you can solve this problem.

Microsoft office upload center found a problem while accessing the Microsoft office document cache
Microsoft office upload center found a problem while accessing the Microsoft office document cache.

Let’s fix “the Microsoft office document cache encountered a problem”.. the tutorial.

right click task manager

Right click your taskbar and click on Task Manager, or press CTRL + R simultaneously, type in tskmgr.exe and click OK.

Keep the Processes tab open, sort on Name, and search for Microsoft Office Upload Center. Right click on Microsoft Office Upload Center and click on Go to details.

An error occurred while accessing the Office Document Cache. Close and repon the Upload Center to try again.
An error occurred while accessing the Office Document Cache. Close and repon the Upload Center to try again.

Here you can see all the processes that the Microsoft Office Upload Center uses. Click the Process and click End task. Make sure to kill all tasks that has something to do with the Upload Center.

An error occurred while accessing the Office Document Cache. Close and repon the Upload Center to try again.
An error occurred while accessing the Office Document Cache. Close and repon the Upload Center to try again.

Open Explorer (start > Search for explorer). And Go to the following path:
%userprofile%\AppData\Local\Microsoft\Office\15.0\

You can copy/paste this path if you’re using Microsoft Office 2013.

If you’re using 2016 the path is:
%userprofile%\AppData\Local\Microsoft\Office\16.0\

If you’re using a lower or (maybe in the future) higher version, go to this directory and open the numberic directory:

%userprofile%\AppData\Local\Microsoft\Office\

An error occurred while accessing the Office Document Cache. Close and repon the Upload Center to try again.
An error occurred while accessing the Office Document Cache. Close and repon the Upload Center to try again.

In this directory you will see a folder with folder name officeFileCache rename this folder to for example: OLD_officeFileCache.

If you click on the folder you can use F2 to rename a folder name.

Do not delete the folder (yet).

An error occurred while accessing the Office Document Cache. Close and repon the Upload Center to try again.
An error occurred while accessing the Office Document Cache. Close and repon the Upload Center to try again.

Now restart your computer and check whether the Upload Center is re-creating the folder. If it is re-created and your problems are fixed you can delete the old directory.


Summary

The complete error for if someone Google’s on another part:

Error 1:

An error occurred while accessing the Office Document Cache. Close and repon the Upload Center to try again.
An error occurred while accessing the Office Document Cache. Close and repon the Upload Center to try again.

 “An error occurred while accessing the Office Document Cache. Close and reopen the Upload Center to try again. If the problem persists, move or delete the cache in the Upload Center settings dialog box.”

Error 2:

The Microsoft Upload Center found a problem while accesing the Microsoft Office Document cache and needs to be repaired before it can continue.
The Microsoft Upload Center found a problem while accesing the Microsoft Office Document cache and needs to be repaired before it can continue.

“The Microsoft Upload Center found a problem while accesing the Microsoft Office Document cache and needs to be repaired before it can continue. As part of the repair a copy of the cache will be saved as a backup and a new cache will be created.”

Do you have any questions, comments, or other ideas? Then let me know in a comment below.

Published by

Bas Wijdenes

My name is Bas Wijdenes and I work as a PowerShell DevOps Engineer. In my spare time I write about interesting stuff that I encounter during my work.

25 thoughts on “FIX: An error occurred while accessing the Office Document Cache”

  1. It usually fixes the issue for the first time after reboot, but the error is occurring again even after a new folder of OfficeFileCache is recreated. What should be done?
    Should I go ahead and delete the old folder and retry?

    Also, i did not find any msouc.exe running in task manager, hence i skipped that part. Any suggestions??

  2. This worked – the MSFT help tells you to use the Settings dialog in the Upload Center app, but apparently things were so screwed up that it couldn’t even launch that – it would just hang. So I killed MSOSYNC (the name for the upload app) using Task Manager, and then deleted the files in %userprofile%\AppData\Local\Microsoft\Office\16.0 (note it is 16.0 for Office 2016) – for me, these were named OfficeFileCacheN where N was 3, 4, etc. I just nuked all of them and then it worked.

  3. Hi, I have a problem with upload center, it says Upload Pending. When we upload to the cloud it happends, but on our own network we do not have a problem. But this is really annoying because when your upload is pending and someone else opens the file, and then he saves it. the other person did not get the changes from the other user. It doesn’t happen to all the files. Is it maybe a problem because the people open up a file at the same time? I didn’t think that was possible..

  4. I came through step 5. But the file you mentioned by step 6 I couldn’t find it. I work in Windows 10. Do you know where it is? I have the issue with Office 365 by using One drive.

    1. Hi,
      Maybe this will solve your problem.
      You need to enable the hidden files and maps in control panel and then map options.

      Regards

      1. sorry its called file explorer options in cdontrol panel, choose view tab and click the radio button in the list : view hidden files, …

        1. Hey Roy,

          Thank you for coming back to my post and share this in the comments! Hopefully it will help others as well 🙂

  5. I can’t find the file you named by step 6 in Windows 10. Do you know where it is? I have the issue with Office 365 by using One drive.

    1. Look at %userprofile%\AppData\Local\Microsoft\Office\16.0 and look for OfficeFileCacheN where N is a number. He calls it OfficeFileName but that is a typo in the post – it is OfficeFileCache.

  6. Hi Bas
    Thanks for your guideline. I tried those steps one by one twice but the problem still occurs.
    I’m using Office 365 & onedrive for business from my university.
    The office upload center in the tray icon always says “file failed to upload”
    Is there maybe something that I missed?

    Regards

Leave a Reply

Your email address will not be published. Required fields are marked *