Re: SQL Server Agent jobs - The specified @job_name does not exist.

From: Richard Waymire [MSFT] (rwaymi_at_online.microsoft.com)
Date: 11/10/03


Date: Mon, 10 Nov 2003 10:04:05 +0100

I believe you're running into a known issue that there is a QFE for. Check
out this article:

http://support.microsoft.com/default.aspx?scid=kb;en-us;821334&Product=sql2k

-- 
Richard Waymire, MCSE, MCDBA
This posting is provided "AS IS" with no warranties, and confers no rights.
"David Grant" <david_i_a_grant@hotmail.com> wrote in message
news:0fca01c3a3fe$8e641450$a001280a@phx.gbl...
> Hello,
>
> I have an ASP.NET web application hosted on IIS 6.0, with
> NETWORK SERVICE as the ASP.NET account.  The web app calls
> a stored procedure in the database which attempts to use
> msdb.dbo.sp_add_jobschedule to schedule a run of an SQL
> Server agent job.  This job is owned by the dbo.
>
> However, I reive the error "The specified @job_name
> ('GlaBay_closeAuction') does not exist." whenever this
> stored procedure is executed.
>
> The only way I can get the procedure to execute is by
> running it in Query Analyzer when logged in as the dbo
> account which owns the job. Is it the case that only the
> job owner can add schedules?  If so, how can I allow the
> NETWORK SERVICE account to do this, since it is a group
> login and cannot be selected as the job owner?
>
> Thanks,
>
> David Grant


Relevant Pages

  • Re: pass stored procedure parameters in asp
    ... In Management Studio, open a new query window, logging in with the bettys ... account and try to execute the procedure. ... procedure and properties) of voidTran stored procedure and other ...
    (microsoft.public.inetserver.asp.general)
  • Re: pass stored procedure parameters in asp
    ... Yes, I did log in as bettys and execute voidTran, no problem at all. ... account and try to execute the procedure. ... procedure and properties) of voidTran stored procedure and other ...
    (microsoft.public.inetserver.asp.general)
  • Re: SQL Server 2005 Stored Procedure security annoyances
    ... Can you grant an EXECUTE permission on stored procedure? ... I have came to the maturity level to stop using the sa account when I ... I mean it is unrealistic to have to manually set for each SP the rights ...
    (microsoft.public.sqlserver.security)
  • Re: pass stored procedure parameters in asp
    ... bettys account and try to execute the procedure. ... you can use the EXECUTE AS statement to test the ... procedure and properties) of voidTran stored procedure and other ... This email account is my spam trap ...
    (microsoft.public.inetserver.asp.general)
  • Re: Execute Persmission denied on object sp_OACreate
    ... > I logged in as that user, tried to execute the DTS ... which then launches the DTS package using the sp_OA* procs? ... account is used during proc execution. ... > proxy account to use in the Job Systems tab of SQL Server Agent ...
    (microsoft.public.sqlserver.security)