SharePoint 2013 Search problem

Wojciech_K 21 Reputation points
2020-12-08T23:03:39.623+00:00

Hello

I looking for a help. I have a problem with the search service in Microsoft Sharepoint 2013. The error occurs both when trying to use the service in the content of the site and when trying to manage the service in Sharepoint Central Administration. I have tried to read, but none of the solutions I have found matches it. Could someone advise me what steps I should take?

In the CA when i try to configure Search application it appears something like that (I translate it): Base type Microsoft.Office.Server.Search.Internal.UI.SearchAdministrationis is not allowed on this website. Type not found Microsoft.Office.Server.Search.Internal.UI.SearchAdministration, Microsoft.Office.Server.Search, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c or it has not been registered as safe.

And in the technical details, corealtion ID is: cc6c959f-7ed9-7037-a1b6-2d6beffed5d7

In the MS Windows Server system event list, there is a critical level error for Timer (Timeserver?) with ID 6398, which repeats very frequently

Below is a line from ULSViewer, which probably has some helpful information.

12-08-2020 23:10:21.21 w3wp.exe (0x0F0C) 0x0F60 SharePoint Server Search Query ac3iq High Ims::EndPoints: old: , new:

Can someone please help me? I have recently had contact with SharePoint.

Thank you.

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

Accepted answer
  1. Emily Du-MSFT 51,836 Reputation points Microsoft External Staff
    2020-12-09T09:13:42.06+00:00

    @Wojciech_K
    Please try to add the following line into the central administration web site web.config:

     <SafeControl          
          Assembly="Microsoft.Office.Server.Search, Version=15.0.0.0,          
          Culture=neutral, PublicKeyToken=71e9bce111e9429c"          
          Namespace="Microsoft.Office.Server.Search.Internal.UI"          
          TypeName="*"   
      />  
          
     <PageParserPath          
          VirtualPath="/searchadministration.aspx"          
          CompilationMode="Always" AllowServerSideScript="true"          
      />  
    

    Reference:
    “The base type ‘Microsoft.Office.Server.Search.Internal.UI.SearchFarmDashboard’ is not allowed for this page. The type is not registered as safe”


    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Wojciech_K 21 Reputation points
    2020-12-09T21:40:34.433+00:00

    It helped in part. I typed these lines of code into the central administration web site web.config file (directory ... \ VirtualDirectories \ 7950) and Search Service Application: Search Administration in CA started working!

    But unfortunately the site search service still doesn't work and returns the same error. So I added these lines of code also to the configuration files in the other folders (80 and intranet.companyname.local) but without the expected effect. It still does not work.

    46772-lokalizacja.jpg

    However, I noticed that entering the CA into the Search Service Application module: Search Administration, in the System State, Administrative State zone, the following is shown:
    The search service cannot connect to the computer that is hosting the administration component. Check that the d0db5b15-55b9-4805-be61-c601d7e20c6c administrative component in the Search Application Search Service Application is in good condition and try again. (translated)

    Do you have any other ideas?
    Thank you in advance for your help.

    0 comments No comments

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.