[急]测试日志传送错误:22029

zonelive 2007-12-12 11:58:54
操作系统:WINDONWS 2003SERVER
数据库:SQLSERVER2000+sp4

出现的问题:
在次服务器的一个作业时而出现“sqlmaint.exe failed.[SQLSTATE 42000][Error 22029].The step failed”

1、作业记录中成功和失败的都存在;
2、每次失败手动执行作业都会成功;

参考“PRB:SQL Server 2000 命名实例上的维护作业失败,返回错误 22029”
http://support.microsoft.com/kb/326485/zh-cn?spid=2852&sid=1223

与里面说的路径含“-S”引起的也不存在

数据库路径:c:\Program Files\Microsoft SQL Server

日志传送的数据存储路径:C:\Shippedlog
...全文
177 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
rouqu 2007-12-13
  • 打赏
  • 举报
回复
开始想到的什么情况哦
zonelive 2007-12-13
  • 打赏
  • 举报
回复
原因找到了,是我开始想到的情况
rouqu 2007-12-12
  • 打赏
  • 举报
回复
From Q288577
If any task in a Database Maintenance plan fails or encounters an error message, the maintenance plan job itself may show as failed. The Job History Details shows the following error message:
sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed.
However, this does not necessarily indicate that the Maintenance Plan as a whole has failed. The Maintenance Plan job shows a status of failed in order to raise a flag to the user that a task in the maintenance plan requires attention.

This kind of behavior is normal because errors may be encountered that need user intervention to work through. Any time a maintenance plan job fails, you must check the plan history to see what the failure is and then take the appropriate action to resolve the problem.
--------------
楼主去检查一下该作业的历史记录 查看具体那一步骤发生了错误

这篇KB里还提到 可以使用sqlagent.exe -c -v来获得更详细的作业记录 即services.msc中停止agent再命令行方式启动

重run作业 查看错误
-狙击手- 2007-12-12
  • 打赏
  • 举报
回复
与里面说的路径含“-S”引起的也不存在
--

这个有可能的呀,当服务器名检测了,嘿嘿

22,209

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server 疑难问题
社区管理员
  • 疑难问题社区
  • 尘觉
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