Fix SharePoint Cannot Preview File or PDF Error
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 troubleshooting, ensure your internet connection is stable and verify that the file isn't corrupted by opening the original copy locally on your computer.
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.
Go to your SharePoint document library, hover over the affected file, click the three dots (ellipsis), and select 'Manage Access'.
Check the existing links under the 'Links Giving Access' section to ensure the 'Anyone with the link' permission is actively granting view access.
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.
Troubleshoot Browser Handling and Caching Issues
Rule out browser-specific rendering issues or account caching problems that might force downloads or block the SharePoint previewer.
Check Library Settings and Re-upload the File
Confirm that the SharePoint document library isn't configured to force client application opening and ensure the file wasn't corrupted during upload.
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. Download WPS Office: Visit the official WPS Office website to download and install the free application on your device.
- 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. Edit and Manage: Edit, annotate, or share your PDFs directly from the application for a smoother document management experience.

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.




