I am using sharepoint server 2007. I want to convert a doc to PDF using the document conversion. I referred this link: https://docs.aspose.com/words/sharepoint/
The link was really helpful and easy to understand. I was able to perform all the actions mentioned in it. But the only problem I am facing is its not converting a doc to pdf. After uploading the doc file, when we select the drop down, we get an option ‘Convert Document’ which we select. I am getting the option also, but after selection, the pdf is not created. No errors is shown. The logs also don;t contain any errors. Please help me out. I would like to get a solution as fast as possible.
So far we tried not to provide technical support on this issue. Basically, if Aspose.Words is invoked - then it works. But otherwise it is a problem with overly complex way that Microsoft is desinged into MOSS for configuring and invoking document converters. We do not really have resources to provide technical support for a Microsoft product as you can understand.
What the article describes was actually written “from live steps” and if followed properly it should work. I’m not saying you’ve done something incorrectly, but you need to double check the steps and MOSS configuration.
We will think about how else we could help, but at this stage we really cannot start supporting Microsoft SharePoint Server on our site.
i implemented as per the link.
but i am not getting the PDF file after Converting Word to PDF (by aspose). i am not getting any error, but PDF is not shown in the Library.
Pls help me in this Regard for any changes i need to change to convert Word to PDF.
Thanks for your inquiry. Do you get any errors? Please check the MOSS log files, they are pretty detailed. The log files are in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS. You can also attach logs here for reviewing.
Hi,
Thanks for ur Quick response.
I am not getting any errors when i selected the ConvertDocument->Document to PDF.
I am not able to see the PDF in library. I have checked the LOG file, and found below errors.
Document Conversions Launcher Service 6102 Critical LoadBalancer.RegisterLauncher failed: The remote server returned an error: (401) Unauthorized.
Document Conversions Timer Job 5448 Critical The document converter was not able to convert the file.
09/17/2008 10:51:50.09 w3wp.exe (0x120C) 0x0618 CMS Publishing
Thank you for additional information. I think there is some issue with user authentication. I google a bit and found that problem could be resolved by changing the service account of the Document Conversions Load
Balancer Service in ‘Central Administration/Operations/Service Accounts’
Thanks for UR quick response. i tried to set service accounts in Operations tab to load balancer service, but its not persist.
So help me out regarding this issue
Thanks for your request. From log you provided I see that “DocConversionLoadBalancerService” fails.
The DocConversionLoadBalancerService and DocConversionLauncherService services must be enabled and configured for your server farm before you can implement document converters.
Thanks for UR quick response. i tried to set service accounts in Operations tab to load balancer service, but its not persist.
So help me out regarding this issue
I am getting a similar error. Can you tell me how your system is setup (ie, is everything on one virtual server?), and how you have the laucher and balance service accounts configured (Operations/Service Accounts)? thanks Dan
i was going to ask you the same thing, for a conversion which worked. I’ve attached a copy of a log from today.
I think the pertinent lines are;
Trying to get launcher from load balancer
Requesting launcher from load balancer
GetLauncher called for task Test Word Doc for conversion.docdoctrans
GetLauncher returning http://MOSS-DEV:8082/HtmlTrLauncher
Executing method on launcher
Starting C:\Program Files\Microsoft Office Servers\12.0\TransformApps\AWASPOSEDocToPdf.exe for single-call with args: -in "C:\Program Files\Microsoft Office Servers\12.0\Bin\HtmlTrLauncher\input.doc" -out "C:\Program Files\Microsoft Office Servers\12.0\Bin\HtmlTrLauncher\output.pdf" -config "C:\Program Files\Microsoft Office Servers\12.0\Bin\HtmlTrLauncher\config.info" -log "C:\Program Files\Microsoft Office Servers\12.0\Bin\HtmlTrLauncher\error.log"
Starting transform app as user
Error running the transform app. API: CreateProcessAsUser, Error Code: 1314
Running cleanup: succeeded: 0, task: Test Word Doc for conversion.docdoctrans
Calling LoadBalancer.LauncherTaskCompleted
LauncherTaskCompleted called with uri http://MOSS-DEV:8082/HtmlTrLauncher and task name Test Word Doc for conversion.docdoctrans
removed task name Test Word Doc for conversion.docdoctrans
New load for http://MOSS-DEV:8082/HtmlTrLauncher is 0
LoadBalancer.LauncherTaskCompleted successful
The document converter was not able to convert the file.
The file http://moss-dev:8080/CM/Field Order Attachments/Test Word Doc for conversion.doc could not be converted because of an error in the document converter.
Thank you for your inquiry. Could you please also check log in the following folder: C:\Aspose2Pdf\log.txt. If there is something wrong with your document the error will be logged there. Also please attach your Document for testing.
Can you send to me your solution files including the executable? I don’t even get an entry in the log directory. If I try your files directly and it works, well then I have a but in my code that I’m just not seeing. If it doesn’t work, then it must be some configuration issue.
Some lines from log - any idea how to resolve the errors? i’ve googled but haven’t found anything that helps. I’ve put the user in the local admin but that didn’t seem to fix anything.
LoadBalancer.LauncherTaskCompleted successful
GetLauncher called for task Test Word Doc for conversion.docdoctrans
GetLauncher returning http://WIN2K3MOSSDEV:8082/HtmlTrLauncher
Executing method on launcher
Failed to set access on the transform app folder: Some or all identity references could not be translated.
Starting C:\Program Files\Microsoft Office Servers\12.0\TransformApps\AWASPOSEDocToPdf.exe for single-call with args: -in "C:\Program Files\Microsoft Office Servers\12.0\Bin\HtmlTrLauncher\input.doc" -out "C:\Program Files\Microsoft Office Servers\12.0\Bin\HtmlTrLauncher\output.pdf" -config "C:\Program Files\Microsoft Office Servers\12.0\Bin\HtmlTrLauncher\config.info" -log "C:\Program Files\Microsoft Office Servers\12.0\Bin\HtmlTrLauncher\error.log"
Starting transform app as user
LauncherTaskCompleted called with uri http://WIN2K3MOSSDEV:8082/HtmlTrLauncher and task name Test Word Doc for conversion.docdoctrans
removed task name Test Word Doc for conversion.docdoctrans
New load for http://WIN2K3MOSSDEV:8082/HtmlTrLauncher is 0
Trying to get launcher from load balancer
Requesting launcher from load balancer
Error running the transform app. API: LogonUser, Error Code: 1326
Running cleanup: succeeded: 0, task: Test Word Doc for conversion.docdoctrans
Calling LoadBalancer.LauncherTaskCompleted
LauncherTaskCompleted called with uri http://WIN2K3MOSSDEV:8082/HtmlTrLauncher and task name Test Word Doc for conversion.docdoctrans
removed task name Test Word Doc for conversion.docdoctrans
New load for http://WIN2K3MOSSDEV:8082/HtmlTrLauncher is 0
LoadBalancer.LauncherTaskCompleted successful
The document converter was not able to convert the file.
The file http://dev.moss.lab/DCHDevSite/DCHDocuments/Test Word Doc for conversion.doc could not be converted because of an error in the document converter.
RegisterLauncher called with uri http://WIN2K3MOSSDEV:8082/HtmlTrLauncher