Task Edit Failed

Aug 20, 2010 at 8:59 AM

When I edit Task, I get following error. Please help.

Unable to cast object of type 'Microsoft.SharePoint.SPFieldUserValueCollection' to type 'System.String'. at TPG.SharePoint.Workflow.TaskPage.get_AssignedTo()
at TPG.SharePoint.Workflow.TaskPage.GetMetaData()
at TPG.SharePoint.Workflow.ListWorkflowPage.get_MetaDataInternal()
at TPG.SharePoint.Workflow.ListWorkflowPage.get_WorkflowMetaData()
at TPG.SharePoint.Workflow.WorkflowControlPlaceHolder.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Coordinator
Aug 20, 2010 at 9:06 AM
That's a bug. What version of the tools do you use?

________________________________

Van: mehmetkapuagasi [mailto:notifications@codeplex.com]
Verzonden: vr 20-8-2010 10:59
Aan: Wouter van Vugt
Onderwerp: Task Edit Failed [wss3workflow:224210]



From: mehmetkapuagasi

When I edit Task, I get following error. Please help.

Unable to cast object of type 'Microsoft.SharePoint.SPFieldUserValueCollection' to type 'System.String'. at TPG.SharePoint.Workflow.TaskPage.get_AssignedTo()
at TPG.SharePoint.Workflow.TaskPage.GetMetaData()
at TPG.SharePoint.Workflow.ListWorkflowPage.get_MetaDataInternal()
at TPG.SharePoint.Workflow.ListWorkflowPage.get_WorkflowMetaData()
at TPG.SharePoint.Workflow.WorkflowControlPlaceHolder.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Read the full discussion online <http://wss3workflow.codeplex.com/Thread/View.aspx?ThreadId=224210&ANCHOR#Post482643> .

To add a post to this discussion, reply to this email ([email removed] <mailto:[email removed]?subject=[wss3workflow:224210]> )

To start a new discussion for this project, email [email removed]

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings <https://wss3workflow.codeplex.com/subscriptions/thread/project/edit> on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com
Aug 20, 2010 at 11:11 AM

 

  I resolved this problem. Task's 'Assigned To' field is only one person or group. I had edited 'Assigned To' set 'Allow multiple selections: No' then the problem resolved

Thanks for reply