Microsoft KB Archive/940009

From BetaArchive Wiki
Knowledge Base


The messages cannot be separated when you use a receive pipeline to split a flat file that contains multiple SWIFT messages on a computer that is running BizTalk Accelerator for SWIFT 2.3 SP1

Article ID: 940009

Article Last Modified on 8/27/2007



APPLIES TO

  • Microsoft BizTalk Server 2006 Developer Edition
  • Microsoft BizTalk Server 2006 Enterprise Edition
  • Microsoft BizTalk Server 2006 Standard Edition
  • Microsoft BizTalk Accelerator for SWIFT 2.3 Standard Edition




SYMPTOMS

You have installed Microsoft BizTalk Accelerator for SWIFT 2.3 Service Pack 1 (SP1) on a computer that is running Microsoft BizTalk Server 2006. When you use a receive pipeline to split a flat file that contains multiple SWIFT messages, the messages cannot be separated into multiple messages. Additionally, you may receive the following errors in the Application log: Event Type:Error
Event Source: BizTalk Accelerator for SWIFT
Event Category: None
Event ID: 4099
Description:
Error during application execution. The error message is: Unable to cast object of type 'Microsoft.BizTalk.Streaming.XmlTranslatorStream' to type 'Microsoft.BizTalk.Streaming.MarkableForwardOnlyEventingReadStream'.

Event Type: Error
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5719
Description:
There was a failure executing the receive pipeline: "SWIFTTestSingleProject.SWIFTDASM, SWIFTTestSingleProject, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2871dfdaebfeafd2" Source: "SWIFT Disassembler" Receive Port: "Batch_RP" URI: "*\Labs\Batch_Inbound\*.txt" Reason: Unable to cast object of type 'Microsoft.BizTalk.Streaming.XmlTranslatorStream' to type 'Microsoft.BizTalk.Streaming.MarkableForwardOnlyEventingReadStream'.

Event Type: Error
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5753
Description:
A message received by adapter "FILE" on receive location "Batch_RL" with URI "C:\Labs\Batch_Inbound\*.txt" is suspended.
Error details: There was a failure executing the receive pipeline: "SWIFTTestSingleProject.SWIFTDASM, SWIFTTestSingleProject, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2871dfdaebfeafd2" Source: "SWIFT Disassembler" Receive Port: "Batch_RP" URI: "driver:\Labs\Batch_Inbound\*.txt" Reason: Unable to cast object of type 'Microsoft.BizTalk.Streaming.XmlTranslatorStream' to type 'Microsoft.BizTalk.Streaming.MarkableForwardOnlyEventingReadStream'.
MessageId: {C0043A14-D5F5-409E-A202-D41D8D9DAAC0}
InstanceID: {25C2545C-3947-4442-9861-A9EC20D222CD}


CAUSE

This issue occurs because the schema files of the SWIFT accelerator are changed after you install BizTalk Accelerator for SWIFT 2.3 SP1 on the computer.

RESOLUTION

To resolve this issue on a computer that is running BizTalk Server 2006 and BizTalk Accelerator for SWIFT 2.3 SP1, install the hotfixes from the following two Microsoft Knowledge Base articles:

  • 927110 FIX: You may receive only one SWIFT message when you split a flat file that contains multiple SWIFT messages in BizTalk Server 2006

  • 930949 FIX: Event ID: 10034 may occur when you use the BizTalk Accelerator for SWIFT 2.3 Service Pack 1 to process messages

After you install these previous two hotfixes, make sure that you update your project by replacing the old schema files with the appropriate new schema files from the <placeholder>\Microsoft BizTalk Accelerator for SWIFT 2006 Message Pack directory. Then, redeploy your project.

Note If your solution uses Category 0 schemas that are not included in the hotfix in Knowledge Base article 927110, you must replace these Category 0 schemas with schemas from Microsoft BizTalk Accelerator for SWIFT Message Pack 2006. For example, the MTS21_FIN_ACKNAK.xsd schema is not included in the hotfix in Knowledge Base article 927710.

STATUS

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


Additional query words: SWIFT debatching

Keywords: kbprb kbexpertiseinter kbtshoot KB940009