I've read a lot of topic related to invoking ssis package with dtexec
or sp_start_job
, but can't launch my specific package.
Package: mail task with 1 parameter in mail body, SMTP connection with windows authentication. 1 Parameter. Launch from Designer - OK.
Deploying to server, creating a job with a step of recent package, using proxy with my login. Launch job using gui(in which i can change the parameter) - OK.
using dtexec form cmd: dtexec /is %package.dtsx /X86 /ser %servername /par "$Project::ProjectParameter(Int32)";
Launch - fail Launch history shows error in mail task: client was not authenticated.
Question: how to run correctly using dtexec
or how to use sp_start_job
with parameter(without creating a param_table for job)