The default association form template is giving an null reference exception. This is happening with a blank project and on two PCs with Workflow Foundation installed. I've taken a screenshot of every click I've taken to reproduce the error, and it happens every single time.
Creating a new sharepoint project:
Creating a farm solution: Right clicking on the solution and adding a new workflow: Adding a list workflow: Reusable: Right clicking on the workflow and adding an association form: Creating a new list: Adding the workflow to the list: Clicking Next so the association form shows up:
What I've tried:
- Installed workflow foundation on multiple PCs, created a new project each time with visual studio: same results.
- Found this post indicating a reference problem and attempted to add the reference manually (which had no effect)
Removed the following line, which allowed the association form to show up, but I am not sure what the repercussions are, because I can't find this control documented ANYWHERE!
WorkflowServices:WorkflowAssociationFormContextControl ID="WorkflowAssociationFormContextControl1" runat="server"
[NullReferenceException: Object reference not set to an instance of an object.] Microsoft.SharePoint.Utilities.SPChunkedStringBuffer.Append(String str) + 0 Microsoft.SharePoint.WorkflowServices.ApplicationPages.WorkflowAssociationFormContextControl.OnLoad(EventArgs e)