In Outlook, buttons in workflow forms are not clickable or display an error

Symptoms
You click Open this Task from a SharePoint workflow on the Outlook ribbon, and the InfoPath workflow approval form opens. Some data may be missing from this form, such as in the Requested By field. When you click any of the buttons on the InfoPath form, such as Approve, Cancel, Reject, Request Change or Reassign Task, they either are not able to be clicked or when you click them you may receive the following error message.

Outlook cannot complete this action, because of an error in the form’s code.

When you click the “Show Details” button on the error dialog box, the following text may appear:

A button in the form template is missing an xd:CtrlId attribute.



Workaround
Important Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.
  1. Exit Outlook.
  2. Start Registry Editor. To do this, use one of the following procedures, as appropriate for your version of Windows.

    Windows 10, Windows 8.1, and Windows 8: Press Windows Key + R to open a Run dialog box. Type regedit.exe, and then press OK.

    Windows 7: Click Start, type regedit.exe in the search box, and then press Enter.
     
  3. In Registry Editor, locate and click the following subkeys, depending on the bitness of your Windows and Outlook installations. 

    For Windows 32-bit running Outlook 32-bit or Windows 64-bit running Outlook 64-bit:
     
    HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION\
    HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION\

    For Windows 64-bit running Outlook 32-bit:
     
    HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION\
  4. Locate and right-click the following value, and then click Rename:

    OUTLOOK.exe
  5. Enter the name of OUTLOOK.exe.bak, and then press Enter. Exit Registry Editor.

More information
This issue occurs when the OUTLOOK.exe value in the registry is configured with one of the following values.
  • 00002AF9
  • 00002AF8

As an alternative to renaming the OUTLOOK.exe value, you can delete it or modify the Value Data to a value that does not cause the issue.

For more information about the values that this registry value can be configured as, see the Browser Emulation section of the following webpage:

https://msdn.microsoft.com/en-us/library/ee330730(v=vs.85).aspx
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Properties

Article ID: 3124629 - Last Review: 02/19/2016 21:31:00 - Revision: 6.0

Microsoft Outlook 2013, Microsoft Outlook 2010, Microsoft InfoPath 2013, Microsoft InfoPath 2010

  • KB3124629
Feedback