.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

Share Point 2010 Workflow throws error Workflow Failed to run when using a Pause Untill condition

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :C#

I need to define a workflow where every night it checks the end date and if it is in past it should delete that list item. To achieve this I defined two workflows on the list which satrt when item created or modified. One workflow just checks the date and if past deletes the item. Another workflow I have defined as timer workflow which pauses untill 1am next day and then updates a hidden filed in the list item which triggers another instance of the timer workflow as well as deletion workflow.

Everything works fine if I remove the pause Until action, but if I use Pause Until or Pause For Duration the workflow does not resume and throws error workflow failed to run.

I googled and found this issue with 2007 and some hotfixes but could not find any solution for 2010 Anyone experienced the same issue?

View Complete Post

More Related Resource Links

How to create WSP or Package for workflow in Share Point 2007?



I am working on SharePoint 2007. I have created 2 List called "Config List" (this is a list) and "Vacation Form" (this is form library & form designed in infopath). I have also created a workflow on form library "Vacation Form" in Share Point Designer 2007.

With the use of this workflow I am creating some task and updating "Vacation Form".

Now I want to deploy these three thing (Config List, Vacation Form & workflow) on other server.

How do I create a package or WSP file to install these things on different server.


G. Goyal

Share Point Designer 2007 Workflow (Sequential) - multi-collect data from user

I am currently building a multi-step workflow using ShrePoint designer for MOSS2007. I am getting a bit confused as to if I have an error or if I am doing something incorrect. Here is what I have going. My workflow consists of something similar to the following New document comes in, a collect data from user routine is ran and assigned to a reviewer. My understanding when I create a collect data from user WorkFlow step is any data I request is saved in the "Tasks" list. Therefore I need to grab the workflow task ID in order to later lookup what the reviewer submitted... I understand this...   However, I have one more collect data from user workflow step and I have one more item to collect. Even though this is a brand new collect data from user workflow step - does the collected data still go into the "Tasks" list? In other words, if I have two steps in a workflow and both of these steps are "collect data from user", does the data from both steps go into the same "Tasks" list?  I could see how this might be possible as long as the Task list columns contain all the items for all the different "collect" data from user steps.  I don't see two different Tasks lists representing or named "Reviewer" or "Final" or anything, so I assume the items are all in "Tasks"   However..

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  

VS 2010 and error while compiling Workflow project

Get the following message:   ------ Build started: Project: DSS_IP_WorkFlow, Configuration: Debug Any CPU ------ C:\PRJ\JD Powers\DssIP\DSS_IPSoln\DSS_IP.2010\DSSIP\DSSIP-Simulator\DSS_IP_WorkFlow : error 348: Compilation failed. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.   What I'm doing wrong to my project?

Access Denied/The workflow could not copy the item workflow error after Sharepoint 2010 upgrade

We have a sharepoint designer workflow that copies a document from one library to another on the same site.  Before the upgrade to 2007 it worked fine, but now with 2010 it gives an error and cancels the workflow when it gets to the copy list item step.   The error on the workflow page: The workflow could not copy the item. Make sure the source and destination lists have the same columns and column settings.  Access Denied   Specifically it is the "copy list item current item to documentlibrary" sharepoint designer workflow action.   I have given the system account full permissions to the library and double checked that all columns are the same in both libraries. These are the verbose trace logs:   09/01/2010 09:46:04.05 w3wp.exe (0x17C4) 0x093C SharePoint Foundation Workflow Infrastructure 72er Medium System.UnauthorizedAccessException: <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied. at Microsoft.SharePoint.SPFile.UpdateInternal(Boolean migrationSemantics, Boolean reGhost) at Microsoft.SharePoint.Workflow.SPWinOEWSSService.CommitCopyFile(Transaction txn, Object[] transData) 09/01/2010 09:46:04.05 w3wp.exe (0x17C4) 0x093C SharePoint Foundation Workflow Infrastructure 72fe High Error in commiting pending workflow batch items: Sys

Receiving Error when Trying to Develop Sharepoint 2007 Workflow using VS 2010 Pro

I have created a Windows Server 2003 Enterprise (32 bit) SP2 image configured with Sharepoint 2007 Enterprise and a trial edition of Visual Studio 2010 Professional.  All software is fully patched.  When I try to create a new Sharepoint 2007 Sequential Workflow (.NET Framework 3.5) in either C# or VB, I receive a pop-up error: Exception of type 'System.PlatformNotSupportedException' was thrown. and, when I click OK and fill in the name of the workflow and a valid Sharepoint Web URL for testing, I receive the following error: SharePoint site location entered is not valid.  The SharePoint site at <removed> could not be found.  Verify that you have typed the URL correctly.  If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application. The URL in question references the default SharePoint site on this test server and does exist.  My assumption is that the second error received is a symptom of the first.  I have looked elsewhere and seen issues related to 64bit SharePoint implementations but, this is a 32 bit installation.  Based on the VS 2010 web site, I have met all of the prerequisites for developing SharePoint 2007 workflows through VS 2010 Pro.  Does anyone have any ideas on what I might be missing or what I need to

Workflow project compilation fails with error 348: Compilation failed. Cannot execute a program.

