When I try to create a scheduled job using a script I get the following error message. I am an SA. Not sure why this is happening. It happens when I script some jobs from another server by not others on the same server.
Server: Msg 515, Level 16, State 2, Procedure sp_add_job, Line 105 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.