1

We have the following:

2016 SharePoint OnPrem with 6 servers.

After installing KB4486753 to our SharePoint Servers, our search services throws the following error:

Sorry, something went wrong 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.

This is preventing not only users from searching and accessing our directory, but I also cannot access the search services in central admin. I have been working with MS to resolve the issue but after 22 days of this issue, they have been less than helpful.

What I have done so far:

  1. restart services on all servers
  2. adjusted the web.config files to include the following code -
<SafeControl Assembly="Microsoft.Office.Server.WorkManagement.UI, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.Office.Server.Search.Internal.UI" TypeName="*" Safe="True" />   

<PageParserPaths>
   <PageParserPath VirtualPath="/*" CompilationMode="Always" AllowServerSideScript="True" IncludeSubFolders="true" />
</PageParserPaths>
  1. Created a new DWORD called "LoaderOptimization" set to 1 in the HKEY_LOCAL_MACHINE\SOFTWARE\MIcrosoft.NetFramework area of the Registry Editor (with an IISREST)

Nothing has resolved the issue at all.

Has anyone experienced this and what was the resolution.

1
  • running the SharePoint configuration wizard might help to add missing entries to the web.config – Saurabh Jawalekar Feb 4 at 10:19
0

The assembly you added seems to be "Microsoft.Office.Server.WorkManagement.UI" not "Microsoft.Office.Server.Search.Internal.UI.SearchResultsLayoutPage" shown in the error message.

How about adding the following assembly name space to web.config instead?:

Hope it works!

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.