I created a document library, and put my aspx files into it. The files are working fine till last Friday.

From last Friday, after I made changes and re-attached the file, instead of opening the file from browser, it downloads the file when clicking on it. And if I copied the URL and pasted it into the address box, it says "Sorry, something went wrong. File was not found".


Whether the aspx files are SharePoint pages? Per my test, after download, edit the aspx file and reupload the file, the aspx file is broken.

If we want to customize a SharePoint page, we can use using SharePoint Designer to achieve it.

Open SharePoint site in SharePoint Designer, click All Files in the left panel, click relevant document library and aspx file, right click Edit file in Advanced mode.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.