Client Web Service stops responding

Problem

We have seen that in some rare cases, Client Web Service stops responding. The symptoms are that drop downs with dynamic bind stops responding and you probably see the following error message in the Event Viewer

Log Name:      ZervicePoint
Source:        Client web service
Date:          11.3.2016 10:56:36
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      ictmyorders1.lik.enfonet.fi
Description:
Timestamp: 10:56:36.387
Message: There was an error trying to execute: System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Management.Automation.PSSnapInReader.ReadEnginePSSnapIns()
   at System.Management.Automation.Runspaces.MshConsoleInfo.CreateDefaultConfiguration()
   at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.CreateDefaultConfiguration()
   at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspace()
   at Zipper.ZervicePoint.ProvisioningSystem.PowerShellProvider.PowerShellModule.InitializePowerShell()
   at Zipper.ZervicePoint.ProvisioningSystem.PowerShellProvider.PowerShellModule..ctor(Int32 orderId, DirectoryInfo rootDirectory, String moduleName)
   at Zipper.ZervicePoint.ProvisioningSystem.PowerShellProvider.PowerShellEngine.Execute(Int32 orderId, String instance, String method, IProviderInvocationInfo invocationInfo, IDictionary`2 parameters)
   at Zipper.ZervicePoint.ProvisioningSystem.ClientWebService.ProviderInvoker.Invoke(String providerPackage, String providerModule, String providerMethod)
   at Zipper.ZervicePoint.ProvisioningSystem.ClientWebService.Services.ProviderService.CallProvider(String serviceName, String arguments, String data, String rawToken, String callback)
Category: Provisioning.Provider
Priority: -1
EventId: 0
Severity: Error
Title:
Machine: ICTMYORDERS1
Application Domain: /LM/W3SVC/2/ROOT-1-131021593165948432
Process Id: 3052
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 1916
Thread Name:
Extended Properties:

Solution

  1. Perform an IISreset
  2. Verify that drop downs with dynamics bind are working again

Troubleshooting guidelines