logo
search
SharePoint Document Issues

Fix SharePoint Cannot Preview File or PDF Error

Maira MehtabMaira Mehtab Sep 20, 2026 869 views

Question details

Users are unable to preview files or PDFs in SharePoint and receive an error or a forced download prompt, despite having the correct access permissions configured.

Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Attempting to view or preview a file or PDF directly within the SharePoint online browser interface.
Observed behavior
SharePoint displays a preview error or forces the file to download instead of opening it in the browser previewer, even when permissions are set to 'anyone with the link'.
Before you start

Before troubleshooting, ensure your internet connection is stable and verify that the file isn't corrupted by opening the original copy locally on your computer.

Solution 1Recommended

Verify Shared Link Accessibility and Permissions

Ensure the file is actually accessible and that the 'anyone with the link' permission is correctly applied without conflicts.

Sometimes SharePoint permission settings can conflict, or a generated link might expire or lack the proper viewing rights, leading to preview errors.

1
Access Manage Access

Go to your SharePoint document library, hover over the affected file, click the three dots (ellipsis), and select 'Manage Access'.

2
Review Current Links

Check the existing links under the 'Links Giving Access' section to ensure the 'Anyone with the link' permission is actively granting view access.

3
Test a New Link

Generate a brand new sharing link and paste it into an incognito or private browsing window to test if the preview loads correctly for anonymous users.

Free Microsoft Office alternative

Manage and Preview PDFs Seamlessly with WPS Office

If SharePoint continues to cause preview errors or forced downloads for your PDFs and documents, consider using WPS Office. It provides a lightweight, highly compatible alternative to Microsoft Office, featuring a robust built-in PDF reader and editor that handles files locally without browser-based preview errors.

  1. 1. Download WPS Office: Visit the official WPS Office website to download and install the free application on your device.
  2. 2. Open Your PDF Locally: Launch WPS Office and use the built-in PDF tool to open your downloaded SharePoint files instantly without browser errors.
  3. 3. Edit and Manage: Edit, annotate, or share your PDFs directly from the application for a smoother document management experience.
100% compatible with Microsoft Office formats (Word, Excel, PowerPoint) and PDFs.Lightweight application that opens files instantly without relying on browser previewers.Free built-in PDF toolkit for reading, editing, annotating, and converting documents.Familiar user interface for a seamless transition from Microsoft Office.
microsoft office alternative - wps office

Frequently Asked Questions

Why does SharePoint force my PDF to download instead of previewing?

This often happens due to browser settings that handle PDFs by downloading them automatically, or if the SharePoint library's advanced settings are configured to open files in client applications rather than the browser.

Does the 'anyone with the link' setting guarantee preview access?

While it grants access to view the file, preview capabilities can still fail due to file corruption during upload, unsupported file sizes, or browser-side rendering issues.

How can I fix PDF preview errors in SharePoint?

Try clearing your browser cache, testing the link in an incognito window, ensuring the document library is set to open files in the browser, or re-uploading the PDF to fix any potential upload corruption.

Are there file size limits for SharePoint previews?

Yes, SharePoint online has limitations on the size of files it can preview in the browser. If a PDF is too large or contains highly complex graphics, the previewer may time out and prompt a download instead.