HttpAdapter sample: HTTP.NET Send fails with 0x8000FFFF

Problem

In BizTalk Server 2004, the HTTP.NET Sample adapter fails when trying to send (one-way or two-way) via HTTP. The following will be logged in the event viewer:

Event Type: Error
Event Source: BizTalk Server 2004
Event ID: 5680
Description:
The Messaging Engine has suspended "1" message(s) due to outbound processing errors. Please use Health and Activity Tracking to determine the cause of this failure.

HAT (Service Instances -> Class : Messaging):
TransmitListener.HTTP.NET Messaging Suspended (resumable) <MACHINE_NAME> BizTalkMsgBoxDb BizTalkServerApplicationĀ 

Cause

The reg file supplied with the sample has two lines that are incorrect and will prevent the send side of this sample from working.

Resolution

The following lines:

"OutboundEngineCLSID"="{024DB758-AAF9-415e-A121-4AC245DD49EC}"
"OutboundTypeName"="Microsoft.Samples.BizTalk.Adapters.HttpAdapterSample.HttpTransmitAdapter"

need to be replaced with these two lines:

"OutboundEngineCLSID"="{D5353BB1-BAE9-4de7-8362-F1160FAD3985}"
"OutboundTypeName"="Microsoft.Samples.BizTalk.Adapters.HttpTransmitter.HttpTransmitAdapter"

See all of our documentation issues we are blogging about:
https://blogs.msdn.com/luke/category/7759.aspx