微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

sqlserver2008 使用系统用户作为job owner执行失败的bug


最近频繁出现使用job执行备份均失败,修改job 的owner为sa以后执行就ok了,不知其原因为何,错误如下:

The job Failed.  The owner (test-zuoqujia\Administrator) of job Job_test_FULLBACKUP does not have server access.


最近有时间做了下研究,来自微软官网的说明如下:

  • In sql Server 2008 or sql Server 2005,you create a job whose owner is a Windows user account.

  • You run the job and the job works well.

  • You restart the sql Server Agent.

  • You run the job again.

In this scenario,you may receive the following error message:

The job Failed. The owner () of job <Job Name> does not have server access.


When sql Server Agent starts,the job details will be loaded into the cache. However,when the job owner is a Windows user account,the agent may fail to find the job owner details in the cache and does not refresh the cache. Therefore,the job fails.


然后就不用多说了,解决方法就是打补丁包或者使用其他用户作为job owner啦。


更多官网内容详见:

http://support.microsoft.com/kb/969611/en-us/

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