The document could not be opened.

Recently I updated my macOS to Catalina, 10.15.1 on a MacBook Pro Retina Mid 2012. This caused me to lose the entire suite of Office:mac which is Microsoft Office. So then I subscribed to Office365 Home for $99. After the subscription went through, I then opened a file I've used recently so I know it is not corrupt. This caused an error message "The document <filename> could not be opened."


Turns out JPEGs are also difficult for macOS Catalina to open and gave me back the same error message.


This is a big deal. I need access to Excel and Word. I also need a computer that can open simple internet files like a jpeg.

MacBook Pro 15", macOS 10.15

Posted on Nov 12, 2019 3:15 PM

Reply

Similar questions

7 replies

Dec 1, 2019 4:53 AM in response to colomv

I was able to resolve the issue. In Console I noticed an error occurring every 5 seconds. "Remote account store returned fatal error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.accountsd.accountmanager was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.accountsd.accountmanager was invalidated.}". This was occurring to a process called "appstoreagent".


A search for that process on the forum led me to this post: https://discussions.apple.com/thread/250768095. It recommended signing out of the iCloud account, rebooting, and then signing back in to iCloud. This did the trick. The errors went away in Console, and I can now open all document types.

Nov 15, 2019 3:21 PM in response to colomv

Hi colomv,


Thanks for reaching out in Apple Support Communities. I understand you're unable to open documents from Office 365 in macOS Catalina. I can help provide you additional information.


To help troubleshoot this behavior, I recommend following the steps outlined in this article: Choose an app to open a file on Mac This may help to open the files for Office 365.


If that does not help, the next step is to review the permissions under your user log in. Here's how: Change permissions for files, folders, or disks on Mac To help resolve issues with permissions, you'll want to follow the appropriate steps in this helpful article: Resolve issues caused by changing the permissions of items in your home folder


Best regards.

Nov 18, 2019 9:37 PM in response to colomv

I also have this problem - and not only with Office 365, however that's the most annoying.


It appears to have nothing to do with UNIX-level permissions; they are fine. The same documents can be opened with LibreOffice, but I need MS Office to work.


I have the same problem with some PDFs - "Sign PDF" (application from the App Store) cannot open them, but Adobe Reader can.


I gave the programs "Full Disk Access" (in System Preferences -> Security & Privacy -> Full Disk Access) - no difference.


Note that rebooting does help - after a reboot, I can open all documents with MS Office normally for a while.


If anyone knows a better workaround without rebooting or if someone knows what the root cause is, it would be great to hear.


I suspect some new security-related changes to MacOS are causing this very annoying problem.

Dec 12, 2019 4:15 AM in response to mastersingh24

Same issue. Some applications (e.g. Word) cannot open Docs in Documents folder but can open them if they are copied e.g. to Downloads). Granted full disk access, no diff. Last error on console:


2019-12-12 21:12:35.737 Microsoft Word[15816:9232429] Stream 0x7fc3d204ee80 is sending an event before being opened

2019-12-12 21:12:35.737 Microsoft Word[15816:9232429] Stream 0x7fc3d204ee80 is sending an event before being opened


I am beating myself up for ever upgrading to Catalina.... this thing is a disaster.


Nov 27, 2019 9:02 AM in response to davidnichols

I have this problem with every file type in my Documents folder. It started when I migrated to a new iMac running 10.15.1. The files were originally transferred using Migration Assistant. I did not notice for a couple of days until I tried to access an older .pdf.


I followed the steps outlined above including the steps in the "Reset permissions" section on this page: Resolve issues caused by changing the permissions of items in your home folder. That actually gave me access to my files for exactly one day. The following day the issue reappeared and I could no longer access the files. So I Reset Permissions again, and the same result happened, access for one day, and the following, no access.


I tested the files stored on a clone of my HD and found they were able to be opened. So I deleted my existing user, created a brand new one, and copied the files from the clone to the new user account. This let me access my files for the remainder of the day, but today - no access.


Here is a partial ls -l of my Documents folder

Last login: Mon Nov 25 16:02:27 on console
rc@Deep-Thought ~ % cd /Users/rc/Documents 
rc@Deep-Thought Documents % ls -l
total 1527544
-rw-r-----@   1 rc  staff     771324 Jun 25 18:21 25BrightestStars_Jittasaiyapan_1500.jpg
-rw-------@   1 rc  staff      79092 Aug 14  2018 ABSMarketing.pdf
drwx------   10 rc  staff        320 Oct 28  2018 Appartments
drwx------    7 rc  staff        224 Oct 23  2013 Arduino
drwx------    9 rc  staff        288 Oct 27 14:19 Beth
-rw-------@   1 rc  staff  766844640 Oct 20 10:36 Building an app.mp4
-rw-------@   1 rc  staff      95032 Dec  4  2017 CleanChoice.pdf


If anyone has any thoughts, I'd be glad to hear them.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

The document could not be opened.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.