A professional PDF Converter, PDF Writer, PDF
Creator, PDF Editor, HTML Converter, Postscript Converter, AutoCAD
DWG Converter, as well as PCL Converter, etc.
How to configure Microsoft Word
and Excel to run under Interactive User's Account
Problem
If the doc2any user account is not properly configured to automate
Microsoft Office applications, the following symptoms may occur:
1. The doc2any.exe hang or doc2any.dll hang.
2. An Office file conversion hangs with "$ASQ" prefix.
Cause
This can be caused by insufficient DCOM permissions. The doc2any
user account requires the ability to automate the Microsoft Office
applications in order to generate PDF output.
Resolution
Follow the steps below to explicitly set permissions for the
doc2any user account, to enable automation of Microsoft Office components.
Click Start, then click
Run. Type DCOMCNFG and click
OK.
Expand Component Services > Computers > My Computer >DCOM Config.
Select the application that you want to automate. The application names are listed below:
Microsoft Excel 97/2000/2002/2003 - Microsoft Excel
Microsoft Word 97 - Microsoft Word
Microsoft Word 2000/2002/2003 - Microsoft Word
Click Properties to open the property dialog box for this application.
Click the Security tab.
Select Customize under Access Permissions, then choose
Edit to display the Access Permissions dialog.
If required, click Add to add the doc2any user account to the access list.
NOTE: (it is good if you can add
EVERYONE user account)
Ensure that the doc2any user account has both local and remote access
permissions, then choose
OK to close the dialog box.
Click the Identity tab. Select
This User and type the username and password for the
doc2any user.
Click OK to close the property dialog box and return to the main applications list dialog box.
Click OK to close DCOMCNFG.
Start REGEDIT and then verify that the following keys and string values exist for the Office application that you want to automate. If the keys do not exist, you will need to create them.
Microsoft Excel 97/2000/2002/2003 Key: HKEY_CLASSES_ROOT\AppID\EXCEL.EXE AppID: {00020812-0000-0000-C000-000000000046}
Microsoft Word 97/2000/2002/2003 Key: HKEY_CLASSES_ROOT\AppID\WINWORD.EXE AppID: {00020906-0000-0000-C000-000000000046}
Microsoft PowerPoint 97/2000/2002/2003 Key: HKEY_CLASSES_ROOT\AppID\powerpnt.EXE AppID: {64818D10-4F9B-11CF-86EA-00AA00B929E8}