Skip to content Skip to sidebar Skip to footer

Use .aspx File As A Server-side Code To Be Called Via Ajax By Html/javascript Client

There are tools that are used by several thousand employees at my job. They are currently stored on SharePoint 2010 (to be upgraded to 2016 very soon) in a document library. Esse

Solution 1:

Your server does not know what an "aspx" file is. It thinks it is a text file and so its just returning the text of your file.

I am not sure how you would fix this as I am not familiar with Sharepoint. As Sharepoint is a document management system, It appears sharepoint is doing what it was built for. Storing documents and then allowing people to download them. There appears to be no interpreter on the Sharepoint servers for "aspx" files.

This URL might provide help in enabling this if it is even possible: https://support.microsoft.com/en-us/help/828810/how-to-enable-an-asp.net-application-to-run-on-a-sharepoint-virtual-server

Post a Comment for "Use .aspx File As A Server-side Code To Be Called Via Ajax By Html/javascript Client"