Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Errors occur when the AS2 Decoder decrypts an AS2 or EDI message that does not contain a MIME Content-Type header in BizTalk Server


Symptoms

Consider the following scenario:

  • You have a computer that is running Microsoft BizTalk Server 2010, or Microsoft BizTalk Server 2006 R2 Service Pack 1 (SP1).
  • The AS2 Decoder decrypts an encrypted Applicability Statement 2 (AS2) or an encrypted Electronic Data Interchange (EDI) message.
  • The AS2 or EDI message does not have a MIME Content-Type header.
In this scenario, the AS2 Decoder cannot decrypt the message. Additionally, the following events are logged in the Application log:


Event 1
Event Type: Warning
Event Source: BizTalk Server 2006 EDI
Event Category: None
Event ID: 8132

Description:
An error was encountered when attempting to generate an AS2 status report. Error: Object reference not set to an instance of an object.

Event 2
Event Type: Error
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5719

Description:
There was a failure executing the receive pipeline: "Microsoft.BizTalk.EdiInt.DefaultPipelines.AS2Receive, Microsoft.BizTalk.Edi.EdiIntPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "Pipeline " Receive Port: "<receive port>" URI: "<URI>" Reason: The Messaging Engine encountered an error while reading the message stream.

Event 3
Event Type: Error
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5753

Description:
A message received by adapter "HTTP" on receive location "<receive location>" with URI "<URI>" is suspended.
Error details: There was a failure executing the receive pipeline: "Microsoft.BizTalk.EdiInt.DefaultPipelines.AS2Receive, Microsoft.BizTalk.Edi.EdiIntPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "Pipeline " Receive Port: "<receive port>" URI: "<URI>" Reason: The Messaging Engine encountered an error while reading the message stream.

↑ Back to the top


Cause

This issue occurs because the AS2 Decoder does not treat messages that do not contain a MIME Content-Type header as plain text (US-ASCII).


Note According to a Request for Comments (RFC) memorandum that defines a standard for messages that do not contain MIME Content-Type headers, a default content-type should be assumed. The RFC states that any message that does not contain a MIME Content-Type header should be treated as a plain text (US-ASCII) message. This content-type is specifically defined as the following:
Content-type: text/plain; charset=us-ascii

↑ Back to the top


Resolution

Cumulative update information

BizTalk Server 2010

For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2497789 Cumulative update package 1 for BizTalk 2010



BizTalk Server 2006 R2


The hotfix that resolves this issue is included in cumulative update package 4 for BizTalk Server 2006 R2 SP1.

For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:


2682056 Cumulative update package 4 for BizTalk Server 2006 R2 SP1


Hotfix information


A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.


If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.


Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


Prerequisites

To apply this hotfix, you must have Microsoft BizTalk Server 2006 R2 SP1 installed.

Restart requirement

After you apply this hotfix, you do not have to restart the computer. However, you must restart the BizTalk host instance service.

Hotfix replacement information

This hotfix does not replace any other hotfixes.


File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File nameFile versionFile sizeDateTimePlatform
Microsoft.biztalk.edi.messagecore.dll3.6.2229.12350,08825-Jan-201111:07x86
Microsoft.biztalk.edi.pipelinecomponents.dll3.6.2229.12190,35225-Jan-201111:07x86
Microsoft.biztalk.edi.reporting.common.dll3.6.2229.1225,48825-Jan-201111:07x86
Microsoft.biztalk.edi.reporting.dll3.6.2229.1255,16825-Jan-201111:07x86
Microsoft.biztalk.edi.shared.dll3.6.2229.12161,65625-Jan-201111:07x86
Microsoft.biztalk.ediint.pipelinecomponents.dll3.6.2229.12128,92025-Jan-201111:07x86
Microsoft.biztalk.ediint.reporting.dll3.6.2229.1234,69625-Jan-201111:07x86
Microsoft.biztalk.messaging.dll3.6.2229.1292,02425-Jan-201111:07x86
Microsoft.biztalk.pipeline.components.dll3.6.2229.12292,75225-Jan-201111:07x86
Microsoft.biztalk.pipeline.dll3.6.2229.12292,72825-Jan-201111:07x86
Microsoft.biztalk.streaming.dll3.6.2229.1251,06425-Jan-201111:07x86
Microsoft.biztalk.xpathreader.dll3.6.2229.1279,74425-Jan-201111:07x86
Microsoft.xlangs.basetypes.dll3.6.2229.12104,31225-Jan-201111:07x86

↑ Back to the top


Status

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

↑ Back to the top


References

For more information about AS2 receive components, visit the following Microsoft Developer Network (MSDN) website:
For more information about MIME RFCs, visit the following webpage: For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
2003907 Information on BizTalk Server hotfixes

↑ Back to the top


Keywords: kbautohotfix, kbqfe, kbhotfixserver, kbfix, kbexpertiseadvanced, kbsurveynew, kbbiztalk2006r2presp2fix, kb

↑ Back to the top

Article Info
Article ID : 2467136
Revision : 1
Created on : 1/7/2017
Published on : 4/12/2012
Exists online : False
Views : 1494