FIX: Processing XML message through Service Broker results in hung session in SQL Server 2016 and 2017

Applies to: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Enterprise Core


Assume that you use Microsoft SQL Server 2016  and 2017 service broker to send messages from one instance to another instance. When you send an Extensible Markup Language (XML) message with an image through a service broker, the session hangs.

This problem occurs because the service broker calls incorrect XML schema validation Application Programming Interface (API).


This issue is fixed in the following cumulative updates for SQL Server:

       Cumulative Update 4 for SQL Server 2017 

       Cumulative Update 6 for SQL Server 2016 SP1


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology that Microsoft uses to describe software updates.