Problem in Document conversion  
Author Message
AnkurPJain





PostPosted: SharePoint - Enterprise Content Management, Problem in Document conversion Top

Hi, is it possible to convert .DOCX file to web page.

I am running RTM version of MOSS and when i was trying to convert word document to webpage it always give me ERROR:

"Converting the document to a page failed. The converter framework returned the following error: CE_OTHER"

Anyone could help me out of this.



SharePoint Products and Technologies4  
 
 
Robert Orleth - MSFT





PostPosted: SharePoint - Enterprise Content Management, Problem in Document conversion Top

The complete set of known reasons for that is documented on our team blog:

http://blogs.msdn.com/ecm/archive/2006/06/13/629525.aspx

Hope that helps,

Robert



 
 
AnkurPJain





PostPosted: SharePoint - Enterprise Content Management, Problem in Document conversion Top

Hi, I was tried all the steps described in BLOG also give HVU_machinename account rights and add in local Policy by gpedit.msc but it gives same error: CE_Other. Then i disconnect my system from domain as i understand from blog that domain policy was create problem and then tried and i m getting error: CE_BACKENDUNAVAILABLE then i connect my PC to domain and after some time it gives error: CE_DISKWRITEERROR. I think its a major issue can anyone help me out of this

Is Anyone is Successful in Document conversion

Please reply...


 
 
Robert Orleth - MSFT





PostPosted: SharePoint - Enterprise Content Management, Problem in Document conversion Top

I can assure you the feature works in typical setups - it's just somewhat more susceptible to configuration issues (esp. permissions) than we'd like.

To find out the cause for the CE_DISKWRITEERROR (which I have never seen), please take a look in the ULS logs (under %programfiles%\Common Files\Microsoft shared\web server extensions\12\logs), open one from a time that has a failed conversion attempt and look for either of those two log tags: 6077 or 6081. The text accompanying that should give you more of a hint.

Can you outline your configuration - is the load balancer service running on the same machine Is the launcher running on that as well, or do you have a more distributed setup I.e. when you gave the HVU_* account rights to logon locally, did you do that on the machine with the launcher service (if not, it's not going to help the CE_OTHER issue).

Hope that helps,

Robert



 
 
AnkurPJain





PostPosted: SharePoint - Enterprise Content Management, Problem in Document conversion Top

Hi, Thanks for reply.

My load balancer service and launcher service is running on same machine and my machine is part of Domain.

and i was tried conversion on eight different machines in same domain but result is same CE_OTHER error.

Please reply...

Ankur


 
 
Robert Orleth - MSFT





PostPosted: SharePoint - Enterprise Content Management, Problem in Document conversion Top

OK, to narrow this down let's try the following:

1. stop the launcher service ("net stop dclauncher" from a cmd window). This will disable the account.

2. using the windows user management tool, enable the account and set a password to your liking.

3. logon to the machine locally, using that account and the password you just set. I'd assume this will fail, but now the event log hopefully has a better hint as to what's wrong precisely.

4. start the launcher again and look for clues in the Windows event log.

I really hope that helps...

Robert



 
 
AnkurPJain





PostPosted: SharePoint - Enterprise Content Management, Problem in Document conversion Top

Thanks for the reply...

Stopped the launcher service as told by you.

Tried logging on with the "HVU_{MachineName}" and the password that i set but then i got this error "your computer policy does not allow you logon interactively using this username".

Logged in using my domain account and after that I tried converting the document again.. it gives me this error "Converting the document to a page failed. The converter framework returned the following error: CE_DISKWRITEERROR"... Checking the event viewer i am getting these errors

1) Failed to create the protected output directory

2) Failure trying to write the local copy of a file to disk: Could not find a part of the path 'C:\Program Files\Microsoft Office Servers\12.0\Bin\HtmlTrLauncher\input.docx'.

3) Error 'CE_DISKWRITEERROR' when trying to convert document to page using the document conversion feature.


 
 
Robert Orleth - MSFT





PostPosted: SharePoint - Enterprise Content Management, Problem in Document conversion Top

OK, so the CE_OTHER problem is indeed as suspected, you have a policy set that prevents non-Admins from logging on to your machine directly. Fire up Local Security Settings" from Administrative Tools, go to "Local Policies" - "User Rights Assignment" and add the HVU-* user to the "allow log on locally" setting (you can verify by trying to log on as the HVU user as described earlier - that should work now).

The other problem is due to either

1. the document launcher not running as Local System (Local Service is not enough - needs to be Local System).

2. you (or your domain admin) having set very strict ACLs on the c:\program files directory, preventing the creation of the temporary directory that is used to let the conversion process do it's input/output on.

Hope that gets you up and running.



 
 
AnkurPJain





PostPosted: SharePoint - Enterprise Content Management, Problem in Document conversion Top

First of all I add the HVU-* user to the "allow log on locally” by ntrights.exe by SeInteractiveLogonRight.

Then run document launcher service as Local System at this moment my Office Document Conversions Load Balancer Service is running by account NT AUTHORITY\LocalService.

Next I give HVU-* user full control on c:\program files directory so it will not prevent the creation of the temporary directory inside the folder.

And then trying the document conversion, again it fails and gives the error “Converting the document to a page failed. The converter framework returned the following error: CE_OTHER”.

In Event Viewer the errors are

1 Converting the document to a page failed. The converter framework returned the following error: CE_OTHER

2 Error 'CE_OTHER' when trying to convert document to page using the document conversion feature.

After this I change Office Document Conversions Load Balancer Service account and run it as NT AUTHORITY\LocalService.

This time my page was get created but it is a blank page on page this message is displayed “The contents of this page are currently being converted from a document”

In event viewer the error was “Unable to convert the document.”

I suppose that i am closed to getting the result. Please help me out...


 
 
Robert Orleth - MSFT





PostPosted: SharePoint - Enterprise Content Management, Problem in Document conversion Top

> Office Document Conversions Load Balancer Service is running by account NT AUTHORITY\LocalService

And farther down:

> After this I change Office Document Conversions Load Balancer Service account and run it as NT AUTHORITY\LocalService

I am assuming a typo here. There are two services:

1. the load balancer service. This NEEDS to run as network service, on one machine in your farm.

2. the launcher service. This NEEDS to run as Local System (not LocalService) on every machine that you want to run conversions on.

> I suppose that i am closed to getting the result. Please help me out...

I am positive there is a bit in your configuration that got flipped since you installed and flipping that bit back will make the conversion work. I am not so sure we're getting closer - the failure now probably indicates that the load balancer couldn't find a launcher (yet), which is not surprising given that it's running in the wrong context (local vs. network service). The CE_OTHER problem happens when the launcher can't logon the conversion account.



 
 
AnkurPJain





PostPosted: SharePoint - Enterprise Content Management, Problem in Document conversion Top

Tried assigning the HVU_{machine-name} to allow log on locally. and the logging on to the machine using the same login name its giving me the same error where in the account is not allowed to log on interactively. The reason what i can think of is that the machine is under a domain and the policy settings are inherited from the domain server.

Also changed the logon accounts for the services as asked by you..

Still getting the same "CE_OTHER" error.

Please help me out.


 
 
Robert Orleth - MSFT





PostPosted: SharePoint - Enterprise Content Management, Problem in Document conversion Top

As I said, you will get CE_OTHER if the HVU-* account can't logon, so if there's a domain policy that prevents non-admin accounts from logging on locally on your server, there are two ways out:

1. get the domain admin to fix that for you or

2. make the HVU-* account administrator - don't do this in a real production environment, this opens up your server to a new and exciting attack surface from malformed documents