标签:
分发服务器到订阅服务器的历史记录中看到的错误消息:
尝试的命令: if @@trancount > 0 rollback tran (事务序列号: 0x00014F30000020D9010700000000,命令 ID: 667)
错误消息: The distribution agent failed to create temporary files in ‘C:\Program Files\Microsoft SQL Server\100\COM‘ directory. System returned errorcode 5. (源: MSSQL_REPL,错误号: MSSQL_REPL21100) 获取帮助: http://help/MSSQL_REPL21100
错误日志中读到的消息:
Error: 14151, Severity: 18, State: 1.
Replication-Replication Distribution Subsystem: agent XXXX failed. The distribution agent failed to create temporary files in ‘C:\Program Files\Microsoft SQL Server\100\COM‘ directory. System returned errorcode 5.
解决方案:
授予对运行 SQL Server 代理服务帐户的 C:\Program Files\Microsoft SQL Server\100\COM 文件夹的写权限。
参考http://support.microsoft.com/kb/956032
标签:
原文地址:http://www.cnblogs.com/ajiangg/p/4218166.html