Disable Common Language Runtime errors when filling out forms

This policy setting controls the amount of detail and number of dialogs users will see by default when a managed code exception is thrown.

If managed code in an InfoPath form throws an exception, a dialog will always be displayed to users filling out the form.

If you enable this policy setting, a single dialog will be shown, and the managed code exception details will be hidden by default.

If you disable this policy setting, two dialogs will be shown when a managed code exception is thrown.
- The first dialog will contain the managed code exception stack trace.
- The second dialog will contain the managed code exception details which will be hidden by default.

If you do not configure this policy setting, a single dialog will be shown, and the managed code exception details will be hidden by default.

Supported on: At least Windows 7
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\15.0\infopath\form debugging
Value Nameshowexceptionsdialog
Value TypeREG_DWORD
Enabled Value0
Disabled Value1

inf15.admx

Administrative Templates (Computers)

Administrative Templates (Users)