Thursday, November 8, 2012

BizTalk pipeline can not access a disposed object error

I got this error related to Flat file disassembler in the eventlog,

There was a failure executing the receive pipeline: "XXX.Pipelines.ReceivePipeline1, XXX.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=28bb1f44fbba3ea7" Source: "Flat file disassembler" Receive Port: "Commodities_Recv_Port" URI: "D:\XXX\Tests\XXX_OUT_In\*.*" Reason: Cannot access a disposed object.
Object name: 'DataReader'.

Fix:

In the flat file disassembler componet in the pipeline design, set the property
"Recoverable interchange processing" to true


 

No comments: