Not able to open .aspx files on SharePoint even with custom javascript setting enabled.

New Contributor

I have hosted a HTML5 based output on SharePoint. Custom javascripts are part of this hosted output.

I have enabled the setting to allow custom javascript on my SharePoint server. Still when I am clicking the .aspx file, it is getting downloaded rather than opening.

I have checked the mime type as well. It's text/xml.

 

Please guide. I am in urgent need to resolve this issue.

1 Reply

@SurbhiMaheshwari 

 

Just wanted to add, that we are also having this issue with SharePOint.  The .aspx file downloads instead of opening.  This is keeping us from publishing content in our Company Knowledge Base.

 

Thank you,

Carmela