I tried modifying the PeoplesearchResults.aspx page layout and from then on any pages created from this page layout displays the error

"The base type 'Microsoft.Office.Server.Search.Internal.UI.SearchResultsLayoutPage' is not allowed for this page. The type could not be found or it is not registered as safe. "

Even removing the changes from the Page layout or restoring the page layout to its initial version is not helping.

I am using SharePoint Online / Office 365. Any help or suggestion is greatly appreciated.


Since you have edited the page layout it de links from the content database, in order to roll back you have to use "Reset to Site definition" on ECB context menu of the layout. This is roll back your changes and it refers from the content database.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.