SQL 2005 Agent job step calling ActiveX subsystem fails
i’m having problems configuring sql 2005 agent job step, new credential , proxy setup stuff. i followed set per bol , “what’s new in sql agent” (i think) it’s not working.
the job can called correctly , start , execute activex job step fails with:
“error creating security descriptor shared objects (reason: no mapping between account names , security ids done).”
i tried adding user permissions agent account per q283811 (replace process level token, etc.) but still didn’t work.
it work if set sql agent service run under local admin account (psystem referenced below) instead of local system though seems permissions issue.
since "what's new" technet article says “if upgrade sql server 2005, existing proxy account created , subsystems assigned single proxy account. enables sql server agent jobs continue function did in sql server 2000 after upgrade.”, even built whole new system at sql 2000 , verified that the agent job step functions fine, upgraded sql 2005 , still fails same error.
here’s generated script of setup steps i’m doing:
create credential [psystem] identity = n'dolphin\psystem', secret = n'...'
go
msdb..sp_add_proxy @proxy_name = 'pproxy', @credential_name = 'psystem'
go
create user [dolphin\pusers] login [dolphin\pusers]
go
exec msdb..sp_addrolemember n'sqlagentuserrole', n'dolphin\pusers'
go
msdb..sp_grant_login_to_proxy @login_name = 'dolphin\pusers', @proxy_name = 'pproxy'
go
msdb..sp_grant_proxy_to_subsystem @proxy_name = 'pproxy', @subsystem_name = 'activescripting'
go
msdb..sp_grant_proxy_to_subsystem @proxy_name = 'pproxy', @subsystem_name = 'cmdexec'
go
the psystem account local windows admin need job step run under network permissions, pusers group general windows users group access control of job. database access , transact-sql job steps run fine setup, it's activex , cmdexec ones fail.
i can’t find info on error message , can’t figure out setup step i’m missing or i’m doing wrong.
thanks!
SQL Server > SQL Server Tools
Comments
Post a Comment