Unexpected Error When Selecting Help > Enter/Refresh License Key... in Protect

Version 9

    Purpose


    This document will show how to activate a Protect console when you receive an Unexpected Error while Selecting Help > Enter/refresh license key... in the Protect GUI.


    Description


         1.  You receive an Unexpected Error while Selecting Help > Enter/refresh license key... through the GUI.


    Enter Refresh License Key.PNG


         2.  You see the following error message in the C:\ProgramData\LANDESK\Shavlik Protect\Logs\St.Protect.managed log:

     

    ST.Console.Client.Licensing.ActivationException: An error occurred while making the HTTP request to https://license.shavlik.com/License/V8/License.svc. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server. ---> System.ServiceModel.CommunicationException: An error occurred while making the HTTP request to https://license.shavlik.com/License/V8/License.svc. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream.

     

    Cause

     

    When accessing the Shavlik Protect Activation dialog through Help > Enter/refresh license key... in the Protect GUI, you will initiate several license dependent processes. In the example shown in the logs excerpt above the console is unable to access license.shavlik.com and as a result the console crashes with an Unexpected Error..

     

    Resolution


    1. Navigate to install folder for Protect.  The default location is C:\Program Files\LANDESK\Shavlik Protect.
    2. Run ST.Activation.exe. This will allow you to access the Shavlik Protect Activation dialog without initiating the other license dependent processes and accessing license.shavlik.com.

    ST.Activation.exe.PNG

     

    Affected Product(s)

     

    Shavlik Protect 9.x