We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

System.ApplicationException: Stream position is too big

Thread ID:

Created:

Updated:

Platform:

Replies:

102201 Jan 9,2012 01:28 AM Jan 10,2012 08:19 AM ASP.NET Web Forms (Classic) 2
loading
Tags: DocIO
Nimesh
Asked On January 9, 2012 01:28 AM

HI All,

I am using latest version of syncfusion. I am trying to parse an offerletter and is not working as expected. The file which i am trying to upload is a 97-2003 word file. If i am saving a file in windows os and upload the same, this seems to be working fine. But when i use the same file to upload the file in MAC OS, its throwing exception:

System.ApplicationException: Stream position is too big. at
Syncfusion.DocIO.ReaderWriter.WPTablesData.ReadStylesDefinitions(Stream stream,
Int64 lNextBlockStart) at
Syncfusion.DocIO.ReaderWriter.WPTablesData.ReadStyleSheet(Stream stream) at
Syncfusion.DocIO.ReaderWriter.WPTablesData.Read(Stream stream) at
Syncfusion.DocIO.ReaderWriter.WordReader.ReadDocumentHeader() at
Syncfusion.DocIO.DLS.DocReaderAdapter.Read(WordReader reader, WordDocument
wordDoc) at Syncfusion.DocIO.DLS.WordDocument.Open(Stream stream, FormatType
formatType, String password) at Syncfusion.DocIO.DLS.WordDocument.Open(Stream
stream, FormatType formatType)

When i looked into the properties, i could see that both files has same content but in the details tab i could see Program Name as Microsoft Macintosh Word(File on MAC), and file saved on windows OS is "Microsoft Office Word".

Please let me know your thoughts on this.


Nimesh
Replied On January 9, 2012 01:29 AM

Please find the attached offer letter file which gives trouble.



OfferLetterTemplate_NotParsing_325b8e5c.zip

Gunasekaran T [Syncfusion]
Replied On January 10, 2012 08:19 AM

Hi Nimesh,

Thank you for your interest in Syncfusion products..

We are able to reproduce the mentioned "Stream position is too big" in the provided template document (OfferLetterTemplate(1).doc). We have tried resaving the template document using MS Word MAC version 2008 and not able reproduce the mentioned issue with resaved document. We suspect the template document may be created using MS Word version previous to Word 97. For further reference regarding compatibility of DocIO, please refer our UG documentation form the following link.

UG Documentation link:
http://help.syncfusion.com/ug_94/Reporting/DocIO/ASP.NET/default.htm?turl=Documents%2F12prerequisitesandcompatibility.htm

For your reference we have attached the document resaved using MS Word MAC version 2008. Please do find the resaved document from the following link.

Document link:
http://www.syncfusion.com/downloads/Support/DirectTrac/88841/Document-1573134128.zip

Could you please provide us with the MS Word MAC version in which the template document was created for further analysis? Could you please report this issue through Direct Trac Developer Support System https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents because you can take the advantage of the expertise of a dedicated support engineer and a guaranteed response time and we hope you will take advantage of this system as well. If you have already reported, please ignore this.

Please let us know if you have any other questions.

Regards,
Gunasekaran



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;