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. Image for the cookie policy date

Can't open Word document with version lasts versions


Greetings,

I opened word document (to proceed a Mail merge) with this peace of code :

            Stream inputStream = new FileStream(pDocumentPath, FileMode.Open);
            WDocument = new WordDocument();
            WDocument.Open(inputStream, FormatType.Doc);

This worked perfectly well with Synfusion v13.1.0.30 but doesn't with v14.2.0.32 nor v14.4.0.15.

The code stay indefinitly at the line "WDocument.Open()" (where WDocument is an WordDocument object), with no exception thrown.

I tried to recreate a new Project in Visual Studio with the news DLL (Syncfusion.DocIO.Portable and Syncfusion.OfficeChart.Portable) but it doesn't change anything.

Is there something that i need to to with the new version ?

Thanks in advance for your help,

Best regards,

Benjamin C.

3 Replies

SY Sethumanikkam Yogendran Syncfusion Team February 13, 2017 05:08 AM UTC

Hi Benjamin,

Thank you for contacting Syncfusion support.

We are unable to reproduce the mentioned issue with given details,
kindly provide us input Word document or sample from your end to reproduce the mentioned issue at our end. So, that we can further analyze and update you with the appropriate details at the earliest.

Regards,
Sethumanikkam.Y



BE Benjamin February 21, 2017 05:40 PM UTC


Hi Sethumanikkam,

I created a test solution downloadable from this link : www.transfernow.net/26it22w75qeg

(The link is available until 1 march.)

I've inserted a readme.txt for more information.

Regards,

Benjamin.


SY Sethumanikkam Yogendran Syncfusion Team February 22, 2017 10:31 AM UTC

Hi Benjamin,

Thank you for your update.

We could reproduce the reported hanging issue while opening given Word document and we have forwarded this to our developer for further analysis. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login

Please let us know if you have any other questions.

Thanks,
Sethumanikkam.Y


Loader.
Up arrow icon