Invalid 997 functional acknowledgements are generated in Microsoft BizTalk Server 2006 R2

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

On This Page

SYMPTOMS

In a Microsoft BizTalk Server 2006 R2 environment, the Electronic Data Interchange (EDI) receive pipeline may generate invalid 997 functional acknowledgements. When this problem occurs, 97 XML messages are stuck in a running state after retry intervals because BizTalk cannot suspend the document.
Additionally, you may receive some Application event logs that resemble the following:

Log Name:      Application
Source:        BizTalk Server 2006 EDI
Event ID:      8114
Description:
Error encountered during parsing. 

The X12 transaction set with id '<id>' contained in functional group with id '<id>', in interchange with id '<id>', with sender id '<id>           ', receiver id '<id>         ' is being suspended with following errors:

Error: 1 (Miscellaneous error)
	4: Invalid Segment Terminator

Error: 2 (Segment level error)
	SegmentID:   
	Position in TS: <number>
	7: Segment Not In Proper Sequence

Error: 3 (Segment level error)
	SegmentID:   
	Position in TS: <number>
	2: Unexpected segment
Error: <n>. . .


Log Name:      Application
Source:        BizTalk Server 2006
Event ID:      5753
Task Category: BizTalk Server 2006
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      <server>
Description:
A message received by adapter "FILE" on receive location "<Location_Name> " with URI "<File_Path>" is suspended. 
 Error details: An output message of the component "Unknown " in receive pipeline "Microsoft.BizTalk.Edi.DefaultPipelines.EdiReceive, Microsoft.BizTalk.Edi.EdiPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" is suspended due to the following error: 
     Unknown .
 The sequence number of the suspended message is 1.  
 MessageId:  {D374E531-4ED6-4D25-BB5D-3A48526DFC3A}
 InstanceID: {9FFDB69E-FB2F-4332-A1DC-116A97FD9120}


Log Name:      Application
Source:        BizTalk Server 2006 EDI
Event ID:      8116
Description:
Error: 1 (Field level error)
	SegmentID: AK3
	Position in TS: <number>
	Data Element ID: AK301
	Position in Segment: <number>
	Data Value: 
	6: Leading or trailing space found

...

CAUSE

BizTalk Server 2006 R2 generates a 997 functional acknowledgement, and it reuses the values from some fields of the incoming document. If these fields contain invalid characters or spaces, the 997 functional acknowledgement that reuses these characters may be constructed as invalid.

RESOLUTION

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 Web site:
http://support.microsoft.com/contactus/?ws=support
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 R2 installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

Post-installation step

To make sure that the correct assembly is deployed appropriately to the target server after you apply this hotfix, please open a Command Prompt window and execute the following command:
btstask addresource -Type:System.Biztalk:BiztalkAssembly -Source:Microsoft.Biztalk.Edi.BaseArtifacts.dll -options:gaconadd -overwrite -applicationname:"Biztalk EDI Application"

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.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Btsmimecomps.dll3.6.1498.2156,49626-Nov-200814:10x86
Microsoft.biztalk.edi.baseartifacts.dll3.6.1498.2777,08826-Nov-200814:11x86
Microsoft.biztalk.edi.ediintpipelines.dll3.6.1498.280,77626-Nov-200814:10x86
Microsoft.biztalk.edi.shared.dll3.6.1498.2162,67226-Nov-200814:11x86
Microsoft.biztalk.ediint.pipelinecomponents.dll3.6.1498.2129,93626-Nov-200814:11x86
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.

WORKAROUND

To work around this problem, follow these steps:
  1. Start the BizTalk Server Administration console.
  2. Edit the EDI properties of the affected BizTalk parties.
  3. In the navigation pane under the X12 Properties section and the Party as Interchange Receiver section, select ACK Processing and Validation Settings.
  4. In the right side pane, enable the Allow leading and trailing zeros and spaces check box.
  5. Restart all related BizTalk host instances.

STATUS

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

MORE INFORMATION

For more information about 997 functional acknowledgements, visit the following Microsoft Web site:
http://msdn.microsoft.com/en-us/library/cc982722(BTS.10).aspx

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

Properties

Article ID: 960473 - Last Review: August 10, 2009 - Revision: 1.1
APPLIES TO
  • Microsoft BizTalk Server 2006 R2 Standard Edition
  • Microsoft BizTalk Server 2006 R2 Enterprise Edition
  • Microsoft BizTalk Server 2006 R2 Developer Edition
  • Microsoft BizTalk Server 2006 R2 Branch Edition
Keywords: 
kbautohotfix kbbiztalk2006r2sp1fix kbexpertiseinter kbfix kbhotfixserver kbqfe KB960473

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