How to Fix SharePoint Document Library Upload.aspx Page Errors
Question details
Users are encountering errors where the document library upload button redirects to an unavailable or missing upload.aspx page.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Attempting to upload files to a SharePoint document library using the default upload button.
- Observed behavior
- The upload.aspx page appears unavailable, moved, or broken when the upload button is clicked, even for users with owner and administrator permissions.
Verify that you have Site Owner or Administrator permissions to edit web parts, and try accessing the SharePoint library from a different browser or network to rule out local connectivity caching issues.
Add a Custom Upload Button using a Script Editor Web Part
Use this workaround to bypass the corrupted default upload button by manually inserting a correctly configured upload link.
When classic SharePoint page components become corrupted, the default upload button may lose its correct path to the upload.aspx page. Adding a Script Editor web part allows you to manually create a functioning upload button.
Navigate to your affected document library. Click the Settings gear icon (or Site Actions) and select 'Edit page'.
Click on 'Add a web part' in the zone where you want the new upload button to be located.
Under the Categories menu, select 'Media and Content'. Choose 'Script Editor' from the Parts list, and click 'Add'.
Hover over the Script Editor web part, click the small arrow to open the menu, and select 'Edit Snippet'. Insert standard HTML/JavaScript code pointing to your library's correct upload.aspx URL, then save and publish the page.

Isolate the Environment and Recreate the Library
Determine if the issue is a local network restriction or a permanently corrupted library component that requires replacement.
Edit and Manage Documents Seamlessly with WPS Office
While resolving SharePoint server connectivity or page component errors, you can rely on WPS Office as a free, lightweight alternative to Microsoft Office. It allows you to perfectly format and edit your files locally before uploading them to your team's document libraries.
- 1. Download and Install: Get the free WPS Office suite from the official website and install it on your device.
- 2. Edit Documents Locally: Open and edit your Word, Excel, or PowerPoint files offline without relying on browser-based editors.
- 3. Save in Standard Formats: Save your work in standard Microsoft formats, ready to be uploaded once your SharePoint library is fixed.

Frequently Asked Questions
Why does the SharePoint upload button say the page is unavailable?
This typically occurs when a classic SharePoint library component becomes corrupted, breaking the hyperlink to the upload.aspx page. It can also happen if the server undergoes an update that misplaces legacy files, or if there are strict network timeouts mimicking an unavailable page.
Do I need administrator permissions to fix the upload.aspx error?
Yes. While users with basic edit permissions can upload documents, only users with Site Owner, Designer, or Administrator permissions can modify the page layout, add a Script Editor web part, or recreate a corrupted document library.
Is there a permanent fix for classic SharePoint page errors?
The most reliable long-term fix for recurring classic page component corruption is to switch to the modern SharePoint experience. Modern document libraries use updated frameworks that completely bypass the legacy upload.aspx infrastructure.




