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.

Some Docx files takes a lot time to open.

Thread ID:

Created:

Updated:

Platform:

Replies:

102174 Jan 6,2012 04:38 AM Jan 9,2012 04:03 AM ASP.NET Web Forms (Classic) 1
loading
Tags: DocIO
Nimesh
Asked On January 6, 2012 04:38 AM

Hi All,

I am using syncfusion latest dll's(Evaluation). I have a place to generate offer letter. I should be able to read the file. word files with extension .doc and some of the .docx files are working fine. I am able to read the contents via C# code.

When i try to read the document,
WordDocument source = new WordDocument();
FormatType format = FormatType.Doc;
if (template.Name != null && template.Name.ToLower().EndsWith("docx"))
format = FormatType.Docx; // Need to test this...
MemoryStream mem = new MemoryStream(template.Bytes);

source.Open(new MemoryStream(template.Bytes), format);
Here in the last line it fails. it's not coming after this line, takes longer time. But you know some of the files, i am able to read which wouldn't take much time to parse.

Please let me know if you need more information. Please let me know your comments on this.


Lakshmi Devi S [Syncfusion]
Replied On January 9, 2012 04:03 AM

Hi Nimi,

Thank you for your interest in Syncfusion Products.

Regarding your query about delay in loading word documents using DocIO,
Please provide us with the input template document you are trying to process. If possible, could you please provide us with the sample application you are using? We will analyze the mentioned issue and provide you with clear details.

Also, please find the sample application we have used in our end to reproduce the mentioned issue.
Sample:
http://www.syncfusion.com/downloads/Support/DirectTrac/89291/Sample2067896334.zip

Please let us know if you have any questions.

Regards,
Lakshmi Devi S


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.

;