SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Error with _dbaMain..spxCreateIDXMaintenanceJob


Error with _dbaMain..spxCreateIDXMaintenanceJob

Author
Message
John Waclawski
John Waclawski
SSC Veteran
SSC Veteran (250 reputation)SSC Veteran (250 reputation)SSC Veteran (250 reputation)SSC Veteran (250 reputation)SSC Veteran (250 reputation)SSC Veteran (250 reputation)SSC Veteran (250 reputation)SSC Veteran (250 reputation)

Group: General Forum Members
Points: 250 Visits: 418
I'm at the tail end of the "CH1_Listing_1_Automated_Configuration_Script.sql" script. I'm on the
--Create Index Maintenance Job
USE DBA_Rep
go

EXEC _dbaMain..spxCreateIDXMaintenanceJob
'Admin Profile'
, 'sqlsupport'
, 'Sunday'
, 0

section. Whenever I execute it I get:
Msg 14234, Level 16, State 1, Procedure sp_verify_job, Line 243
The specified '@notify_email_operator_name' is invalid (valid values are returned by sp_help_operator).

If I throw email addresses in either of the first 2 variables, I get:
Msg 515, Level 16, State 2, Procedure sp_add_job, Line 137
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.


I've tried several different variables on this stored proc with no luck. So close but yet so far.

Hopefully this discussion doesn't sit too long.

Thank you!

======================================================
John
SQL Server 200x Newb and proud of it! :-D
======================================================
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search