none
Cannot start Essentials services

    Question

  • Hi,

    we have windows server 2012 with Essentials and cannnot start Essentials services.  

    the error is:

    in event log there is a notification about certificate error:

    Application: ProviderRegistryService.exe
    Framework Version: v4.0.30319
    Description: The application requested process termination through System.Environment.FailFast(string message).
    Message: Unhandled exception in OnStart: Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderException: Failed to configure the ServiceHost (see inner exception). ---> Microsoft.WindowsServerSolutions.Certificates.CertificatesException: Unable to find valid machine certificate on local store.
       at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProductConfiguratorBase._SetServiceCert(X509CertificateRecipientServiceCredential svcCertCred)
       at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProductConfiguratorBase._ConfigureServiceHost(ServiceHost serviceHost)
       at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProductConfiguratorBase.ConfigureServiceHost(ServiceHost serviceHost)
       --- End of inner exception stack trace ---
       at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProductConfiguratorBase.ConfigureServiceHost(ServiceHost serviceHost)
       at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderRegistry.Program.ConfigureEndpointsNormalMode(ServiceHost host)
       at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderRegistry.ServiceShell.OpenHost()
       at Microsoft.WindowsServerSolutions.Common.Services.WssgServiceBase.OnStart(String[] args)
    Stack:
       at System.Environment.FailFast(System.String, System.Exception)
       at Microsoft.WindowsServerSolutions.Common.Services.WssgServiceBase.OnStart(System.String[])
       at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(System.Object)
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()

    Any help is much appreciated

    Monday, March 05, 2018 10:24 PM

All replies

  • Hi,

    Open Powershell and type below command to add/renew a self-issued root certificate for the current server:
    Add-WssLocalMachineCert

    Then, try to re-start the WSE service and check the result.

    Best Regards,
    Eve Wang

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, March 06, 2018 7:45 AM
    Moderator
  • Hi,

    Open Powershell and type below command to add/renew a self-issued root certificate for the current server:
    Add-WssLocalMachineCert

    Then, try to re-start the WSE service and check the result.

    Best Regards,
    Eve Wang

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Here is the error i get:

    Add-WssLocalMachineCert : Could not load file or assembly 'Microsoft.CertificateServices.Certcli.Interop,
    Version=6.3.0.0, Culture=neutral, PublicKeyToken=3345f856adee3ef5' or one of its dependencies. The system cannot find
    the file specified.
    At line:1 char:1
    + Add-WssLocalMachineCert
    + ~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Add-WssLocalMachineCert], FileNotFoundException
        + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.WindowsServerSolutions.Administration.AddLocal
       MachineCert

    Tuesday, March 06, 2018 8:37 PM
  • Hi,

    Please try below steps:
    1. Open C:\Program Files\Windows Server\Bin. 
    2. Right clicked wsspowershell.exe and selected Run As Administrator
    3. In the PowerShell windows, ran Add-WssLocalMachinecert again to check the result.

    Best Regards,
    Eve Wang

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, March 07, 2018 3:30 AM
    Moderator
  • Hi,

    How things are going there on this issue?

    Please let me know if you would like further assistance.

    Best Regards,
    Eve Wang

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, March 09, 2018 4:24 AM
    Moderator
  • Hi,

    Is there any update?

    Please click “Mark as answer” if the reply is helpful. It would make this reply to the top and easier to be found for other people who has the similar problem.

    Best Regards,
    Eve Wang

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, March 19, 2018 8:44 AM
    Moderator
  • I have WSE 2016 with the same problem and I also was not able to install the connector software on client machines. I saw errors related to the certificate in the logs but did not know how to fix it. This command did the trick. I can now start the services and install the connector software. Thanks!

    Dan T

    Saturday, July 07, 2018 12:45 AM