.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Workflow - Failed on Start

Posted By:      Posted Date: October 14, 2010    Points: 0   Category :SharePoint

All of the workflows within only one site collection are not working.  I get a the following messages in Workflow History:

Workflow Cancelled - System Account - Workflow Name was cancelled by System Account
Error - System Account - Workflow failed to start 

Here is what I get in my log: 72fs    Unexpected    RunWorkflow: System.ArgumentException: Item does not exist. It may have been deleted by another user.     at Microsoft.SharePoint.SPList.GetItemById(String strId, Int32 id, String strRootFolder, Boolean cacheRowsetAndId, String strViewFields, Boolean bDatesInUtc)     at

Once again, this occurs on EVERY workflow, no matter how simple or how complex on one site collection with the same web application that other workflows work correctly.  Proper permissions are in place for SPD to add workflows.  (By the way this only effects SPD workflows, no out-of-the-box SP workflows)  I have disabled and reenabled all workflow features, even created a new site collection then copied by site collection over t

View Complete Post

More Related Resource Links

Workflow "Failed on Start (retrying)" when new item created by BizTalk SharePoint Adapter


We've been using the BizTalk SharePoint Adapter to load various different contents into a MOSS 2007 Document Library. The library has a Microsoft Office SharePoint Designer 2007 workflow (sequential workflow created in Designer) which starts automatically when a new item is added to the Document Library. Or, at least, it eventually starts automatically.


For some unknown reason--and this is what we're hoping some of you may have some ideas on--the workflow fails to start on the first try, producing the "Failed to Start (retrying)" message. When the timer job comes back the second time, the workflow starts successfully, but this causes us to loose five minutes of potential work time (not to mention making us look bad to the VPs and CTO because they see the failure message).


In checking the log, I find the following pair of error messages each time the "Failed to Start (retrying)" status occurs:


08/27/2007 13:49:43.24  w3wp.exe (0x0CA0)                        0x1438 Windows SharePoint Services    Workflow Infrastructure        72fs Unexpected RunWorkflow: Microsoft.SharePoint.SPException: <Error><CompilerError Line="1" Column="1" Text="The root activity type is invalid.&q

VS Studio WorkFlow Failed on Start in MOSS 2007 ON Windows Server 2008 64 Bit


I have created a sequential sharepoint workflow in WSP Builder in my Sharepoint Server and Deployed it.

But the workflows says Failed on start and retrying ans stops there forever says couldn't start the workflow.

I repaired .NET Framework 3.5sp1 installed

 tried this

 1. I tried again, in C Prompt:  Lodctr "c:\Windows\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\perfcounters.ini"  it says initiation file cannot be found

2   i again tried this C prompt Lodctr /R "c:\Windows\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\perfcounters.ini"

it says reloaded  from the system restored

i am still getting the same error.

When i manually go to my  C:\Windows\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation i can see a folder for SQL that's it nothing more than that..

I dont know what is happening i am trying it from 2 days and still no solution.

any ideas would be real great help for me.

My system is 64 bit , Window server 2008, MOSS SP2, Visual Studio 2008 Version 9.0.30729.

.Net Framework 3.5 sp1

and WSP builder the one from Codeplex for 64 bit machines

Approval Workflow Failed to Start

they are the standard worflows in sharepoint we have suddenly starting getting the message Workflow Failed to Start retrying. the workflows it says not started we are the manually able to start them i tried deleting and recreating the workflows but still come up with this message there are 8 sites and they all have the same problems i had a look in the log and have this error 8e2r    Medium      Possible mismatch between the reported error with code = 0x81070504 and message: "There is no Web named "/Claims/default.aspx"." and the returned error with code 0x80070002.      01/29/2010 09:46:06.62     w3wp.exe (0x16C8)                           0x0288    Windows SharePoint Services       General                           8e2s    Medium      Unknown SPRequest error occurred. More information: 0x80070001   

SharePoint Workflow : Failed to Start when a document is added to library from server-side object mo


When I add a document using my server-side object model code, I get an exception "The type or namespace name 'Office' does not exist in the namespace 'Microsoft'" in the server logs and in the library I can see the Workflow status as "Failed to Start".





