Forum Discussion
Ashley_Nicholson
Jul 18, 2024Copper Contributor
Custom ASPX files are downloading, not running.
Hi All, I have some custom ASPX files on a SharePoint site. When you click on them, they run a html file (saved as ASPX). However, if I create a new file in the same vein, when a user clicks on i...
Expiscornovus
Jul 18, 2024Iron Contributor
Ashley_Nicholson custom site scripts are blocked. So, aspx files wouldn't be able to run because of that setting:
When you try to allow it the custom script settings for a specific site only lasts for a maximum of 24 hours. After that time, the setting will reset to its original blocked value for that specific site.
What are you trying to present in those aspx pages?
- Ashley_NicholsonJul 22, 2024Copper ContributorThe article is very recent. Does this signify that it's a recent change?
Any previously uploaded files still function perfectly, but new ones don't. Is there any reason why old ones wouldn't work?
If I allow the custom settings, and the file works, will it stop working after 24 hours? Or will I just have to test that and see?
The content is iframe embedded and presents as an animated button that opens a window to a URL with a specific window size. The destination and the URL can be customised. These buttons are then presented on various different pages where applicable.