Hi, I am trying to build a workflow project on a PC and I am getting the "error 348: Compilation failed. Cannot execute a program." error. This project is part of a bigger solution and it used to build just fine on my PC. Also, the project and the solution build OK on several other computers. I am sure that the problem is something on my PC. 1. I am not sure what changed to make the project start failing. 2. I tried to delete the project, source and all folders from the disk and sync to the source control again 3. Re-installed the .NET 3.5 framework 4. Uninstalled Visual Studio 2008, deleted the visual studio folder under program files, and reinstalled VS 2008 5. I noticed the the file referenced in the error "...Temp\8sl_helt.cmdline" does not exist under the Temp folder. An empty folder called "8sl_helt"however is created, but there is no file with the cmdline extension. I turned up the output log to "diagnostics", this is the output generated when the error happens. Have anybody seen this? Done building target "_ComputeNonExistentFileProperty" in project "QCReviewWorkflowLibrary.csproj". Target "CreateWorkflowManifestResourceNames" skipped. Previously built successfully. Target "WorkflowCompilation" in file "C:\Program Files\MSBuild\Microsoft\Windows Workflow Foundation\v3.5\Workflow.T

Error deploying workflow feature in VS 2010


Hi all,

I have a VS 2010 state machine workflow solution, and am getting errors deploying the feature.  It is a 2 part question:

1. The error is: "Error occurred in deployment step 'Activate Features': Feature with Id '8ebb19f1-c0cc-49be-9d48-f56d0c0cfdf8' is not installed in this farm, and cannot be added to this scope."  Here is my feature:

<?xml version="1.0" encoding="utf-8" ?>
<Feature Id="E7A6A9DB-FAA5-430E-8380-1C60A372879B" Scope="Site"
 ReceiverAssembly="Microsoft.Office.Workflow.Feature, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" 
 ReceiverClass="Microsoft.Office.Workflow.Feature.WorkflowFeatureReceiver" >
 <Property Key="GloballyAvailable" Value="true" />
 <Property Key="RegisterForms" Value="*.xsn"/>
 <ElementFile Location="ApprovalFormWComments.xsn" /> 

I added in the feature Id attribute just to try to resolve the error, but that didn't help as VS adds in the ID and scope automatically based on your settings in the feature designer window.

2. If you noti

Workflow or Time Job for email reminder on Tasks List in Share Point 2007


I need to send a reminder to the person whom a task has been assigned 3 days before a due date. We also wants to re-use this workflow/time job on other lists as well. Name of the lists can be different??


Also if the due date gets change it should change the reminder accordingly.

Which approach i should take to achieve this?? 




Repeating Sections in Share point designer workflow




I created repeating section drop down. This drop down gets data from the list.


Now i create a work flow in a share point designer. I want to get all the repeating values in the work flow which i want to send a email with all values.


But in share point designer i can get only ROOT value, and can not get the child.. Means the first value of the section, not others.


Please help me to get all the values.

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.


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

Suggest best way to do this approval workflow for share point form library.


I have created the Info path form.

Once the new form created i need to send the email to users which the user selected in the people picker field.

Is that possible to do this using Designer,or VS 2010.

Give some reference to do this.

Share point database and site collection size, and restrictions and workflow


Sharepoint site collections


More Detail



We had a 3rd party into to develop the share-point service, This is really a very difficult situation not the solution but the documents that are stored and the way it was retrieved.


The real thing is that we receive an item it is booked into SAP and then we send an automated xml to set up a local site this site will then have details from the SAP system fed by ABAP. After the site is created, and then we add documents files and .jpg. These documents must show a detailed audit trail so that if challenged in a court of law can show who had access and who updated documents. 


SO the problem is 


1 Site Collection that is 170gig and the design means that we have 1600 sites and these contain images that are stored in the single site collection. How do we remove the full documents and images and replace with links rather than the doc, img. 


2. We have around 8 business units the problem is that they can share information acros

Error when creating a Workflow in SharePoint 2010


Hello All,


Just wantd to get some help with this problem.  I was trying to create an Out of the Box Signatures Workflow in my test SharePoint 2010 environment but I get the following error:


The following location is not accessible, because it is in a different site collection: http://<servername>/_catalogs/wfpub/Collect%20Signatures%20-%20SharePoint%202010/Signatures_1033.xsn.

Correlation ID:3d572eca-7fb0-4ec6-b251-151fb9bc6f35


Some more info, I did change my server's name just before I tried this.  I did reboot the server and ran the stsadm command -renameserver to force the name change on the server.  I then also did an IIS reset.  Everytime I try to do an IISReset, the first time always comes with:

Attempting stop...
Restart attempt failed.
The service did not respond to the start or control request in a timely fashion
 (2147943453, 8007041d)

If I try it again, it does it fine.  When I click on the central admin icon from the Admin t

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.


Custom WorkFlow using VS 2010:Error while deploying workflow from VS 2010



I am migrating custom workflow which was running in moss 2007 to SharePoint 2010.The approach was i created a new Sequential workflow project in VS 2010 under sharepoint . then i copied my Workflow files.Removed old refernces to 12 hive and updated to 14 root.

I could successfully buid this project.Then i have added Module project item called 'Forms' where i placed my Intiation form which is a infopath published form to nework location.

I could package and deploy the solution.But facing an error while Activating the feature.


Any help will be highly appritiated



Ram kiran



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