How to Troubleshoot Word Document Assembly Errors

Last reviewed: 10/25/2011
Article ID: R10650

The information in this article applies to:

SUMMARY

This article contains information on how to troubleshoot errors encountered when creating or assembling Word Document Assembly templates.

Specific Areas to Troubleshoot

This article includes troubleshooting information for the following problems:

Documents Cannot Be Assembled
Templates Cannot Be Created or Modified
Error Messages
Word Macro Security Messages
Logic Errors

Documents Cannot Be Assembled

First determine if only a particular workstation or if all workstations are unable to assemble the document.

page top

Templates Cannot Be Created or Modified

page top

Error Messages

After receiving any of the above messages, close PracticeMaster and Word before continuing to avoid additional unexpected results.  Rebooting may be necessary.

Occurs during assembly.  Check to see if you are attempting to use a document coded for HotDocs.  You can check this by using the following procedure. In PracticeMaster, open HotDocs Document Assembly and try to assemble this document. If it successfully assembles through HotDocs, this template was not created for Word Document Assembly.

Occurs in Word 2010/2007 while modifying a template or creating a new template. This error can occur if the template is opened or created incorrectly in Word 2010/2007. To modify a template, first open Word, and then open the template by selecting File | New. Double-clicking a template will open it as a document, not a template.

KB Article R11015, "How To Start a New Word Document Template" includes screenshots and instructions to create a Word Document Assembly template in Word.

Occurs during assembly. This error can occur in all versions of Word when a *.DOTX file is selected for Word Document Assembly. *.DOTX files do not support macros, which are required for assembly. In order to assemble the template, recreate the *.DOTX file as a *.DOT or *.DOTM file (based on the version of Word in which it will be used). To do this, open the *.DOTX file in Word 2010/2007 and copy the contents to the Windows clipboard. Then, create a new template using CMTEMPLT.DOTM for Word 2010/2007 and paste the contents into the new template (or CMTEMPLT.DOT if computers will be using Word 2003). Save the new template as a *.DOT/*.DOTM file, depending on the version of Word being used.

Occurs in Word 2003 during assembly. This error can occur if a *.DOTM template is created in Word 2010/2007, and a computer with Word 2003 installed attempts to assemble a document based on the template. This error occurs because Word 2003 does not support *.DOTM files. In order to assemble the template, recreate the *.DOTM file as a *.DOT file. To do this, open the *.DOTM file in Word 2010/2007 and copy the contents to the Windows clipboard. Then, create a new template using CMTEMPLT.DOT (not CMTEMPLT.DOTM) and paste the contents into the new template. Save the new template as a *.DOT file, which is compatible with Word 2003.

page top

Word Macro Security Messages

The following is a list of messages associated with the Word macro security settings that can be received.  If you are using Word 2007, please refer to KB article R11155 - PracticeMaster Word Document Assembly and Word 2007 Security Information.

Resolution

Caution: Be aware that macros may contain viruses, therefore, you may want to check with your network administrator before changing the macro security setting.

The following information applies to any of the above Word macro security messages. Check the date of the STIMAIN.DOT file in the Word Startup directory.

More Information

The Word Document Assembly feature in PracticeMaster is based on macros. Therefore, you must be able to execute macros in order to assemble documents. To view the macro security settings:

In Word 2010/2007, you will then have the option of selecting Disable all macros without notification, Disable all macros with notification, Disable all macros except digitally signed macros, or Enable all macros (not recommended; potentially dangerous code can run). In Word 2003, you have the option of selecting Very High, High, Medium, or Low.

A digital certificate was added to PracticeMaster Version 11.2 on 01-15-2004, to the CMMAIN.EXE, CMTEMPLT.DOT, and STIMAIN.DOT files to allow Word Document Assembly macros to function with a macro setting of Disable all macros except digitally signed macros in Word 2010/2007, or regardless of the macro security setting in Word 2003.

The digital certificate added to the PracticeMaster files dated between 01-15-2004 to 12-22-2004 expired on 12-21-2004.  An updated certificate was added on 12-23-2004.  This new certificate will not expire. 

For more information regarding the digital certificate, please refer to KB article R10905 - Authenticode Digital Certificate.

page top

Logic Errors

If you are receiving logic errors during assembly but the Test Assembly for the template finishes successfully, check the template to see if tables are used. If tables are being used, make sure that there are no file access codes or logic statements within the table. If there are, try taking them out to determine if the logic errors are eliminated. If that is the case, the template must be coded differently such that file access codes and logic statements are not included in the table. If a table does exist in the template and does not contain file access codes or logic statements, make sure there is a hard carriage return before and after the table.

page top

File Locations

When PracticeMaster is installed, two specific Word template files required for Word Document Assembly are copied to your computer. STIMAIN.DOT is installed into your Microsoft Word Startup directory, and CMTEMPLT.DOTM is installed into your Microsoft Word User Templates directory (CMTEMPLT.DOT if you are running Word 2003 or PracticeMaster Version 15 or prior). Depending on your version of Microsoft Word, use the appropriate procedure to determine the locations of these two directories:

Note: The Startup and the User Templates directories are both listed within File Locations.

page top

References


© 1999-2012 Software Technology, Inc.   All rights reserved. Terms of Use
The maker of Tabs3 and PracticeMaster
Tabs3, PracticeMaster, and the “pinwheel” symbol (The "Pinwheel" symbol is a Registered Trademark of Software Technology, Inc.) are registered trademarks of Software Technology, Inc.
e-Mail Suggestions for the Knowledge Base to: kb@Tabs3.com
Technical Support via e-mail is not available.
Knowledge Base:   http://support.Tabs3.com
Web Site:   http://www.Tabs3.com