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.
docx2pdf conversion on server - MS word hanging
Moderator: jr
-
- Posts: 2
- Joined: Thu Oct 14, 2010 4:52 pm
Re: docx2pdf conversion on server - MS word hanging
We have same problem, did anyone find solution for it!
Thanks
Thanks
Re: docx2pdf conversion on server - MS word hanging
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
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
-
- Posts: 2
- Joined: Thu Oct 14, 2010 4:52 pm
Re: docx2pdf conversion on server - MS word hanging
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.
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.