Forum Discussion
Rohit Devmore
Jul 28, 2017Copper Contributor
Crazy ASPX page behavior in Sharepoint Online document library , getting downloaded
We have two site collections in Sharepoint online and those have respective document libraries (Say Lib1 (Site collection 1) and Lib2 (Site collection 2)) We have ASPX page on drive which are upload...
Rafael Martins Herculano
Sep 18, 2018Copper Contributor
I have the exactly same issue ...
Anyone knows how to solve this ?
- Steven DerveauxNov 13, 2018Copper Contributor
Same issue here. In one Site Collection I can view my ASPX pages, in another (a Microsoft Teams SharePoint site) the file is prompted for download...
- Steven DerveauxNov 13, 2018Copper ContributorI just set the flag "DenyAddAndCustomizePages" to 0 via the powershell cmdlet:
Set-SPOsite https://xxx.sharepoint.com/sites/teamxyz -DenyAddAndCustomizePages 0
I'll cross my fingers if this is working. The value on this flag is often cached. So I will check back tomorrow!- Steven DerveauxNov 19, 2018Copper Contributorafter setting the "DenyAddAndCustomizePages" option to 0. I was able to load custom .aspx pages from the "Pages" library. A couple of hours later, my ASPX pages ran also in other document libraries…