To run this sample, download and run the .msi file and import it with the BizTalk administration console.

Note: By default, all components will be deployed to a BizTalk application called "TestExcel".

Once these components are deployed, ensure a receive port, a receive location and a send port is created in the BizTalk application. Ensure that the receive location uses the XlsxReceive pipeline. You can click the browse button next to it to very the property values like namespace etc. By default all ports point to D:\TestExcel\In folder. You will need to create these folders or change the location if you like.


The send port should have a filter to receive messages from the receive port created above.

Once all the ports are created, start the application and drop the sample.xlsx file in the folder on which the receive location is pointing to.

Last edited May 12, 2011 at 3:58 AM by avlanidipesh, version 3


avlanidipesh Aug 17, 2011 at 7:03 AM 
Hi Vivek,

Does sheet1 contain anything in the speadsheet?



vivekanandh007 Jun 16, 2011 at 9:41 AM 
Hi Dipesh,

I got it working I added the ICSharpCode.SharpZipLib.dll in both pipeline components folder as well as added this as resource in application, it started working great. Can you explain the need of this Zip functionality here ?

Thank you very much for your valuable post

vivekanandh007 Jun 15, 2011 at 12:16 PM 
Hi , I am getting this error while i run your app, Can you help me ?

A message received by adapter "FILE" on receive location "Receive Location1" with URI "D:\TestExcel\In\*.xlsx" is suspended.
Error details: There was a failure executing the receive pipeline: "IntegrationExperts.Samples.Pipelines.XslxReceive, IntegrationExperts.Samples.Pipelines, Version=, Culture=neutral, PublicKeyToken=b4b4fd79102b4431" Source: "XML disassembler" Receive Port: "Rp1" URI: "D:\TestExcel\In\*.xlsx" Reason: The body part is NULL.
MessageId: {5E1637A6-4F22-4F06-A8B9-1EB92CC269D8}
InstanceID: {F80DC350-7C96-4A48-893A-9E3937F186B6}