Page 1 of 1

docx2pdf conversion on server - MS word hanging

Posted: Thu Oct 14, 2010 5:06 pm
by Yeentrancemperium
Hi!

So, we have bullzip installed on server (win 2008 R2 64-bit) and want to be able to convert docx file to pdf file without user logged in.

When the whole process is started, bullzip opens MS WORD, but then freezes. Word is just hanging without any progression.

Any suggestions?

P.S. We are using .NET interface.

Re: docx2pdf conversion on server - MS word hanging

Posted: Wed Oct 20, 2010 11:11 am
by LA Bull
We have same problem, did anyone find solution for it!
Thanks

Re: docx2pdf conversion on server - MS word hanging

Posted: Wed Oct 20, 2010 3:18 pm
by jr
Hi,

I don't know why this doesn't work when not logged in.

On my system the registry tells me that the following command is run:

"C:\Program Files\Microsoft Office\Office14\WINWORD.EXE" /j "%1" "%2"

Try using some real values and run the command directly from your code:

"C:\Program Files\Microsoft Office\Office14\WINWORD.EXE" /j "d:\support\test.docx" "Bullzip PDF Printer"

Can you tell me if that helps?

Regards,
Jacob

Re: docx2pdf conversion on server - MS word hanging

Posted: Fri Oct 22, 2010 12:19 pm
by Yeentrancemperium
It seems that the problem is in .NET. Again, if I call the command in MS prompt :

C:\Program Files (x86)\Microsoft Office\Office14\winword.exe /j /q /w /x "C:\temp\test.docx\" "Bullzip PDF Printer\"

it works well. But if I do the same thing in C# (this time straight MS promt command call, not Bullzip api):

..............................................
string tCMD2 = "\"C:\\Program Files (x86)\\Microsoft Office\\Office14\\winword.exe\"";
string tParam2 = " /j /q /w /x \"C:\temp\test.docx\" \"Bullzip PDF Printer\"";
Process tP = Process.Start(tCMD2, tParam2, tUser, tPassword, tDomain);
...............................................

it won't do it.