Product: TIBCO Spotfire®
Why does scheduled Automation Services job throw "Key not valid for use in specified state" error?
When running a scheduled Automation Services job through Windows task scheduler or through command line interface using "Spotfire.Dxp.Automation.ClientJobSender.exe", the following error may be seen.
This error points towards an issue authenticating with the Spotfire server. If the above error is seen, make sure that the "Spotfire.Authentication.Basic.UserName" and "Spotfire.Authentication.Basic.Password" values are correct in the "Spotfire.Dxp.Automation.ClientJobSender.exe.config" and has access to the Spotfire Server
Note: If the password is encrypted in the "Spotfire.Dxp.Automation.ClientJobSender.exe.config", it can not be copied from one server/environment to the other for use. The copied "Spotfire.Dxp.Automation.ClientJobSender.exe.config" file with encrypted password in it will not work in another environment and a similar error as mentioned above will be seen.