Fixing “File Corruption Detected” in SharePoint – A Detailed Step-by-Step Guide
A “File Corruption Detected” error occurs when SharePoint cannot open, process, or sync a file due to corruption. Corrupted files may become unreadable, prevent collaboration, or even disappear from document libraries.
Common Error Messages:
- “File cannot be opened because it is corrupted.”
- “SharePoint cannot process the file due to corruption.”
- “Upload failed. The file is damaged or unreadable.”
- “Document cannot be opened. It may be corrupt or in an unsupported format.”
This guide provides detailed troubleshooting steps to recover, repair, and prevent file corruption in SharePoint.
Step 1: Identify the Cause of File Corruption
Possible Reasons for File Corruption:
✅ Interrupted Upload or Download – Network issues during file transfers.
✅ Sync Conflicts – OneDrive or SharePoint Sync errors causing corruption.
✅ Malware or Viruses – Infected files becoming unreadable.
✅ Unsupported File Format – The file is not compatible with SharePoint.
✅ Storage Issues – Disk errors in the local or cloud storage system.
✅ Large File Size – Files exceeding SharePoint’s size limits.
✅ Hardware or Software Failure – Power outages, crashes, or faulty storage devices.
Step 2: Try Opening the File Locally
Before troubleshooting in SharePoint, check if the file opens on your local device.
Method 1: Open the File in a Desktop Application
- Download the file from SharePoint.
- Open it in the corresponding application:
- Word Document (
.docx
) → Microsoft Word - Excel Spreadsheet (
.xlsx
) → Microsoft Excel - PowerPoint Presentation (
.pptx
) → Microsoft PowerPoint - PDF File → Adobe Acrobat Reader
- Word Document (
- If the file opens normally, the issue is likely with SharePoint.
- If the file does not open, it is likely corrupted.
Method 2: Open the File in Another Program
- Right-click the file → Select Open With.
- Try opening it with a different application (e.g., Notepad for text files).
- If the file opens, save a new copy and re-upload it to SharePoint.
Step 3: Restore a Previous Version from SharePoint
SharePoint stores multiple versions of files, allowing you to restore an earlier, uncorrupted version.
Restore a Previous Version in SharePoint:
- Right-click the file in the SharePoint library.
- Select Version History.
- Look for the last working version.
- Click Restore next to that version.
- Try opening the restored file.
Step 4: Repair the Corrupted File Using Microsoft Office
If the file is an Office document, use built-in repair tools.
For Word, Excel, and PowerPoint Files:
- Open the Microsoft Office Application (Word, Excel, or PowerPoint).
- Click File → Open.
- Select Browse and locate the corrupted file.
- Click the dropdown next to Open and select Open and Repair.
- If successful, save the repaired file and upload it back to SharePoint.
Step 5: Try Uploading a Fresh Copy of the File
If the corrupted file was uploaded improperly, try re-uploading it.
Steps to Upload a New Copy:
- Download the file to your local computer.
- Rename the file (e.g.,
Report_v2.docx
). - Upload it back to the same SharePoint location.
Step 6: Check for Sync Errors in OneDrive
If you’re using OneDrive Sync, corrupted files may be caused by sync errors.
Restart OneDrive Sync:
- Click the OneDrive icon in the system tray.
- Click Help & Settings → Pause syncing.
- Wait 10 seconds, then click Resume syncing.
- Try opening the file again.
Step 7: Repair SharePoint Sync Issues
If your file was corrupted due to syncing problems, reset SharePoint Sync.
For OneDrive Sync Issues:
- Click the OneDrive icon in the system tray.
- Select Settings → Unlink this PC.
- Restart your computer.
- Sign in to OneDrive and re-sync your SharePoint files.
Step 8: Recover Corrupted Files Using CHKDSK (For Local Storage Issues)
If your file was stored on a local drive before uploading to SharePoint, check for disk errors.
Run CHKDSK to Repair Corrupted Files:
- Press Windows + R, type
cmd
, and press Enter. - Type the following command and press Enter:
chkdsk /f /r
- Wait for the scan to complete and restart your computer.
- Try opening the file again.
Step 9: Use Third-Party File Repair Tools
If the file is still corrupted, consider using third-party repair software:
Recommended Tools:
🔹 Stellar Repair for Word/Excel/PDF – Repairs corrupted Office and PDF files.
🔹 EaseUS Data Recovery – Recovers lost or damaged files.
🔹 DiskInternals ZIP Repair – Fixes corrupted compressed files.
- Download and install a file repair tool.
- Open the corrupted file using the tool.
- Follow on-screen instructions to recover and save the fixed file.
- Upload the repaired file back to SharePoint.
Step 10: Contact IT Support or Restore from Backup
If none of the above steps work, contact your IT team.
Ask Your IT Department To:
✔ Check SharePoint logs for file corruption reports.
✔ Restore the file from SharePoint backups.
✔ Investigate server or network-related file corruption.
Preventing Future File Corruption in SharePoint
✔ Ensure Stable Internet Connections – Prevents file corruption during upload.
✔ Avoid Simultaneous Editing Conflicts – Use co-authoring mode in SharePoint.
✔ Regularly Backup Important Files – Save copies in another location.
✔ Enable File Versioning in SharePoint – Allows you to restore older versions.
✔ Use Supported File Formats – Avoid using unsupported or legacy file types.
✔ Keep Software Updated – Ensure Microsoft Office, OneDrive, and SharePoint are up to date.