2016 people search error -The base type Microsoft.Office.Server.Search.Internal.UI.SearchResultsLayoutPage is not allowed for this page.

kansri 26 Reputation points
2020-11-10T18:08:12.76+00:00

We have Sharepoint 2016 on Premise. When searching for People throws an exception The base type 'Microsoft.Office.Server.Search.Internal.UI.SearchResultsLayoutPage' is not allowed for this page. The type Microsoft.Office.Server.Search.Internal.UI.SearchResultsLayoutPage, Microsoft.Office.Server.Search, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c could not be found or it is not registered as safe.

Added the safecontrol in webconfig but didn't help. Logs files doesn't show any errors related. Please advise.
Selected people and searched by name in web application
38810-image.png
38798-image.png

Microsoft 365 and Office | SharePoint Server | For business
{count} vote

1 answer

Sort by: Most helpful
  1. Jerry Xu-MSFT 7,961 Reputation points
    2020-11-11T07:09:18.32+00:00

    Hi, @kansri ,

    As adding the safecontrol in webconfig does not help, please have a try to reset the people result page to site definition. Go to the Search Center>Site Settings>Rest to site definition. Then fill in the people search result page URL to reset it.

    If this does not help, would you like to provide more information about your situation? Does this issue only occur in people search? Are you modifying the search result page?


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    **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.