Skip to main content

Hi,


We have created a workflow which is having InfoPath integrated. While deployment we are getting following error message.


 Error 2 The "SourceCode.DeploymentTasks.InfoPath.PublishFormTemplateTask" task failed unexpectedly.
System.FormatException: Input string was not in a correct format.
   at System.Text.StringBuilder.FormatError()
   at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object,] args)
   at System.String.Format(IFormatProvider provider, String format, Objecta] args)
   at SourceCode.DeploymentTasks.TaskLogger.LogError(String subcategory, String errorCode, String helpKeyword, String file, Int32 lineNumber, Int32 columnNumber, Int32 endLineNumber, Int32 endColumnNumber, String message, ValidationError validationError, Objectr] messageArgs)
   at SourceCode.DeploymentTasks.TaskLogger.LogErrorFromException(Exception exception, Boolean showStackTrace)
   at SourceCode.DeploymentTasks.InfoPath.PublishFormTemplateTask.Execute()
   at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)


Any help on this would be appreciated.


Regards,


Nilesh Banekar

Be the first to reply!

Reply