FIX: Error message when an application that uses Service Broker sends messages in SQL Server 2005: "The conversation endpoint is not in a valid state for SEND"

Article translations Article translations
Article ID: 959010 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

You have an application that uses Service Broker in Microsoft SQL Server 2005. When the system that runs Service Broker is under a heavy workload or under memory pressure, you may receive the following error message when the application sends messages:
The conversation endpoint is not in a valid state for SEND. The current endpoint state is 'ER'
If you query the <SQLInstanceName>.dbo.LogEndedResponseQueue table on the sender, you may receive the following error message:
<Error xmlns=">http://schemas.microsoft.com/SQL/ServiceBroker/Error">
<Code>-8472</Code>
<Description>The remote service has sent a message that contains invalid header fields.</Description>
</Error>

CAUSE

An in-memory state is associated with each dialog. If the system is under memory pressure, the in-memory state is saved to an internal work table. However, a bug causes successive message headers to be corrupted. When successive messages are sent in the dialog, the dialog enters into an error state.

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for SQL Server 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
913089 How to obtain the latest service pack for SQL Server 2005

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in SQL Server 2005 Service Pack 3.

MORE INFORMATION

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 959010 - Last Review: December 16, 2008 - Revision: 1.0
APPLIES TO
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Standard X64 Edition
  • Microsoft SQL Server 2005 Standard Edition for Itanium-based Systems
  • Microsoft SQL Server 2005 Enterprise X64 Edition
  • Microsoft SQL Server 2005 Enterprise Edition for Itanium-based Systems
  • Microsoft SQL Server 2005 Workgroup Edition
Keywords: 
kbsql2005servicebroker kbtshoot kbsql2005engine kbexpertiseadvanced kbfix kbbug KB959010

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com