How to resolve MAS error :Begin processing QCP file [Encountered an improper argument.] for IQC Charts

How to resolve MAS error :Begin processing QCP file [Encountered an improper argument.] for IQC Charts

book

Article ID: KB0079296

calendar_today

Updated On:

Products Versions
Spotfire Statistica -

Description

When a scheduled MAS taskset that runs Quality Control tasks runs, it errors out with : Error: Runner: Begin processing QCP file [Encountered an improper argument.] Error code: 80004005. How can this be resolved?

User-added image

Issue/Introduction

When a scheduled MAS taskset that runs IQC tasks runs, it errors out with : Error: Runner: Begin processing QCP file [Encountered an improper argument.] Error code: 80004005. How can this be resolved?

Resolution

This typically indicates that the data configuration that the IQC tasks depend on is not configured right. Expand the query in the data configuration and verify if:

1. The Target type of at least one of the fields is set to "Variable Characteristic"  . This should typically be the numerical field that is being plotted by the IQC chart

User-added image
2. The Target Type of at least one of the fields is set to Time Stamp with Auto Update: First Update column or  the Target Type of at least one of the fields is set to Sample ID with Auto Update set to First Update column.

NOTE: Two fields cannot have Auto Update set to : First Update column. This indicates what identifies a unique case or sample. 

User-added image  User-added image

Correct the above Target type and Auto Update column and try running the MAS task again.