English 中文(简体)
Workflows stuck in progress when moved to sharepoint farm environment
原标题:

We have developed a number of custom approval workflows in visual studio 2008. They basically create task and work through a 2 stage approval process, once a task is completed, it generates new tasks for stage 2, then completes.

These have been tested and work well in a single server moss/sharepoint environment.

We have now moved them to a test farm environment with 2 Web Front Ends, 1 SSP/Search Server, 1 SQL Server.

The workflows now get stuck in progress, after completing the first stage of the workflow, as if the workflow is not recognising that something has changed.

No errors, in our logging code, none in the SP logs.

Would appreciate anyones thoughts on this.

最佳回答

We ended up using Windbg and referencing this article http://blog.thekid.me.uk/archive/2007/07/25/debugging-tips-for-sharepoint-and-wss-exceptions.aspx. We did this on the server with the problem and found that it was not able to fire or wake up the workflow as it would not fire the task changed event. This we found was an accepted bug and was addressed in cumulative updates and services packs for moss.

问题回答

Try attaching a debugger to the SPTimer service -this is responsible for running workflow code asynchronously - this might give you some hints. Also ensure that the account running sptimer has not gotten out of sync with the farm account, in terms of credentials (password expired etc). Don t forget to bounce this service too when updating your workflow builds - bouncing IIS is not enough. The timer service may have the workflow assembly loaded.

-Oisin





相关问题
VS 2008 : How to publish with out DLLs?

I have developed a web application in Visual Studio 2008 and want to publish it in to the production server. I see a publish option there.But its producing files with DLL. I dont want to publish only ...

Apache: Deploying a new site to the server

I have a site currently live on a domain. I would like to switch it to a new site, that is currently in a password protected sub directory on this server. I have a "Site Maintenance in Progress" page....

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Pylons deployment questions

I m a beginner with Pylons and I ve mostly developed on my localhost using the built-in web server. I think it s time to start deployment for my personal blog, I have a Debian Lenny server with ...

Do I want Publish or Release Build in VB.net?

I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I ve released the code as a Google Code project. It s easy for a developer to get the source but I d ...

Need advice on my PHP development solution

Here is how our current php development solution is set up: Each developer work on their local machine. Each developer commit their change to a common SVN server (intranet). A commit hook upload the ...

loading from JAR files during deployment vs development

when i am loading some data into my java program, i usually use FileInputStream. however i deploy the program as a jar file and webstart, so i have to use getRessource() or getRessourceAsStream() to ...

热门标签