Microsoft KB Archive/931429

From BetaArchive Wiki
Knowledge Base


Office InfoPath 2007 crashes after you click OK in the Permission dialog box after you open an Information Rights Management (IRM) protected form template in Design View

Article ID: 931429

Article Last Modified on 2/5/2007



APPLIES TO

  • Microsoft Office InfoPath 2007



Important This article contains information about how to modify the registry. Make sure that you 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

You open a Microsoft Office InfoPath 2007 form template in Design View, and then you click Permission. If you click OK in the Permission dialog box, InfoPath 2007 crashes.

CAUSE

This issue occurs because the form template file is IRM-protected and the AdminTemplatePath registry key has not been set on the computer.

WORKAROUND

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 the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To work around this issue, set the AdminTemplatePath registry key on the computer before you try to open the IRM-protected InfoPath form template file in the InfoPath Designer. To do this, follow these steps:

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following registry subkey:

    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\DRM

  3. On the Edit menu, point to New, and then click String Value.
  4. Type AdminTemplatePath, and then press ENTER.
  5. Double-click the AdminTemplatePath value, type UserProfile\Application Data\Microsoft\DRM\Templates in the Value data field, and then click OK.

    For example, type C:\Documents and Settings\User\Application Data\Microsoft\DRM\Templates

    Note If you use the %UserProfile% environment variable, you may not avoid this issue.


Keywords: kbtshoot kbexpertiseinter kbprb KB931429