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: "An error was encountered when attempting to generate an AS2 status report. Error: The specified content type is invalid" error message when you receive an AS2 message in BizTalk Server 2006 R2


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You use Microsoft BizTalk Server 2006 R2 to receive AS2 messages from a trading partner and to then send Message Disposition Notification (MDN) messages back to the trading partner.�
  • You click to select the Activate AS2 Reporting check box on the general AS2 properties page for the trading partner.
  • You receive an AS2 message from the trading partner. The message contains a Carriage Return Line Feed (CRLF) in the AS2 Content-Type field of the HTTP header. For example, you receive an AS2 Content-Type field that resembles the following:

    Content-Type: application/edi-x12;
    name=from_XYZ_to_ABC
  • BizTalk Server sends an MDN message back to the trading partner successfully.
In this scenario, you cannot find the message from the AS2 Message and Correlated MDN Status Report�in BizTalk Server Administration. Additionally, you receive the following error message in the Application log:

Event ID 4112 :

System.FormatException: The specified content type is invalid.
at System.Net.Mime.ContentType.ParseValue()
at System.Net.Mime.ContentType..ctor(String contentType)
at Microsoft.BizTalk.EdiInt.Reporting.AS2MessageActivity.ValidateParameters()
at Microsoft.BizTalk.EdiInt.Reporting.AS2MessageActivity.Create()

Event ID 8132 :

An error was encountered when attempting to generate an AS2 status report. Error: The specified content type is invalid.

Notes
  • This issue occurs even if you enable the�Unfold HTTP headers AS2 property for the trading partner. The Unfold HTTP headers�AS2 property enables BizTalk Server to unfold� HTTP content-type headers into a single line.
  • The issue typically occurs when the trading partner uses a third-party AS2 application that wraps the HTTP header of the AS2 messages when the header exceeds a specified length.

↑ Back to the top


Resolution

The hotfix that resolves this problem is included in cumulative update package 2 for BizTalk Server 2006 R2 Service Pack 1.

�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

↑ 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, visit the following web sites: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
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


For more information about the list of Microsoft BizTalk Server hot fixes that are included in BizTalk Server 2006 R2 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:
974563� List of Microsoft BizTalk Server hot fixes that are included in BizTalk Server 2006 R2 Service Pack 1

↑ Back to the top


Keywords: KB2219019, kbfix, kbhotfixserver, kbqfe, kbautohotfix

↑ Back to the top

Article Info
Article ID : 2219019
Revision : 1
Created on : 6/30/2010
Published on : 6/30/2010
Exists online : False
Views : 389