Unable to run "Execute External Workspace" node in 13.5 Desktop version with error "Expecting a valid data type"

Unable to run "Execute External Workspace" node in 13.5 Desktop version with error "Expecting a valid data type"

book

Article ID: KB0077809

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.5

Description

In Statistica 13.5 single user Desktop install, user is unable to execute the "Execute External Workspace" (EEW) node with below error: 

Syntext error in node "Execute External Workspace" at line 221:
Expecting a valid data type (e.g. Integer).


User-added image

Environment

Windows

Resolution

This is due to the reason that, execution of "Execute External Workspace" node requires the macro reference library "STATISTICA SPC Extension 1.0 Object Library" which however is missing in 13.5 single user Desktop install. 

User-added image

To resolve:

1. Contact Statistica support (support@tibco.com) to obtain a copy of the file swl_spc2.dll for version 13.5. Or user can obtain a copy of this file from Statistica 13.5 Enterprise Server version.

2. Paste the file "swl_spc.dll" to Statistica application installation folder, typically C:\Program Files\Statistica\Statistica 13\

3. Close all Statistica instances. Launch Statistica as Administrator (e.g. right click on Desktop shortcut for Statistica and select "Run as Administrator")

4. Open a workspace with "Execute External Workspace" node, right click on the EEW node, select "Edit Code" to open the SVB coding

5. Go to Statistica menu "Macro | References" to open the References list. Select the long string (e.g. "{8ECC61C4......}") for SPC library and click on "Browse" to locate the swl_spc.dll file pasted in Statistica application folder as in step 2.

6. The "STATISTICA SPC Extension 1.0 Object Library" is added successfully.
User is then able to run the EEW node with SPC reference library added. 

User-added image

Note:
Adding SVB macro reference library requires user launching Statistica as Administrator. 

Issue/Introduction

Unable to run "Execute External Workspace" node in Statistica 13.5 Desktop version with error "Expecting a valid data type"