2

I have uploaded some ASPX files to my SharePoint document library. When I click on the file, SharePoint downloads the file instead of rendering it in browser.

How can I fix this?

Thank you for assistance.

5

Upload them into Site Pages library.

If you upload them into Document library this is like document not like page. Use correct library template.

  • Well there are folders, js files and PDF files mixed. Document library is not suited for that content. I'm trying to upload a web site which should be rendered from document library. – Brlja Jan 10 at 12:20
  • 1
    But SharePoint doesn't working this way... you should upload aspx pages into Site Pages folder and the rest under SiteAssets and edit references.... Or use simply IIS Site not SharePoint. – Zdeněk Vinduška Jan 10 at 12:27

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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