Article ID: 930894 - Last Review: January 23, 2007 - Revision: 1.1

Managed code may not be executed if an InfoPath 2007 workflow form is deployed as a feature for a workflow

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
Expand all | Collapse all

SYMPTOMS

Consider the following scenario. A Microsoft Office InfoPath 2007 workflow form contains managed code. The form is deployed as a feature for a workflow. In this scenario, the managed code may not be executed.

CAUSE

This issue occurs because a compiled DLL becomes part of the InfoPath form template (XSN) file when you create managed code behind an InfoPath form. Microsoft Office Forms Services does not extract a DLL by expanding the XSN file when the XSN file is installed by using the features functionality.

RESOLUTION

To resolve this issue, copy the compiled DLL to the same folder to which your feature XSN file was deployed.

APPLIES TO
  • Microsoft Office InfoPath 2007
Keywords: 
kbexpertiseinter kbtshoot kbprb KB930894