Hi Ramana,

that sounds like you have a problem in the aera of serialisation, encoding
or
file transmission. Take a look in that direction or try to upload any other
binary
file on your server to see what happens. Maybe you file get spoiled by
copying
it over the network?

Hth, gretting from Cologen. Germany,

cu Stefan

> -----Ursprüngliche Nachricht-----
> Von:  ramana murthy pallela [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Mittwoch, 30. August 2006 17:08
> An:   [email protected]; [email protected]
> Betreff:      IOException Unable to read entire block; 49 bytes read;
> expected 512 bytes
> 
> Hi,
> 
> Version: POI 2.5
> Weblogic:8.x
> 
> I am exporting data to an excel file successfully
> using POI, once data is exported I am trying to upload
> the exported file. But in doing so it throws an
> exception saying: 
> "IOException Unable to read entire block; 49 bytes
> read; expected 512 bytes".
> 
> But if I do minor data modifications to the excel
> file(in Ms-Excel) and then saving the file: uploads
> the data successfully.
> 
> Even if we did not do any modifications but just
> opening the excel file(in Ms-Excel) and saving the
> file is also able to upload the data successuflly.
> 
> Any suggestions please!
> 
> --
>  
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to