Click here to Skip to main content
16,014,392 members

Comments by ameem85 (Top 4 by date)

ameem85 10-Jul-10 3:54am View    
I already tested the way you said. Both client and server code was run at the same machine. It is failing while decompressing the data. I checked the decompressed data byte-by-byte with the original data. It is same but for some datasets the data is lesser than the actual data in some hundreds of bytes. This behavior is varying for different datasets. Most of the times it is working correctly for some datasets only the problem is intruding
ameem85 9-Jul-10 5:52am View    
Yes, Compression worked fine. But decompression is not always working. Not working in the sense, it is not producing the actual data which was compressed. For example the actual data is of 10485760 bytes, and after compression say if the size is 1048576 bytes. Then the decompression should give me 10485760 bytes again, which is the actual data. But sometimes (not always) the data in bytes I get after decompression is less than the actual data which was originally compressed. Due to this deserialization process fails with exception "End of Stream Encountered before parsing was done". Sometimes, desarialization works even if the decompressed data is not exactly the actual data. This issue is very annoying to the client users, when the user requests any large object and he encounters this error. I tried debugging it, but I am unable to find where I am going wrong.
ameem85 9-Jul-10 5:52am View    
Deleted
ameem85
ameem85 9-Jul-10 5:43am View    
Deleted
Yes, Compression worked fine. But decompression is not always working. Not working in the sense, it is not producing the actual data which was compressed. For example the actual data is of 10485760 bytes, and after compression say if the size is 1048576 bytes. Then the decompression should give me 10485760 bytes again, which is the actual data. But sometimes (not always) the data in bytes I get after decompression is less than the actual data which was originally compressed. Due to this deserialization process fails with exception "End of Stream Encountered before parsing was done". Sometimes, desarialization works even if the decompressed data is not exactly the actual data. This issue is very annoying to the client users, when the user requests any large object and he encounters this error. I tried debugging it, but I am unable to find where I am going wrong.