Partners Contact US Site Map
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.
  1. Click Start, then click Run. Type DCOMCNFG and click OK.
  2. Expand Component Services > Computers > My Computer >DCOM Config.
  3. 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
  4. Click Properties to open the property dialog box for this application.
  5. Click the Security tab.
  6. Select Customize under Access Permissions, then choose Edit to display the Access Permissions dialog.
  7. 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)

  8. Ensure that the doc2any user account has both local and remote access permissions, then choose OK to close the dialog box.
  9. Click the Identity tab. Select This User and type the username and password for the doc2any user.
  10. Click OK to close the property dialog box and return to the main applications list dialog box.
  11. Click OK to close DCOMCNFG.
  12. 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}
  13. Restart the system.
 
Related Pages

Microsoft Support Page: HOWTO set up a user-defined service (Article ID: Q137890)
How To Create a User-Defined Service
How To Create a Service under Windows
HOWTO: Configure Office Applications to Run Under the Interactive User Account.
HOWTO: Configure Microsoft Word and Excel to run under Interactive User's Account.

 
See Also:
PDF to Image Converter :: PDF Extract TIFF :: HTML Converter :: PDFcamp Printer :: DocConverter COM :: PDF to Word Converter :: PDF to Text Converter :: Image to PDF Converter :: Image to PDF OCR :: PDF to HTML Converter :: AutoCAD DWG and DXF to PDF Converter :: PCL to PDF Converter :: Document Printer (docPrint) :: VeryPDF PDF Editor :: PDF Password Remover :: Encrypt PDF :: PDF Split-Merge :: PDF Stamper :: VeryPDF PDFPrint :: Advanced PDF Tools :: PDF Editor Toolkit :: Text to PDF Converter :: PowerPoint to Flash :: PowerPoint Converter

Home | Site Map | VeryPDF.com | VeryPCL.com | Contact
Copyright © 2002- VeryDOC.com Company. All Rights Reserved.