SharePoint 2016: File not found instead of Access denied

Matthias68 256 Reputation points
2022-01-28T09:21:26.6+00:00

Dear all,

since some days users that try to open SharePoint websites on our SP2016 server they do not have the necessary access rights for, get an error message "Sorry, something went wrong
File Not Found." instead of the usual "Access denied" message. Any idea?

Best,
M

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

Accepted answer
  1. CaseyYang-MSFT 10,461 Reputation points
    2022-01-31T02:26:55.897+00:00

    Hi @Matthias68 ,

    Did you add any custom scripts to this site?

    1.You could try to remove these custom script then log in again.

    2.You could try to add some url parameters to your site url then log in again. For example: http://siteurl/dafault.aspx.


    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.


0 additional answers

Sort by: Most helpful

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.