# Monday, November 03, 2008

I’ve been performing the “resolution” listed in this article since I first discovered the problem, but never ever did I think it was a “feature?” I was sure that I was just the unluckiest person alive and was always working with some dodgy permissions configuration of the 12 hive, but lo and behold, no. This is just the way it’s meant to be.

Anyone else think this is just pure madness? By default any forms you create in Visual Studio have a managed component. Hitting F5 to run deploy/debug won’t ever do the work for you either. Why isn’t this mentioned anywhere in any sort of official capacity? Anybody?


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

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.

http://support.microsoft.com/kb/930894/en-us

posted on Monday, November 03, 2008 4:51:58 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0] Trackback
Related posts:
PowerShell One Liner: Listing known language keywords in CTP3
List of Type Accelerators for PowerShell CTP3
The Twelve days of PowerShell 2.0 CTP3!
PowerShell 2.0 CTP3 has arrived!
Quickstart #3: Dynamic Parameters 2 of 3 – Runtime Defined Parameters
PowerScripting Podcast: The Big Two

Referred by:
infopath workflowtask (www.google.com) [Referral]
sharepoint standard infopath in workflows (www.google.com) [Referral]
sharepoint workflow task form (www.google.com) [Referral]
sharepoint workflow task forms (www.google.com.pk) [Referral]
create workflow with infopath forms (www.google.com.eg) [Referral]
InfoPath form templates support managed code to support WCF (www.google.com) [Referral]
infopath 2007 & sharepoint workflow & task form & HTML code (www.google.com) [Referral]
sharepoint custom task form and managed code (www.google.com) [Referral]
infopath managed code wcf (www.google.com) [Referral]
workflow InfoPath Form code (www.google.cn) [Referral]
code from infopath (www.google.com) [Referral]
use infopath with code behind in workflow (www.google.de) [Referral]
InfoPath coding (www.google.ca) [Referral]
infopath Forms Services managed code (www.google.com.mx) [Referral]
infopath code behind (www.google.com) [Referral]
SEND INFOPATH BY CODE (www.google.es) [Referral]
workflow task form infopath (www.google.com.my) [Referral]
infopath code behind task forms (www.google.com) [Referral]
sharepoint managed code with asp.net page (www.google.com) [Referral]
MOSS 2007 + workflow + InfoPath 2007 + task form (www.google.com) [Referral]
workflow (search.live.com) [Referral]
Workflow code in InfoPath 2007 (www.google.co.in) [Referral]
infopath and aspx in workflows task forms (www.google.lk) [Referral]
workflow form infopath (www.google.ru) [Referral]
how to use infopath in 2008 workflow (www.google.com) [Referral]
task workflow powershell (www.google.de) [Referral]
infopath workflow task form with code support (www.google.com) [Referral]
workflow InfoPath (www.google.fr) [Referral]
get item form workflow task (www.google.com) [Referral]
infopath managed code not working in sharepoint (www.google.com.pk) [Referral]
code create infopath form with xsn (www.google.cn) [Referral]
infopath form+send email +workflow (www.google.com) [Referral]
workflow with "infopath code behind" (www.google.com) [Referral]
Create Task form InfoPath workflow (www.google.com.vn) [Referral]
infopath managed code sharepoint (www.google.com) [Referral]
Support for managed code behind InfoPath 2007 forms. (www.google.com) [Referral]
infopath form code sharepoint (search.live.com) [Referral]
infopath 2007 managed code examples +moss (www.google.com) [Referral]
sharepoint and infopath workflow (www.google.com) [Referral]
send infopath form as task (www.google.ie) [Referral]
Comments are closed.