- 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.
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.
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.
- 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.