How to resolve licensing error "Cannot connect to server" when launching Statistica from a client?

How to resolve licensing error "Cannot connect to server" when launching Statistica from a client?

book

Article ID: KB0077177

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.3.1 and higher.

Description

When launching Statistica from a client/workstation, the following message appears:

"Cannot connect to server" when launching STatistica

Cause:  Several known causes, including:

1.  Incorrect hostname in the pointer license file
2.  No connection to the license server
3.  License server is not running
4.  DNS not working properly
5.  Fiirewall or security application blocking connection
6.  STATISTICA License Manager has stopped.  


Related knowledge base articles:
https://support.tibco.com/s/article/Statistica-licensing-window-may-throw-The-desired-vendor-daemon-is-down-error
 

Issue/Introduction

This article discusses a common licensing communication error and how to resolve it.

Environment

Windows operating systems only Statistica Server and CNET-type installs.

Resolution

SOLUTION ONE
Check the hostname in the pointer license file,stat.lic,  on the client. The pointer license file is located in the Statistica application folder, typically C:\Program Files\Statistica\Statistica <version>#\ or C:\Program Files (x86)\Statistica\Statistica <version>#\.  The file contents format looks like this:
Pointer license file, stat.lic


SOLUTION TWO
Solve connection/networking issue with license server.  For example, attempt to ping the license server from the client experiencing the error by opening an admin command prompt, issuing the following command and pressing the Enter key:
     ping <hostname or the fully qualified hostname (hostname.domain)>

If the ping has 0% loss, as below, then the client can connect to the license server successfully.  Skip this solution.  

PING command

If the ping has 100% loss, then the client cannot connect to the server.  There can be several reasons for this, including the reason mentioned in SOLUTION THREE, below.   To check if the DNS (Domain Name Service) is not working see SOLUTION FOUR below.  


SOLUTION THREE
If the ping test fails, as described in SOLUTION TWO, above, check to see if license server is up and running.  The license server may need to be started or re-started.  


SOLUTION FOUR
To check to see if the DNS is working or not, ping the license server by IP Address via an administrator command prompt and press the Enter key: 
ping <IP Address>


SOLUTION FIVE
For suspected firewall or security application issues, please see SOLUTION THREE AND SOLUTION FIVE from in this knowledge base article:  https://support.tibco.com/s/article/ERROR-Server-Node-is-down-or-not-responding-when-launching-Statistica


SOLUTION SIX
Check to see if the STATISTICA License Manager service is running on the license server, as below:

STATISTICA License Manager service

If the service is not in a running state, click the Start button.  

Starting the license manager service


If the service will not stay running, see this knowledge base article:   https://support.tibco.com/s/article/The-Statistica-License-Manager-service-keeps-stopping