How can i use the same code for Excel 2003

Aug 4, 2011 at 9:11 PM

I can't used same code for Excel 2003 it throwing error at

public

 

static void UnzipFile(Stream file, string

targetFolder)

{

 

try

{

 

using (var ZipStream = new ZipInputStream

(file))

{

 

ZipEntry

while ((theEntry = ZipStream.GetNextEntry()) != null

)

"Wrong Local header signature: 0xE011CFD0"



do i need any changes in unzip method..



Thanks

Gopal

theEntry;

 

Aug 17, 2011 at 8:01 AM

Hi Gopal,

This component is only for Excel 2007. Excel 2003 is not an Open XML format thus wont work in this scenario. You are better off converting the excel 2003 file to csv and processing it in BizTalk.

Hope it helps.

Regards,

Dipesh