I'm deploying a workflow with an Infopath form to a MOSS 2007 forms library. Previously this would deploy but give an error when using the form, but now it will not deploy at all. It fails during the build process with the following:
Error 1 Property accessor 'Path' on object 'SourceCode.Workflow.Design.InfoPath.FormTemplateItem' threw the following exception:'startIndex must be less than length of string.
Parameter name: startIndex'
at System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component)
at SourceCode.Framework.PersistableObject.Validate()
at SourceCode.Framework.PersistableContainerObject.Validate()
at SourceCode.Framework.PersistableObject.SourceCode.Framework.IValidationContainer.Validate()
at SourceCode.Framework.PersistableObject.Validate()
at SourceCode.Framework.PersistableContainerObject.Validate()
at SourceCode.Framework.PersistableObject.SourceCode.Framework.IValidationContainer.Validate()
at SourceCode.Framework.PersistableContainerObject.Validate()
at SourceCode.Framework.WizardDefinition.SourceCode.Framework.IValidationContainer.Validate()
at SourceCode.Framework.PersistableObject.Validate()
at SourceCode.Framework.PersistableContainerObject.Validate()
at SourceCode.Workflow.Authoring.Process.Validate()
at SourceCode.Framework.PersistableObject.SourceCode.Framework.IValidationContainer.Validate()
at SourceCode.DeploymentTasks.Compiler.WorkflowCompiler.Execute() C:Program FilesMSBuildSourceCodev1.0ProjectSystem.targets 28 6 Expense2
Does anyone know the cause of this?