使用相同的服务器,我已经能够在不同的数据库上成功设置复制.
我能够创建发布,订阅和快照,但是当我查看事件日志时,我看到以下错误:
Replication-Replication Distribution Subsystem: agent [agent name] failed. Missing end comment mark ‘/’.*
复制不起作用,并且在查询此数据库时复制监视器会有效挂起.
谷歌搜索返回此页面:MS Connect但我很难找到他们引用的系统生成的存储过程所在的位置.我已经尝试使用各种过滤器在Profiler应用程序中搜索它,但没有太多的喜悦定位它.
任何帮助将不胜感激!
解决方法
From the connect item it looks as though the failure occurs when you
have a stored procedure with GO inside a comment. I guess you can find
it with SELECT * FROM sys.sql_modules where definition LIKE
‘%/%GO%/%’ then change the comment. – 07001 Dec 13 ’12 at
15:11Thanks,Martin. This seems to have done the trick! – 07002 Dec 20 ’12 at 8:56
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。