Consider the following scenario:
- You receive a MIME
or Secure MIME (SMIME) document in Microsoft BizTalk Server 2006 or in Microsoft BizTalk Server 2006 R2 or in Microsoft BizTalk Server 2009.
- The MIME or SMIME document
contains two or more attachments that
have
the same name.
In this scenario, the document 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>" on receive location
"<receive location>" with URI
"<URI>" is suspended.
Error details: Item
has already been added.
Key in dictionary: '<name of the
duplicate attachment>'
Key being added:
'<name of the duplicate attachment>'
MessageID:
{<Message ID>}
InstanceID:
{<Instance ID>}
This problem may
occur if one of the following conditions is true:
- You use a
Post Office Protocol 3 (POP3) adapter to retrieve data
from a server that houses POP3.
- You use a file adapter to receive the .eml files from a
file location, and you use a pipeline that uses a
MIME/SMIME decoder to process the incoming
files.
This problem occurs because of an error in the MIME/SMIME
decoder component of BizTalk Server 2006 or of BizTalk Server 2006 R2 or of BizTalk Server 2009.
To resolve this problem, apply the following hotfix.
After you apply this hotfix, the MIME/SMIME decoder adds a sequence number and a GUID to the
attachment name for MIME/SMIME documents that are received. Then, the attachment name is
in the format of
ORIGINALNAME-%n%%GUID%, where: %n% represents the attachment number.
Note Because the maximum size of the promoted property is 255
characters, the name may be truncated.
Cumulative update information
For BizTalk Server 2009
The hotfix that resolves this issue is included in cumulative update package 3 for BizTalk Server 2009.
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:
2557149Â
(http://kbalertz.com/Feedback.aspx?kbNumber=2557149/
)
Cumulative update package 3 for BizTalk 2009
Hotfix information
For BizTalk Server 2006 and BizTalk Server 2006 R2 SP1
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 the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
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, contact 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 Web site:
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
You must have BizTalk Server 2006 or BizTalk Server 2006 R2
installed to apply this hotfix.
Restart requirement
You do not have to restart the computer after you apply this
hotfix. However, you must stop all BizTalk host instances before you apply this
hotfix to make sure that no open handles exist against the affected file.
Additionally, you must restart all host instances after you apply the
hotfix.
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.
Microsoft BizTalk Server 2006
Collapse this tableExpand this table
| File name | File version | File
size | Date | Time | Platform |
|---|
| Btsmimecomps.dll | 3.5.1778.0 | 153,432 | 16-Apr-2009 | 19:50 | x86 |
Microsoft BizTalk Server 2006 R2
Collapse this tableExpand this table
| File name | File version | File
size | Date | Time | Platform |
|---|
| Btsmimecomps.dll | 3.6.1523.2 | 159,056 | 16-Apr-2009 | 16:57 | x86 |
| Microsoft.biztalk.edi.baseartifacts.dll | 3.6.1504.2 | 777,088 | 16-Apr-2009 | 16:57 | x86 |
| Microsoft.biztalk.edi.ediintpipelines.dll | 3.6.1504.2 | 80,776 | 16-Apr-2009 | 16:57 | x86 |
| Microsoft.biztalk.edi.shared.dll | 3.6.1504.2 | 162,672 | 16-Apr-2009 | 16:57 | x86 |
| Microsoft.biztalk.ediint.pipelinecomponents.dll | 3.6.1504.2 | 129,936 | 16-Apr-2009 | 16:57 | x86 |
Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
This problem also occurs when the duplicate name is in
different case in the "Content-Description" field. This field is in the MIME header of the
MIME part. For example, this problem occurs when you receive a MIME message
that contains the following three Content-Description fields in three MIME
parts:
- Content-Description: filename.txt
- Content-Description: Filename.txt
- Content-Description: FILENAME.TXT
For more information about the POP3 adapter, visit the following
Microsoft Developer Network (MSDN) Web site:
For more information about MIME/SMIME Decoder pipeline component,
visit the following Microsoft Developer Network (MSDN) Web site: