MIME or S/MIME messages that are signed or encrypted are not parsed correctly when you use the MIME/SMIME Decoder in BizTalk Server 2006 R2 or in BizTalk Server 2009

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

On This Page

SYMPTOMS

Consider the following scenario:
  • You create a receive location to receive and to process MIME and S/MIME messages in Microsoft BizTalk Server 2006 R2 or in Microsoft BizTalk Server 2009. 
  • You use a pipeline that includes the MIME/SMIME Decoder pipeline component in the receive location.
  • You receive a signed or encrypted MIME or S/MIME message in BizTalk Server 2006 R2 or in BizTalk Server 2009.
In this scenario, you may experience one of the following problems.

Problem 1

The message is suspended. Additionally, an error message that resembles the following is logged in the Application log:
Event Type: Error
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5753
Description: A message received by adapter "<Adapter Name>" on receive location "<Receive Location Name>" with URI "<URI>" is suspended.
Error details: There was a failure executing the receive pipeline: "<Pipeline name>, <Pipeline assembly name>, Version=1.0.0.0, Culture=neutral, PublicKeyToken=<Token>" Source: "MIME/SMIME decoder"
Receive Port: "<Receive Port Name>" URI: "<URI>" Reason: There was an authentication failure. "Failed to decode the S/MIME message. The S/MIME message may not be valid."

Problem 2

The message is received by BizTalk Server 2006 R2. However, the MIME boundary is included as part of the message. Therefore, the message is incorrect.

Note These problems also occur when you use the POP3 adapter in the receive location.
Note:If you use BizTalk Server 2009, the Event Source and Event Category in above events are “BizTalk Server 2009”.

CAUSE

This problem occurs because of an error in the Exsmime.dll file that is included in BizTalk Server 2006 R2. Because of this error, the MIME/SMIME Decoder pipeline component does not correctly parse MIME and S/MIME messages under certain conditions.

RESOLUTION

Cumulative update information

Cumulative update informationThe hotfix that resolves this issue is included in cumulative update package 2 for BizTalk Server 2009.

For more informationabout how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2497794 Cumulative update package 2 for BizTalk Server 2009

The hotfix that resolves this problem is included in Cumulative Update Package 2 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:
2211420 Cumulative update package 2 for BizTalk Server 2006 R2 Service Pack 1
For more information about BizTalk Server 2006 R2 SP1 hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
974563 List of Microsoft BizTalk Server hotfixes that are included in BizTalk Server 2006 R2 Service Pack 1
For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
2003907 Information about BizTalk Server hotfixes

STATUS

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

Properties

Article ID: 982634 - Last Review: March 18, 2011 - Revision: 5.0
APPLIES TO
  • Microsoft BizTalk Server 2006 R2 Branch Edition
  • Microsoft BizTalk Server 2006 R2 Developer Edition
  • Microsoft BizTalk Server 2006 R2 Enterprise Edition
  • Microsoft BizTalk Server 2006 R2 Standard Edition
  • Microsoft BizTalk Server 2009 Branch
  • Microsoft BizTalk Server 2009 Developer
  • Microsoft BizTalk Server 2009 Enterprise
  • Microsoft BizTalk Server 2009 Standard
Keywords: 
kbbiztalk2006r2presp2fix kbbtspipeline kbqfe kbautohotfix kbsurveynew kbexpertiseadvanced kbfix kbbiztalk2009presp1fix KB982634

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