Document building blocks may be missing in a template that is part of a workgroup template in Word 2007 or Word 2010

Applies to: Microsoft Word 2010

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry

Symptoms


In Microsoft Office Word 2007 and Word 2010, document building blocks may be missing in a template that is part of a workgroup template.

Cause


This issue occurs because the workgroup path for building block templates differs from the path for regular templates.

Workaround


To work around this issue, use one of the following methods:

Method 1

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Use Registry Editor to set the SharedDocumentParts key in the following registry subkey to the path of the shared template:

Office 2007:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Common
Office 2010:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Common


To do this, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following key in the registry:
    Office 2007:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0Office 2010:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0
  3. On the Edit menu, point to New, and then click Key.
  4. Type Common, and then press ENTER.
  5. Locate and then click the following key in the registry:
    Office 2007:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0Office 2010:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0
  6. On the Edit menu, point to New, and then click Key.
  7. Type General, and then press ENTER.
  8. On the Edit menu, point to New, and then click String Value.
  9. On the Edit menu, click Modify.
  10. Type SharedDocumentParts, and then click OK.


    Note Set the key string value to \\server\share.

Method 2

Turn on the Group Policy to set the shared location for templates. To do this, follow these steps:

Note The steps in Method 2 result in the same registry setting as in Method 1.
  1. Download and then install the Administrative Templates from the 2007 Office Resource Kit or 2010 Office Resource Kit.
  2. Copy the office12.adm or office14.adm file to the following folder:
    c:\windows\inf
  3. Click Start, click Run, type gpedit.msc, and then click OK.
  4. In the Group Policy Object Editor, right-click Administrative Templates under User Configuration, and then click Add/Remove Templates.
  5. In the Add/Remove Templates dialog box, click Add, type c:\windows\inf\office12.adm for Office 2007, for Office 2010 type c:\windows\inf\office14.adm in the File name box, and then click Open.
  6. Click Close to close the Add/Remove Templates dialog box.
  7. In the Group Policy Object Editor, expand Administrative Templates under User Configuration, expand Microsoft Office 2007 system or Microsoft Office 2010 system, and then click Shared paths.
  8. In the Shared Paths pane, double-click Workgroup build blocks path.
  9. In the Workgroup build blocks path dialog box, on the Setting tab, click Enable radio-button, and then type location of the building blocks in this format\\server\share.

More Information


Steps to reproduce this issue

To reproduce this issue, follow these steps:
  1. Create a template that contains one or more building blocks. To do this, follow these steps:
    1. Start Word 2007 or Word 2010.
    2. Click the Microsoft Office Button, and then click New.
    3. In the New Document dialog box, click Installed Templates.
    4. In the Installed Templates pane, double-click a template name.
    5. Select an area of the template in which you will create a building block.
    6. Click the Insert tab, click Quick Parts, and then click Save Selection To Quick Part Gallery.
    7. In the Create New Building Block dialog box, type BuildingBlockName in the Name box.
    8. Click to select GalleryName from the drop-down box for Gallery, and then click to select CategoryName from the drop-down box for Category.
    9. Click to select the template name from step d under the Save in drop-down box, and then click OK.

      Note Repeat steps a to i to store all the building blocks that you want to share.
  2. Create a folder structure, such as \\server\share, and then share the folder that you will use for your workgroup location.
  3. Copy the template that you created in step 1d to the shared folder that you created in step 2.
  4. Set the workgroup templates to the \\server\share location. To do this, follow these steps:
    1. Click the Microsoft Office Button or File Tab, and then click Word Options.
    2. In the Word Options window, click Advanced, and then click File Locations.
    3. In the File Locations dialog box, select Workgroup templates, and then click Modify.
    4. In the Modify Location dialog box, type \\server\share in the Folder Name box, and then click OK.
    5. Click OK to close File Locations dialog box.
  5. Set Word 2007 to trust the location in which templates that contain building blocks are stored. To do this, follow these steps:
    1. Click the Microsoft Office Button or File Tab, and then click Word Options.
    2. In the Word Options window, click Trust Center, and then click Trust Center Settings.
    3. In the Trust Center dialog box, click Trusted Locations, click to enable Allow trusted locations on my network (not recommended), and then click Add new location.
    4. In the Microsoft Office 2007 or 2010 Trusted Location dialog box, type \\server\share in Path text box, click to enable Subfolders of this location are also trusted, and then click OK.
    5. Click OK to close the Trust Center dialog box.
    6. Click OK to close Word Options.