Service Broker Woes... help requested.

  • We lost our Datawarehouse developer that set up this application for us, so I am now in charge... ick, and don't know what I'm doing really.

    Lately no messages leaving sys.transmission_queue... all have transmission_status of: "One or more messages could not be delivered to the local service targeted by this dialog."

    Setup looks like this:

    CREATE MESSAGE TYPE XmlSubmission VALIDATION = WELL_FORMED_XML;

    CREATE CONTRACT XmlContract (XmlSubmission SENT BY INITIATOR);

    CREATE QUEUE ReceiverXmlQueue WITH STATUS = ON, ACTIVATION (PROCEDURE_NAME = MMRS.MMRS.WrapXmlProcessor, MAX_QUEUE_READERS = 1, EXECUTE AS SELF );

    CREATE QUEUE SenderXmlQueue;

    CREATE SERVICE Sender ON QUEUE SenderXmlQueue;

    CREATE SERVICE Receiver ON QUEUE ReceiverXmlQueue(XmlContract);

    ALTER QUEUE ReceiverXmlQueue WITH STATUS = on

    Service Broker is enabled on database, and I've tried dropping and recreating these objects to no avail.

    When functioning, these messages get recieved and procecessed into a staging SQL table, storing the XML to be loaded up into the relational tables.

    Any ideas or clues for troubleshooting would be greatly appreciated!

    Todd Carrier
    MCITP - Database Administrator (SQL 2008)
    MCSE: Data Platform (SQL 2012)

  • made sure the xml is good?

  • maybe you can use these scripts to diagnose the problem :

    http://www.sqlservercentral.com/scripts/Maintenance+and+Management/31867/

    or even my article http://www.sqlservercentral.com/articles/Service+Broker/2897/

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data/code to get the best help[/url]

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Need a bit of Powershell? How about this

    Who am I ? Sometimes this is me but most of the time this is me

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply