首页 > 代码库 > SQL SERVER 2012 AGENT 的 BUG
SQL SERVER 2012 AGENT 的 BUG
背景:sql server 2012 agent 10s 间隔调用powershell 脚本。
现象描述:
正常运行180次左右后报错
报错信息:如下图
历史日志查看不到具体细节错误,并且单独运行powershell脚本无报错
查询日志报错,发现是微软bug。
日志 SQL Server 代理 (当前 - 2012/10/29 15:18:00)
消息 Reloading agent settings
原因:微软BUG
解决办法:
Go to registry on your SQL Server machine and navigate to corresponding SQL Instance registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\ MSSQL11.YOUR_INSTANCE_NAME\SQLServerAgent
Change registry settings called “AutoRegistryRefresh” from 1 to 0.
然后重启SQL SERVER AGENT 服务后,手动执行,正常运行。
SQL SERVER 2012 AGENT 的 BUG
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。