Page 1 of 2

Conversion of Word doc having links to external files fails

Posted: Tue Dec 24, 2013 4:26 am
by ahsan
Hi staff,
I am using WPF for making client and WCF service calling "ConvertDocument" function().
When I try to convert MS Word document having links to external files, it fails and gives timeout error.

Here is the image showing how I attached external file in Word document. Right Click and click "view iamge" Image

Re: Conversion of Word doc having links to external files fa

Posted: Tue Dec 24, 2013 4:51 am
by staff
There are no images attached to your post. Could you send a sample Word document with which you experience this problem to our support e-mail?

Re: Conversion of Word doc having links to external files fa

Posted: Tue Dec 24, 2013 4:59 am
by ahsan
Image is there in my question. Just Right Click and click "view iamge" on last word of my question which is "Image".
File is attached in this reply. Please open MS word file and try to convert it using Automation API and not through Print2Flash Application.
staff wrote:There are no images attached to your post. Could you send a sample Word document with which you experience this problem to our support e-mail?

Re: Conversion of Word doc having links to external files fa

Posted: Tue Dec 24, 2013 7:40 am
by staff
We can convert your Word document without problems both manually and using Automation API. However, each time we open your document manually, we get a message about updating document links. Try to disable this message by opening Word options window, switching to Advanced tab, scrolling to General options group and clearing "Update automatic links at open" checkbox.

Re: Conversion of Word doc having links to external files fa

Posted: Tue Dec 24, 2013 8:10 am
by ahsan
staff wrote:We can convert your Word document without problems both manually and using Automation API. However, each time we open your document manually, we get a message about updating document links. Try to disable this message by opening Word options window, switching to Advanced tab, scrolling to General options group and clearing "Update automatic links at open" checkbox.
I am using sdk sample of ASP.NET and same issue is faced.
File could not be converted. Before printing timeout expired

Before printing timeout expired
System.Runtime.InteropServices.COMException (0x80004005): Before printing timeout expired
at Print2Flash3.IServer.ConvertFile(String SourceFileName, String OutputFileName, Object Profile, Object BatchProcessingOptions, Object PrintingPreferences)
at AnasageServer.AnasageServerService.ConvertDocumentToSWF(String conversionSettings, Dictionary`2 info)

Re: Conversion of Word doc having links to external files fa

Posted: Tue Dec 24, 2013 10:01 am
by staff
See this forum topic for information on "Before printing timeout" issue: viewtopic.php?f=19&t=5&p=5

Re: Conversion of Word doc having links to external files fa

Posted: Mon Dec 30, 2013 5:04 am
by ahsan
staff wrote:See this forum topic for information on "Before printing timeout" issue: viewtopic.php?f=19&t=5&p=5
Can you please use sdk sample of ASP.NET and please verify the issue.
On my end issue is facing even if i use sdk sample of ASP.NET.

Secondly, If I convert the document having links to external files; I succeeded.

But i want to convert document using Automation API.
Tools: WPF, WCF

Re: Conversion of Word doc having links to external files fa

Posted: Mon Dec 30, 2013 6:23 am
by staff
We just checked your document with our ASP.NET SDK sample and it worked. For this we had to clear the "Update automatic links at open" option in the Advanced tab of Word Options window. We use MS Word 2010.

Re: Conversion of Word doc having links to external files fa

Posted: Mon Dec 30, 2013 7:37 am
by ahsan
staff wrote:We just checked your document with our ASP.NET SDK sample and it worked. For this we had to clear the "Update automatic links at open" option in the Advanced tab of Word Options window. We use MS Word 2010.
I did the same on MS Word 2010 but sdk sample is unable to convert the file. Re-attaching the file.

Re: Conversion of Word doc having links to external files fa

Posted: Mon Dec 30, 2013 8:04 am
by staff
We checked this document. It was converted by ASP.NET sample with Word 2010 correctly. Do you experience this problem only with documents with external links or with other Word documents as well?