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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Some Docx files takes a lot time to open.

Thread ID:





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

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 09:03 AM UTC

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.

Please let us know if you have any questions.

Lakshmi Devi S


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon