之乎者也,阿弥陀佛

软件设计的原则就是,化繁为简,化难为易,把人的思维集中在简单的领域,然后通过有序的组合实现复杂的逻辑。

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  341 随笔 :: 0 文章 :: 76 评论 :: 62万 阅读

随笔分类 -  SSB

摘要:在cmd命令提示符中输入以下命令进行检测ssbdiagnose CONFIGURATION FROM SERVICE T1ToT2_SenderService -S 192.168.0.110 -U sa -p 123456 -d T1DB TO SERVICE T1ToT2_ReceiverService -S 192.168.0.111 -U sa -p 123456 -d T2DB ON CONTRACT T1ToT2_Contract 阅读全文
posted @ 2012-06-11 16:40 搏击的小船 阅读(235) 评论(0) 推荐(0) 编辑

摘要:A poison message is a message containing information that an application cannot successfully process. A poison message is not a corrupt message, and may not be an invalid request.Service Broker provides automatic poison message detection. When a transaction that contains a RECEIVE statement rolls ba 阅读全文
posted @ 2011-08-31 17:10 搏击的小船 阅读(238) 评论(0) 推荐(0) 编辑

摘要:Exception Message:The activated proc [dbo].[storedprocedure_name] running on queue [QUEUE_NAME] output the following:'The server principal "sa" is not able to access the database "AnotherDBName" under the current security context.'SOLUTION:The problem is that the activati 阅读全文
posted @ 2011-08-31 17:09 搏击的小船 阅读(300) 评论(0) 推荐(0) 编辑

摘要:在我们开发service broker应用时候,可能用于测试或者客户端没有配置正确等导致服务端队列存在很多垃圾队列,不便于我们排查错误,我们可以使用SQL脚本来清空服务端这些垃圾数据:USETestDBdeclare@conversationuniqueidentifierwhileexists(select1fromsys.transmission_queue)beginset@conversation=(selecttop1conversation_handlefromsys.transmission_queue)endconversation@conversationwithcleanu 阅读全文
posted @ 2011-08-25 10:04 搏击的小船 阅读(1043) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示