Approval workflow failed to start

Hi there,

i am having the OOBapproval wokflow in MOSS 2007, it starts whenever users want's to publish major versions. i have enabled both version controlling in the document library, namely "pages",(coz it's a publishing site i am working on) where all the pages are stored. but whenever i click the "submit for approval" button the workflow initialization window shows up, but after i click on start it says that workflow creation is in progress but then it fails. what could be the reason? Am i missing something? or else there is something extra i need to start a workflow in a publishing site?

i am using MOSS 2007 and .net framework 3.0

please help...

thanks in advance

[782 byte] By [Anonymous] at [2008-1-1]
# 1
hi,
may be problem with Instantiation Data . you can do one thing u can debug the Work flow simple attach the process in Vs and select w3w process and when u start the work flow i goes for debugging . try this
Bowsil at 2007-9-12 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Workflow...
# 2

I'm having the same issue. This was working this morning, but I have had to move the database to a new server, and now the workflow isn't working.

Would love to hear if you come up with a solution...

arduk at 2007-9-12 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Workflow...
# 3

sorry,

but i din get u actually. the workflow i have created in not custom developed but is out of the box. so i am not exactly how to do this.

can u explain a bit more?it'll b quite helpful...

Anonymous at 2007-9-12 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Workflow...
# 4

sure thing,

but as far as i have traced the problem might be with permissions, coz other sites in my server are working perfectly fine.

try checking the event viewer in your server or the logs present in the the following folder:-

c:\program files\common files\microsoft shared\web server extensions\12\logs, over here u can find logs related to sharepoint.

just check them, maybe u can find some useful info.and if u find a way just lemme know, that will be quite helpful

Anonymous at 2007-9-12 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Workflow...
# 5
arduk wrote:

I'm having the same issue. This was working this morning, but I have had to move the database to a new server, and now the workflow isn't working.

Would love to hear if you come up with a solution...

after much of headache and searching i came to the following solution...actually i have selected the 'collaboration' template instead of 'publishing' template for my site collection.and publishing via workflows is disabled by default in collaboration templates.so u cant do much bout it. instead what i think is that u have to create a new web application, this time select the publishing template for your site collection.Then u can publish major versions thru ur approval workflow..just check it out and lemme know

regards

chris

Chris at 2007-9-12 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Workflow...
# 6

Hi all,

I'm having the same Issue.

I'm trying to use OOB workflow and it casts a Failed On Start Error.

I'm using a standalone server.

The only change we've done its to replace the Administrator accout with a Service Account. It causes some problems so now everything seems fine except the workflows.

Regards

Charles at 2007-9-12 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Workflow...
# 7
Charles wrote:

Hi all,

I'm having the same Issue.

I'm trying to use OOB workflow and it casts a Failed On Start Error.

I'm using a standalone server.

The only change we've done its to replace the Administrator accout with a Service Account. It causes some problems so now everything seems fine except the workflows.

Regards

hi charles,

the reason might be that u have selected "collaboration" template instead of "publishing" template for ur site collection. That was the reason why my workflow was not workin, coz by default publishing through workflow is disabled in "collaboration" template. For using the OOB approval workflow for publishing ur pages u need to select the "publishing" template when u create ur site collection.

Chris at 2007-9-12 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Workflow...
# 8

As well I am having the same issue.

Have you checked your Log file in the HIVE?

I have a coninually occuring error saying:

Load Workflow Assembly: System.IO.FileNotFoundException: Could not load file or assembly 'SharePointWorkFlowLibrary3, Version=30.0.0, Culture=neutral, PublicKeyToken=151abb0cc98e00a8' or one of its dependencies.

Any ideas for why it sayd "Failed on Start" when I try to run?

Mike

Anonymous at 2007-9-12 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Workflow...
# 9

Hi,

I don’t know if this is the exact same issue that you have, but in my case this worked for me.

Problem:

Each time I started an Approval workflow process, the following error message was displayed: "Failed on Start".

Cause:

This happened because I had run the command "lodctr /R" to rebuild the performance counters on the Sharepoint Server.

Resolution:

I Checked the logs at “C:\Program Files\common files\Microsoft Shared\Web Server Extensions\12\Logs” and verified that at the time I started an approval workflow process the following error was registered:

“workflow Infrastructure 72fu Unexpected” ….”Load workflow class”…. “the requested performance counter is not a custom counter”

To resolve this issue I reload the “Windows Workflow Foundation” performance counters using the following command:

Lodctr c:\Windows\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\perfcounters.ini

Products:

Sharepoint 2007

Note:

If the error "Failed on Start" occur while trying to start the workflow look into the LOGS files found at %Program Files%\Common Files\Microsoft Shared\web server extensions\12\LOGS. The information provided is excellent - you'll get a detailled explanation of the issue.

GoncaloFeijao at 2007-9-12 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Workflow...

SharePoint Products and Technologies

Site Classified