Re: Error 87 from GetProxyAccount on line 604

From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 09/29/04


Date: Wed, 29 Sep 2004 19:01:29 +0200

Did you specify a proxy account? (Do this in EM, right click Agent.)

-- 
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Chris Clements" <chrisclements@msn.com> wrote in message 
news:3a0201c4a636$c892df90$a501280a@phx.gbl...
> Error 87 from GetProxyAccount on line 604
>
>
> I am trying to set up a regular SQL login which is NOT a
> sysadmin with the ability to run xp_cmdshell.  It's not
> the best idea, but I have no choice.  I granted it
> execute permissions on the proc and used
> xp_sqlagent_proxy_account to point to a login which is a
> local admin on the server.  Whenever I try to execute
> xp_cmdshell under that account, I get the error :
>
> Msg 50001, Level 1, State 50001
> xpsql.cpp: Error 87 from GetProxyAccount on line 604
>
> A search of KB and a few of these newsgroups turned up
> nothing.  The version number of SQL Server is 08.00.0818
> (sp3 + security update).
> 


Relevant Pages

  • Re: SQL Server Agent Proxy Account / XP_CMDSHELL
    ... The proxy account is unrelated to SQL Server object permissions. ... must have xp_cmdshell execute permissions when xp_cmdshell executed ... execute permissions on xp_cmdshell. ...
    (microsoft.public.sqlserver.security)
  • Re: Cscript from a SQL Stored Procedure?
    ... You may want to check the proxy account. ... >that uses SQL SERVER 2000 as it's database. ... >Basically we are trying to add code that calls the .vbs script so that when ... >doesn't seem to execute. ...
    (microsoft.public.sqlserver.server)
  • RE: Unable to set the SQL Agent proxy account
    ... The Proxy Account should not be the same account used to ... Start SQL Server and SQL Agent. ... SQL Server Agent proxy accounts allow SQL Server users who do not belong to ... SQL Server Agent jobs. ...
    (microsoft.public.sqlserver.security)
  • Re: VB 6, SQL Server 2000, xp_cmdshell
    ... server role named "sysadmin". ... You need to understand what the SQL Server service role "sysadmin" is. ... If the login who owns the job isn't sysadmin, then the proxy account is used. ... then ensure that that id has access rights to ...
    (microsoft.public.sqlserver.server)
  • Error 87 from GetProxyAccount on line 604
    ... I am trying to set up a regular SQL login which is NOT a ... execute permissions on the proc and used ... Error 87 from GetProxyAccount on line 604 ... The version number of SQL Server is 08.00.0818 ...
    (microsoft.public.sqlserver.server)