Microsoft KB Archive/940009

= 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: &quot;SWIFTTestSingleProject.SWIFTDASM, SWIFTTestSingleProject, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2871dfdaebfeafd2&quot; Source: &quot;SWIFT Disassembler&quot; Receive Port: &quot;Batch_RP&quot; URI: &quot;*\Labs\Batch_Inbound\*.txt&quot; 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 &quot;FILE&quot; on receive location &quot;Batch_RL&quot; with URI &quot;C:\Labs\Batch_Inbound\*.txt&quot; is suspended.

Error details: There was a failure executing the receive pipeline: &quot;SWIFTTestSingleProject.SWIFTDASM, SWIFTTestSingleProject, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2871dfdaebfeafd2&quot; Source: &quot;SWIFT Disassembler&quot; Receive Port: &quot;Batch_RP&quot; URI: &quot; &quot; Reason: Unable to cast object of type 'Microsoft.BizTalk.Streaming.XmlTranslatorStream' to type 'Microsoft.BizTalk.Streaming.MarkableForwardOnlyEventingReadStream'.

MessageId:

InstanceID:



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 \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 &quot;Applies to&quot; section.

Additional query words: SWIFT debatching

Keywords: kbprb kbexpertiseinter kbtshoot KB940009

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.