Scheduled task on Statistica Server (WebStatistica) fails to run

Scheduled task on Statistica Server (WebStatistica) fails to run

book

Article ID: KB0077744

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.5

Description

A analysis or report task will run interactively via Enterprise Manager or Statistica Server, but when scheduled on Statistica Server (or WebStatistica), the task never runs.  

For example, when scheduling a task via the WebStatistica interface, like the following, the analysis never runs:

Example of scheduling a workspace


Cause:
 

Issue/Introduction

This article discusses why a scheduled task will not run on Statistica Server (previously known as WebStatistica) when the task will run interactively.

Environment

Windows operating systems only. Statistica Server only.

Resolution

Typically, WebStatistica errors will appear in either the StaLib.log files or the Windows Event Logs.  However, in this scenario, neither the StaLib.log or the Event Logs show any errors but the StaLib.log  does show that a task was has been scheduled:

User-added image

When no errors show in the StaLib.log files or the Event Logs, then we must check the Task Scheduler history.  Statistica Server uses the Windows Task Scheduler to schedule tasks.   For example, see the error below in the Task Scheduler history:

Task Scheduler error




Error value is 2147943785.  This indicates a permissions issue for the user listed, with one of the following policies in the Local Security Policy:

  • Allow log on locally
  • Log on as a batch job
  • Log on as a service

The solution is to add this user to the local security policies (or add the user to a group then add the group to the policy):

User-added image
 

Additional Information

https://social.technet.microsoft.com/Forums/en-US/cdb418da-823e-4db2-9bf7-dbd3089f53cb/0x80070569-error-when-creating-second-virtual-server-in-hyperv-2012?forum=winserverhyperv