We have very strange scenario, in fact don't understand how the SSIS execution flow is triggering the package tasks
well to summerize the issue, we have create a SSIS package to push data to Dynamics CRM instance, and we created a SQL job which inturn triggers the SSIS package (asumming will have a controlled environment). it's all works perfectly fine when we trigger the SQL Job from the SSMS environment. where by we do have functionality to trigger whenever user initiates the trigger action.
To perform the initial action, we use the following traditional command
EXEC MSDB.DBO.SP_START_JBO '{0}'
{0} token to supply the Jobname as configured from the app.config
When we execute this above code from the SSMS console, it does trigger and perform all the tasks inside the package without any hassle.
But, when trigger the job from a web page. SQL job triggers sucessfully yet we found only 3 tasks were completed out of 5 (in total). It skips the task which pushes the data to CRM using a utility (Kingsway Soft - a 3rd party plugin to push data to CRM)
We indeed checked all the permissions and app pool account executions and impersonation and yet the program fails to execute thoese 2 tasks when we trigger from a web page...
Any idea on this issue? can be really helpful for us to move forward.