问题标签 [sql-server-job]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
90 浏览

c# - The job failed. The job was invoked by User

I encountering an error

The job failed. The job was invoked by User.

My scenario is I have a button "Extract button" in ASP.NET that triggers the stored procedure to run a SQL Job.

This is the stored procedure image

dbo.execute_ssis_INVM_Export:

This is my code in C# that triggers the stored procedure:

This is the error I get:

The job failed. The job was invoked by User

Add INFO my SSIS package have Protection level "EncryptAllwithPassword"

This is the stored procedure image

This is the msdb.dbo.sp_Start_job:

I checked the logs of the JOB this is the error

enter image description here

I tried to force execute the Job in SQL Server

enter image description here

enter image description here