SharePoint By Yagya Shree

SharePoint 2013: Search Service stuck at stopping

leave a comment »

Issue:

When we are trying to stop search services on one of the application server, we are getting below error and search service is stuck in stopping state:

1a

We also ran below PowerShell Commands to try.

PS C:\Users\SRV_SPProd_Setup> $sh = Get-SPServiceInstance -Identity “1738d18b-91
1d-4b27-ad6a-75919e3a485c”
PS C:\Users\SRV_SPProd_Setup> $sh.Unprovision()
Exception calling “Unprovision” with “0” argument(s):
“SharePointVideos.VisualSP.Utilities.LoggingService cannot be deserialized
because it does not have a public default constructor.”
At line:1 char:1
+ $sh.Unprovision()
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : MissingMethodException

1

 

Resolution:

While working on the issue, we looked and found that we had a DLL present for the solution in problem server i.e. SharePointVideos.VisualSP.dll

2

We checked other application server hosting search services but they did not had similar WSP present in GAC folder

3

We checked the Web Front End Servers and found a different version of DLL present.

4

We copied the SharePointVideos.VisualSP.dll from WFE server to problematic application server

5

After the copy, We ran following PowerShell commands to unprovision the search service instance

$sh = Get-SPServiceInstance -Identity “Search_Service_Instance_ID”

$sh.Unprovision()

6

Performed IISRESET on the server

Checked the Central Administration-System settings-Manage Service on server and the services were in stopped state.

7

Advertisements

Written by Yagyashree

February 11, 2016 at 7:59 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: