Why a SharePoint document won't open
Start with the exact message. "Sorry, your session has expired" in Office for the web means the computer's date, time or time zone is wrong. "There is a problem with your account, please try again later" in a desktop Office app comes from cached sign-in settings in the registry; Microsoft's fix removes them, or you open the file in the browser. A file that opens read-only usually sits in a library that requires check-out, has validation columns or metadata, or limits who can see drafts. A file marked as archived has to be reactivated before it opens.
Each fix below comes from Microsoft's documentation, and each section says which product it applies to.
| What you see | Where | Cause | Fix |
|---|---|---|---|
| "Sorry, your session has expired. Please refresh the page to continue." | Office for the web, opening a file from SharePoint Online | The computer's date, time or time zone is wrong | Correct the date, time or time zone |
| "There is a problem with your account, please try again later." | A desktop Office app, opening a file from SharePoint Online or OneDrive | Cached sign-in values in the registry | Delete two registry values, or open the file in the browser |
| The file opens read-only | Desktop Office, often with synced files | Library settings, antivirus, Protected View or Office activation | Open it with Edit, or fix the cause below |
| "Sorry, Word for the web ran into a problem opening this document. To view this document please open it in Microsoft Word." | Word for the web, for a document a SharePoint 2013 workflow created | A workflow created the document from a content type template | SharePoint 2013 workflows are retired; Microsoft recommends Power Automate |
| The file is marked Archived | SharePoint in Microsoft 365 with Microsoft 365 Archive | The file was archived | Reactivate the file |
| "Word Online cannot open this document for viewing because of an unexpected error." | SharePoint Server 2010 with Office Web Apps | The Word Viewing Service is not running | Start the service in Central Administration |
"Sorry, your session has expired"
Applies to SharePoint Online with Office for the web.
Microsoft: "When you try to open a document from Microsoft SharePoint Online in a Microsoft Office Online application, you receive the following error message: Sorry, your session has expired. Please refresh the page to continue."
The cause is the computer's clock, not the sign-in. Microsoft: "This issue occurs when the date, time, or time zone is incorrect on your computer." The fix: "correct the system time, system date, or time zone on the affected computer." Then open the document again.
"There is a problem with your account"
Applies to SharePoint Online and OneDrive with desktop Office apps. Microsoft notes at the top of its article: "This article applies only to the previous OneDrive sync client (groove.exe). In most cases, we recommend that you use the newer OneDrive sync client (onedrive.exe) instead."
Microsoft: "When you try to open Office documents that are stored on OneDrive or SharePoint Online by using the Office client application, or when you sign in to the OneDrive client (groove.exe), you receive the following error message: There is a problem with your account, please try again later."
The quickest workaround is to open the document in the browser. Microsoft: "If you can't make the changes to the registry, use Office Online to open and work with Office documents."
It can also clear by itself. Microsoft: "By default, the registry keys that are listed in this article are set to update every three days. If you don't remove the keys, they're refreshed after three days. After they're refreshed, this issue should resolve itself." An organization can change that interval with a FederationCacheLifetime value in the same registry key; if it exists, its value is the number of days.
Microsoft's fix. Microsoft warns: "Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur."
- Back up the Windows registry.
- Select Start, select Run, type
regedit, and then press Enter. - Locate the key
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Identity. - At this location, delete
FederationCacheExpirationandFederationProvider. - Restart the computer.
The registry path in Microsoft's article is under Office\15.0. Microsoft also gives a sample batch file for administrators who want to remove the value across many computers; it closes the Office apps first, and running it needs administrative privileges.
The file opens read-only
Applies to SharePoint in Microsoft 365 and OneDrive. Microsoft: "At times, you may find that when you open files from SharePoint or OneDrive for Business they open in read-only mode." Microsoft lists several reasons:
| Cause | What Microsoft says |
|---|---|
| Library settings | "If you have libraries with Checkout Required, or Validation columns or metadata, or when Draft Item Security is set to either Only users who can edit or Only users who can approve items in Version Settings of the library, these items will be synchronized as read-only." |
| Antivirus | "Antivirus programs may open potentially unsafe files as read-only. Check with your antivirus provider to learn how to adjust these settings." |
| Protected View | "An Office document opens in Protected View even though you enable the "Open Office documents as read/write while browsing" policy setting." |
| Office not activated | "If Office is not activated, or if your subscription has expired, you might be in read-only Reduced Functionality Mode." |
What to try, from Microsoft's list:
- Instead of selecting the document title, select Open Menu (the three dots), and then select Edit.
- Right-click the file and choose Properties. If the Read-only attribute is checked, clear it and select OK.
- Restart your computer.
- Check that all Office updates are installed.
- Perform an Online repair of Office.
If the library requires check-out, the file opens for editing only after you check it out. SharePoint 'locked for shared use' covers check-out, check-in and files someone else has open. Synced libraries have their own read-only causes; see OneDrive sync issues with SharePoint libraries.
Word for the web errors on workflow-created documents
Applies to SharePoint Online documents created by a SharePoint 2013 workflow.
Microsoft documents this case: a content type has a Word template, a SharePoint Designer 2013 workflow on the SharePoint 2013 Workflow Platform creates a document from that content type, and then the document will not open. In Word for the web the message is "Sorry, Word for the web ran into a problem opening this document. To view this document please open it in Microsoft Word." Microsoft: "When you try to open the document in Microsoft Word by clicking Open in Word, the document is blank."
Microsoft's cause: "This issue occurs when workflows that use the SharePoint 2013 Workflow Platform Type create a document in a list that's based on a template from a content type." Its article suggested a SharePoint 2010 workflow instead, but both platforms are now retired. Microsoft: "SharePoint 2010 workflows were retired in November 2020. SharePoint 2013 workflow was deprecated in April 2023, turned off for new tenants on April 2, 2024, and fully retired for existing tenants on April 2, 2026." Its recommendation is to "migrate them to Power Automate or another supported solution."
The file is marked Archived
Applies to SharePoint in Microsoft 365 with Microsoft 365 Archive. A file archived at file level does not open until it is reactivated. SharePoint file shows 'Archived' and won't open covers who can reactivate it, how long it takes and the 120-day re-archive lock. If the whole site is archived, see how to restore an archived SharePoint site.
Word or PowerPoint errors on SharePoint Server 2010
Applies to SharePoint Server 2010 with Office Web Apps installed on-premises. Microsoft lists three messages:
- "Service is temporarily unavailable."
- "Word Online cannot open this document for viewing because of an unexpected error. To view this document, open it in Microsoft Word."
- "PowerPoint Online encountered an error. Try again."
Microsoft's cause: "The Office Online relies on the SharePoint Shared Services Infrastructure to convert the document into a browser ready rendition. If the front-end machines cannot find the shared services, or the shared services are not started on at least one machine, then viewing the document or presentation will fail with this error." The first check is in SharePoint 2010 Central Administration: under Application Management, select Manage service on server, and verify that the PowerPoint Service and Word Viewing Service are started. Microsoft's article also covers creating the service applications and checking the service accounts.
Other messages when opening a file
| Message | Page |
|---|---|
| "Sorry, something went wrong" | SharePoint 'Sorry, something went wrong' |
| "Access Denied" or "You need permission to access this item" | SharePoint 'Access Denied' and 'You Need Permission' |
| "The file is locked for shared use" | SharePoint 'locked for shared use' |
| Sign-in prompts that keep coming back | SharePoint Online login |
| Files will not open from File Explorer | SharePoint View in File Explorer |
Frequently asked questions
Why won't my SharePoint document open?
Read the exact message. Session expired in Office for the web means the computer's date, time or time zone is wrong. There is a problem with your account in desktop Office comes from cached registry values. Read-only usually comes from the library's check-out, validation or draft settings. A file marked Archived must be reactivated first.
How do I fix "Sorry, your session has expired" in SharePoint?
Correct the system date, time or time zone on the computer, then open the document again. Microsoft gives that as the cause and the fix.
How do I fix "There is a problem with your account" when opening documents?
Open the document in the browser instead, or delete the FederationCacheExpiration and FederationProvider values under the Office Identity registry key and restart. Without any change, the values refresh after three days and the issue should resolve itself.
Why do SharePoint files open as read-only?
Microsoft lists libraries that require check-out, have validation columns or metadata, or limit who can see drafts; antivirus programs; Protected View; and Office running in Reduced Functionality Mode because it is not activated. Try opening the file from the three dots menu with Edit.
Why is a Word document created by a workflow blank?
Microsoft documents this for documents created by a SharePoint 2013 workflow from a content type template. SharePoint 2013 workflows were fully retired for existing tenants on April 2, 2026, and Microsoft recommends Power Automate instead.
Why does a SharePoint file say it is archived?
It was archived with Microsoft 365 Archive. It has to be reactivated before it opens.
Related reading
- SharePoint 'Sorry, something went wrong': causes and fixes - the generic SharePoint error and its correlation ID.
- SharePoint 'locked for shared use': check out, check in and fixes - check-out and files someone else has open.
- SharePoint file shows 'Archived' and won't open - reactivating a file archived with Microsoft 365 Archive.
- OneDrive sync issues with SharePoint libraries - when synced files misbehave.
- SharePoint Online login: how to sign in and fix sign-in problems - staying signed in.
- How to download files and folders from SharePoint - getting a copy of a file out of a library.
Mark Smith co-founded SmiKar Software in 2015 and has spent the past decade helping organisations solve Microsoft 365 data management challenges. He works with the SmiKar team to build solutions for SharePoint archiving, storage optimisation, governance and compliance, supporting customers from growing businesses through to Fortune 500 enterprises.
More about SmiKar


