Error, "Bad encryption code" generated on workstation\clients after full install of Statistica 13.2 (or above) on the server

Error, "Bad encryption code" generated on workstation\clients after full install of Statistica 13.2 (or above) on the server

book

Article ID: KB0074179

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.2 and above.

Description

Scenario:  Upgraded from Statistica 12.x.x.x to 13.2.x.x (or above) on the server with a clean, full install (uninstalled old, performed a full install with new installation keys), but now workstations with a previous version of Statistica will not launch and following error occurs: 

Bad encryption code

 

Can this be fixed? 
 

Background:  The process of upgrading Statistica may take some time when there are many workstation/clients to upgrade. So the idea was that users could still use a previous version of Statistica on their workstations until the upgrade was performed.    Beginning with 13.2, if the server has 13.2, or above, but the workstation/clients have a version less than 13.2 (e.g. 13.1), the workstations will not launch but will throw the error above. This only occurs when 13.2 (or above) is installed on a server with a clean, full install.   This error is not encountered when upgrading a current install directly on the server.    

Note:    This only affects network or concurrent installs, not Enterprise installs.  For Enterprise installs, both the server and workstation/clients must be using the same Statistica version.  Desktop installs are not affected. 

 



Cause: The encryption method has changed in 13.2  With this change, the Workstations are expecting a different kind of encryption when launched.  With upgrades prior to 13.2, after the server was upgraded to a later version, then workstations of a previous version would launch and license the same as before. This allowed for users to continue to use Statistica until their workstation was upgraded.  Beginning with Statistica 13.2, the UUID is used to sign the license file. 

Issue/Introduction

Error, "Bad encryption code" generated on workstation\clients after full install of Statistica 13.2 (or above) on the server

Environment

Windows operating systems only.

Resolution

SOLUTION ONE

1.  Only after installing a clean full install of Statistica 13.2 on a the server, uninstall Statistica from each workstation.

2.  Install a clean, full install from the Workstation Installer 64 (or 32) folder.

Once the workstations/clients and the server have both Statistica 13.2.x.x installed, the error will no longer appear and Statistica will launch.  

SOLUTION TWO

1.  The license file from the previous install can be used in place of the new one.  The new one will use the STATID but the old license file will use the HOSTID.  Contact support to obtain the old Statistica license file (stat.lic).  Please indicate which version was previously installed.  

2.  Apply the license file by following the steps in this knowledge base article:   How to apply or install a Statistica license file (network installation)

Additional Information

Legacy Article ID: 226701