locked
workflow task locked issue RRS feed

  • Question

  • Error on SharePoint MOSS 2007 UI - "This task is currently locked by a running workflow and cannot be edited"

    workflow is OOTB approval workflow.

    On searching the log file, I found the below relevant message :

    ... raiseOnDataBinding)     at Microsoft.Office.Workflow.WrkTaskIPPage.OnLoad(EventArgs ea)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at ASP._layouts_wrktaskip_aspx.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.Appli...

     

    Friday, March 16, 2012 6:59 AM

All replies

  • Hi Dinesh,

    If you provide the complete error message item related to this workflow issue, we can learn more information.

    How many items in your list which the workflow is attached on ?

    You can try to use the command stsadm -o setproperty -pn workflow-eventdelivery-throttle -pv "50" to enlarge the  workflow event delivery throttle value per the following article with similar issue, then check result,

    http://blogs.msdn.com/b/chandru/archive/2009/02/26/workflow-task-lock-issue.aspx

    Thanks


    Daniel Yang

    TechNet Community Support

    Monday, March 19, 2012 8:52 AM
    Moderator
  • Hi Daniel,

    Actually, I have referred some of the msdn pages and have already tried this command. This did not help.

    Some list has 700 items, some has 1000 items..

    Thanks..


    Dinesh

    Monday, March 19, 2012 8:59 AM
  • Hi Dinesh,

    ... raiseOnDataBinding)     at Microsoft.Office.Workflow.WrkTaskIPPage.OnLoad(EventArgs ea)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at ASP._layouts_wrktaskip_aspx.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.Appli...

    The error message you provide removed the head and end with .... , could you paste the complete error message mentioned above ? 

    Thanks


    Daniel Yang

    TechNet Community Support

    Monday, March 19, 2012 9:29 AM
    Moderator
  • Hi Daniel,

    Below is the complete line which I am getting in the log.

    03/20/2012 09:31:23.65* w3wp.exe (0x3144)                        0x23EC Windows SharePoint Services    General                        0 Medium   ... System.Web.UI.Control.DataBindChildren()     at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)     at System.Web.UI.Control.DataBindChildren()     at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)     at System.Web.UI.Control.DataBindChildren()     at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)     at Microsoft.Office.Workflow.WrkTaskIPPage.OnLoad(EventArgs ea)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at... 

    Head and end has ... in the file itself.

    Please let me know if I am missing something.

    Thanks


    Dinesh


    Tuesday, March 20, 2012 5:07 AM
  • Hi,

    Below is the complete exception I found in ULS logs:

    03/21/2012 10:32:02.56  w3wp.exe (0x1BF8)                        0x1AA4 Windows SharePoint Services    Workflow Infrastructure        936l High     Engine RunWorkflow: System.Workflow.Activities.EventDeliveryFailedException: Event "OnWorkflowItemChanged" on interface type "Microsoft.SharePoint.Workflow.ISharePointService" for instance id "41c930d8-9629-47ef-99fb-5d74ce57ff7c" cannot be delivered. ---> System.ArgumentNullException: Buffer cannot be null.  Parameter name: buffer     at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)     at Microsoft.SharePoint.Workflow.SPWinOePersistenceService.LoadWorkflowInstanceState(Guid instanceId)     at System.Workflow.Runtime.WorkflowRuntime.InitializeExecutor(Guid instanceId, CreationContext context, WorkflowExecutor executor, WorkflowInstance workflowInstance)     at System.Workflow.Runtime.WorkflowRuntime.Load(Guid key, CreationContext context, WorkflowInstance workflowInstance)... 

    03/21/2012 10:32:02.56* w3wp.exe (0x1BF8)                        0x1AA4 Windows SharePoint Services    Workflow Infrastructure        936l High     ...     at System.Workflow.Runtime.WorkflowRuntime.GetWorkflow(Guid instanceId)     at System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object sender, ExternalDataEventArgs eventArgs)     --- End of inner exception stack trace ---     at System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object sender, ExternalDataEventArgs eventArgs)     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.RaiseEvent(SPWinOeWorkflow workflow, SPWorkflowEvent workflowEvent, Object workItem, IPendingWork workHandler)     at Microsoft.SharePoint.Workflow.SPWinOeHostServices.Send(SPWinOeWorkflow winoeworkflow, SPWorkflowEvent e)     at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(Guid trackingId, SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, Ti...

    03/21/2012 10:32:02.56* w3wp.exe (0x1BF8)                        0x1AA4 Windows SharePoint Services    Workflow Infrastructure        936l High     ...meSpan timeOut) 

    I am still facing this issue. Thanks.


    Dinesh

    Wednesday, March 21, 2012 6:00 AM
  • Hello Dinesh,

    I have looked into your issue and it is a known issue that is being worked on.  At this point we do not have a projected date of when or if a fix will be released.

    I shall have another update on this for you soon.

    Please let me know if you have any questions.

    Thanks!

    Regards,

    Shruti

    Wednesday, April 11, 2012 2:03 PM
  • Hello Shruti,

    Thanks for the reply.

    But is there any limitation we should consider to avoid this issue?

    Regards,


    Dinesh

    Thursday, April 12, 2012 4:03 AM