I was recently trying to get the document conversion services started on my SharePoint farm, and noticed that I was getting errors in the windows event log.
Event ID: 6102, LoadBalancer.RegisterLauncher failed: Unable to connect to the remote server
Event ID: 6066, Couldn't Register with Load Balancer: Unable to connect to the remote server
Event ID: 6072, Failed to create the protected output directory
Event ID: 6062, Found 2 valid ip addresses for this machine. Choosing this one: x.x.x.x
Solving Event 6072
This error happens when the account running the launcher service can’t create a cache folder in C:\Program Files\Microsoft Office Servers\12.0\Bin. The folder that it’s trying to create is called HtmlTrLauncher.
Each time the service is started, this folder gets delete and re-created, to the service account needs to be able to create folders in the bin folder.
To do this, first check what account is running the launcher service. In Central Administration, go to operationsàService Accounts and select “document conversions launcher service” in the windows service drop down box. (alternatively, you can look in at the Office Document Conversions Launcher Service in the windows service console)
Check what account it is using to start the service. (in my case it was network service)
Go to the folder C:\Program Files\Microsoft Office Servers\12.0\Bin and right click and select “sharing and security”. Click the security tab and click add.
Add the user “Network Service” (or what every user you are using to start the service) and grant it “Modify” permissions.
Solving Event 6062
Open the Launcher and Load Balancer .config files in the office server bin folder (usually C:\Program Files\Microsoft Office Servers\12.0\Bin)
In the launcher file (Microsoft.Office.Server.Conversions.Launcher.exe.config) comment in the key "keyIPExclude" and set the value to the ip address(s) that you want to exclude. For example,
<add key="keyIPExclude" value="192\.168\.115\.14" />
In the load balancer file (Microsoft.Office.Server.Conversions.LoadBalancer.exe.config) add the ip exclude key to the <LoadBalancerSettings> section. For example,
<add key="keyIPExclude" value="192\.168\.115\.14" />
If you have multiple IP’s that you want to exclude use the following syntax for the key value
<add key="keyIPExclude" value=" (192\.168\.115\.14)|( 192\.168\.115\.15)” />
Solving Event 6102 and 6066
This error is seems to occur when the load balancer and the launcher servers are started on the same server. They are occurring because the launcher is starting before the load balancer. To solve this, we simply need to add a service dependency in windows.
1. Run regedit
2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and locate the service (usually called DCLauncher)
3. Open the 'DependOnService' key on the right side. If the service does not have a 'DependOnService' key, then create one by right-clicking and selecting New > Multi-String Value.
4. In the value field, enter the string DCLoadBalancer (the name of the load balancer service)
5. Click OK, close your registry and restart your machine.