【问题标题】:SQL Service Broker Queue not ProcessedSQL Service Broker 队列未处理
【发布时间】:2014-08-14 06:51:39
【问题描述】:

我按照SQL Service Broker Configure 在 SQL Server 2008 中配置 SQL Service Broker。但队列没有得到处理。它仍保留在sys.transmission_queue 中。当我检查传输状态时,它显示以下错误。

No route matches the destination service name for this conversation. Create a route to the destination service name for messages in this conversation to be delivered.

我想不需要配置特定的配置,因为我在同一服务器内的同一数据库中配置所有内容。任何想法都会有所帮助。

我根据 Remus Rusanu 的回答使用 ssbdiagnose 工具进行了检查,我收到以下错误

An exception occurred on a connection to SQL Server <server name>:Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.

【问题讨论】:

    标签: sql-server-2008 service-broker


    【解决方案1】:

    运行 SSB 诊断实用程序:ssbdiagnose。最简单的方法是使用 RUNTIME 选项并将其指向您的实例:

    c:\>ssbdiagnose.exe runtime connect to -E -S <servername>
    

    然后等到它重试并开始调查。

    您也可以尝试使用CONFIGURATION 选项,确保您获得正确的服务名称:

    c:\>ssbdiagnose.exe -E -S <servername> -d <dbname> CONFIGURATION FROM SERVICE <fromservice> TO SERVICE <toservice>
    

    【讨论】:

    • 您好,我检查了您的答案并收到身份验证错误。请在我的问题中查看更新。有什么想法吗?
    • 使用适当的凭据(-U-P)。阅读链接的文档。
    • 感谢该工具帮助找到错误,我现在创建了一条路线。但是现在我在队列中遇到了这个错误&lt;Error xmlns="http://schemas.microsoft.com/SQL/ServiceBroker/Error"&gt;&lt;Code&gt;-8494&lt;/Code&gt;&lt;Description&gt;You do not have permission to access the service 'ServiceTarget1'.&lt;/Description&gt;&lt;/Error&gt;
    猜你喜欢
    • 1970-01-01
    • 2010-12-01
    • 1970-01-01
    • 2015-02-28
    • 2012-08-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多