Interestingly, when I add a document to the same library from sharepoint site portal, it works just fine, the workflow kicks off with the state : in-progress.

Also, I modified the task form for the Approval workflow template from SharePoint Designer using infopath.(Not sure if that be a problem as adding from portal works fine.)

What am I missing out here??

 Details of the exception:

09/29/2010 18:11:19.15  w3wp.exe (0x2508)                        0x2710 SharePoint Foundation          Workflow Infrastructure        98d8 Unexpected Microsoft.SharePoint.SPException: <Error><CompilerError Line="0" Column="20" Text="The type or namespace name 'Office' does not exist in the namespace 'Microsoft' (a

Workflow has failed to start due to internal error


Hello everbody,

We have critical issue w.r.t workflows in 3 site collections(Collaboration sites).
When we start a workflow for a document library/document , below error is displayed.

"The Workflow has failed due to an internal error"

We had deactivated and activated all the related workflow features at site collection level but didn't succeed. This we have also tried using SharePoint Manager 2007 .

Could you please check and help on this issue ?

Thanks in advance.


Workflow Failed on Start (retrying)


After successfull deployment of simple workflow solution and starting it over custom list item a get an error: "Failed on Start (retrying)".

Then i tried to deploy 100 % working workflow with the same result.

I can`t even get into my first breakpoint in VS.

OOB wf work fine though.

My timer service and iis app pool are working under farm admin account.

What could possible cause this?

SharePoint 2010 Workflow "Failed on Start"


I have a list workflow for SP 2010 that was previoulsy working this morning and decided to "Fail on Start" at some point.  I have done nothing to the list or workflow settings, I have just been working in SP Designer 2010 creating the WF.  I have searched high and low and have found all of the same answers that get me no where.  The suggestions include comparing the Workflow.xml and/or feature.xml to the name .dll in the GAC. 

I have no workflow.xml or feature .xml files other than what I find in my Visual Studio folders from workflows past.  This time I am not using Visual Studio.  I am using SPD 2010, does it keep those files?  Secondly, I find only one of my workflowname.dll's in the GAC, also from an old VS workflow.  My current workflow.xml, feature.xml and currentworkflow.dll files do not exist on my workstation or server.  WHAT am I missing here??? :-(


North to the Future

Workflow failed to start in Room Equipment Reservation Site


I created a site using Microsoft's Room and Equipment Reservation template. I created a workflow to send an email to confirm reservation using sharepoint designer. I get the following error on workflow status: workflow failed to start (retrying). The error detail on the log file is:

RunWorkflow: System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.SPList.GetItemById(Int32 id, String strRootFolder, Boolean cacheRowsetAndId)     at Microsoft.SharePoint.SPList.GetItemById(Int32 id)     at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytesElevated(SPWeb web, Guid docLibID, Int32 fileID, Int32 fileVer)     at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.<>c__DisplayClass2.<LoadWorkflowBytes>b__0()     at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)     at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()&n

Workflow Error - Failed on Start (retrying) - Allow this list to receive e-mail? Yes


I have created a simple discussion board list with NO modifications to the fields or views.  I have turned on the option to allow new items to be created via email (Allow this list to receive e-mail? = yes).  In sharepoint designer I have created a simple workflow that sets a workflow variable (type string) to 'true'.  When I manually create a new discussion board item for this list, the workflow completes successfully; however, when I email in a new discussion board item, the item is created, but the workflow fails with the "Failed on Start (retrying)" workflow status.

The workflow is set to only fire when new items are created.


Trying to trigger workflow for Survey got error" Failed to Start(retrying)"


I created an survey for the department i am working for. I did that at sharepoint designer 2007, then i created workflow and attached that with the survey page, i added conditions and actions when workflow is started upon item is created. But it throws me an error saying" Failed to Start(retrying)".

I dont know what going on , I saw in ablog saying windows sharepoint services 3.0 doesnt support attaching workflow into surveys. I dont know what else can be done to make this possible.

Can you please give me some advices, i am new on this field.

Thank You


Navin Pokhrel

moss 2007 workflow error failed on start(retrying)


i am getting this error "failed on start(retrying)" on a custom workflows.

The error does not occur very frequently, once a week (the workflow is triggered roughly 50 times a day).

Any ideas? Or where can I get more details on this error (some log files elsewhere?)



Attach Workflow to Task List, don't get option to manually start workflow via dropdown on task item



I am running WSS 3.0 with other workflows which are functioning correctly.  I created a new workflow in Visual Studio 2008 and was able to successfully run it in my dev environment.  I attached the workflow to a task list in my dev environment and was able to manually start the workflow by using the drop down workflow option and using the menus to manually start it.  I installed this workflow in our production environment and attached it to the task list (which had a SPD workflow attached to it which stopped working about a month ago).  I made sure that the option to manually start the workflow was checked.  When I tried to manually start the workflow, (hover mouse over title, drop down) there isn’t a workflow option.  The workflow also will not start automatically when a task is changed.


I attached this same workflow to a different task list in production and get the option to start it.


I have tried creating a small workflow in SPD 2007 and attaching it to the task list.  It shows that it is attached, when I look at the workflows that are attached to the task list, but I still don’t get the option to manually start it.


I have checked my security and I have fu

SharePoint 2010 Long Starting if start workflow programatically


In SharePoint 2010, I'm starting workflow #2 programatically from my workflow #1. See code below:

					SPList currentList = web.Lists[new Guid(ListId)];
					SPListItem currentListItem = currentList.GetItemById(ListItem);

					//resolve any lookup parameters
					string workflowId = base.ProcessStringField(WorkflowIdentifier);

					//find workflow association by name
					SPWorkflowAssociation workflowAssoc = currentList.WorkflowAssociations.GetAssociationByName(workflowId, Thread.CurrentThread.CurrentCulture);

					if (workflowAssoc != null)
						//start the workflow
						SPWorkflow workflow = site.WorkflowManager.StartWorkflow(currentListItem, workflowAssoc, workflowAssoc.AssociationData, SPWorkflowRunOptions.Synchronous);

And workflow #2  will hang with Starting status (1-10 minutes), Then the workflow #2 status would be modified  to Completed.

I couldn't find how to start the workflow # 2 immediately and complete immediately without several minutes delay

Automatic Workflow start through Excel


Dear all,

I have a SPD WF and I want to start it automatically by channging a value in a dropdown inside Excel.

Instead of going to Office button --> Workflows --> Start "Budget Approval", start the workflow by setting a value inside Excel (and maybe saving the file) to "Completed".



Workflow failed to run


My visual Studio sequential workflow has escalation feature enabled, so the workflow will run every 5 minutes and check the task is overdue or not. If it is overdue it will escalate to another user.

Scenario 1:

My problem is, I made some changes in workflow.xml file and deployed to the server, by mistake I forget to put the closing tag in workflow.xml file. I realized my mistake and redeployed the workflow in two minutes time. The workflow log History start showing “workflow name failed to run" (this message logs only two time with one minute difference) and the workflow went to sleep (Last run time in the workflow status page is not changing after that).

And the new instances are working perfectly, problem only for old instances.

This problem is affected for more than 400 items.

I would like to know, is there any way we can wake up the workflow and start checking the task is overdue or not.


Scenario 2:

I have one more issue recently, i had deployed the workflow with the below bat file (this time i made some changes in the code ), suddenly old instances stop working. even it does not wake up when the task status is Approved (if the task is Approved it suppose to go to next level).


For deploying the workflow, i am just hitting the BAT file. An

WorkFlow will not start. Stuck on workflowRuntime.CreateWorkflow?

In Visual Studio 2008/C# using the wizard I created a 'Sequential WorkFlow Console Application'.  I have made no changes to the project genreated by Visual Studio 2008.  The code gets stuck on:   WorkflowInstance instance = workflowRuntime.CreateWorkflow(typeof(WorkflowConsoleApplication1.Workflow1));Application never timeouts or fails.Any ideas?twahl

Imported Workflow project does not compile "error 348: Compilation failed. Unable to load one or mor

Original workflow project was compiled on 32 bit machine. I exported it to VS.Net 2010 and it fails to compile. Has anybody seen this error? -Stan  
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend