Service Broker code fails to parse ...
DanMoran
Posts: 14
When I write Service Broker code, and choose "Lay Out SQL" from the menu, it fails with the error "SQL Refactor was nable to lay out this script because some errors were found while it was being parsed. These errors have been highlighted."
The code highlighted is standard Service Broker code that works fine and parses fine using the Management Studio parser --
BEGIN DIALOG @Dialog
FROM SERVICE @TargetService
TO SERVICE '//mysrv/Workflow/Client'
ON CONTRACT [//mysrv/Workflow/Contract] WITH ENCRYPTION = OFF;
But SQL Refactor chokes on it. Since I'm working mostly with Service Broker these days, this is a problem for me ...
The code highlighted is standard Service Broker code that works fine and parses fine using the Management Studio parser --
BEGIN DIALOG @Dialog
FROM SERVICE @TargetService
TO SERVICE '//mysrv/Workflow/Client'
ON CONTRACT [//mysrv/Workflow/Contract] WITH ENCRYPTION = OFF;
But SQL Refactor chokes on it. Since I'm working mostly with Service Broker these days, this is a problem for me ...
Comments
Simon Cooper