Sun. Sep 22nd, 2019

Samir Daoudi's Technical Blog

SharePoint, Office 365, C#, .Net, SQL Server News, Tips, Ebooks, Events, Webinars ….etc

MOSS2007: The data source control failed to execute the insert command

When I was trying to initiate workflow from MOSS2007 to a list, an error page: The data source control failed to execute the insert command is appearing You will find your workflow name there, and then click on Remove a workflow

When I was trying to initiate workflow from MOSS2007 to a list, an error page: The data source control failed to execute the insert command is appearing. This was upsetting me, since previously there was nothing wrong with my workflow. Then I asked uncle Google to get answer of my problem.

So, all you need to do are:

  1. Go to Settings > List Settings (web)
  2. Under Permission and Management, select Workflow Settings
  3. You will find your workflow name there, and then click on Remove a workflow
  4. Mark all instances to Remove (donโ€™t worry, your workflow itself, will not be deleted. It is just detached from list)
  5. Use MOSS Designer, open that workflow, and save again. This will re-attach with your list
  6. Now, try again to initiate workflow. It should be working

Leave a comment

Show Buttons
Hide Buttons
%d bloggers like this: