Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create failed for Job 'SSIS Package Exec'

I created an SSIS package entitled "DimEntity.dtsx"

I followed the instructions from this link to run this SSIS package using a scheduled Job.

http://blog.sqlauthority.com/2011/05/23/sql-server-running-ssis-package-in-scheduled-job/

After following the process of running-ssis-package-in-scheduled-job, I got this error after clicking OK from the image below.

enter image description here

Create failed for Job 'SSIS Package Exec'. (Microsoft.SqlServer.Smo)


ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)


Cannot insert the value NULL into column 'owner_sid', table 'msdb.dbo.sysjobs'; column does not allow nulls. INSERT fails. The statement has been terminated. (Microsoft SQL Server, Error: 515)


Could someone help me resolve this?

Thank you!

like image 249
BA82283 Avatar asked Oct 29 '25 20:10

BA82283


2 Answers

Select General on the left tab and enter a value for owner.

like image 85
Raj Avatar answered Nov 01 '25 11:11

Raj


Try setting the owner manually:

update msdb.dbo.sysjobs_view 
set owner_sid=suser_sid('<username or groupname here>',0) 
where name = 'jobname'
like image 33
SchmitzIT Avatar answered Nov 01 '25 09:11

SchmitzIT



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!