SharePoint uploaded file not Working issue

Buddhimal Saminda 0 Reputation points
2025-03-31T12:02:30.2133333+00:00

In our skill development team added the learning content into SharePoint for access all employes in our company. But there has a issue with uploaded index.aspx file. If we click that file its going to download not open properly. Previously uploaded index.aspx files are working properly. Normally the process as it was done before - download the learning content zip file>unzip>rename all the html to aspx>upload that whole folder to SharePoint, but it doesn't work now.

Microsoft 365 and Office SharePoint Server For business
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,471 Reputation points Microsoft External Staff
    2025-04-01T02:28:56.05+00:00

    Hi @Buddhimal Saminda

    If you put an ASPX file to a document library it will be downloaded when you click on it.

    So, instead of the document library, you need to put your ASPX page to a different location. For example:

    • Site Assets
    • Styles Library
    • Site Pages

    If you put your HTML Page (with an aspx extension) to any of the above, it will open just fine.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.