Click here to Skip to main content
6,305,776 members and growing! (16,859 online)
Email Password   helpLost your password?
Enterprise Systems » SharePoint Server » General License: The Code Project Open License (CPOL)

Automatic Workflow Trigger after service pack 1

By Arif Habib Shadan - www.i-arif.com

How to enable automatic workflow after service pack 1 has been installed
Architect
Posted:2 Jun 2008
Views:7,946
Bookmarked:10 times
Unedited contribution
Announcements
Loading...
 
Search    
Advanced Search
printPrint   Broken Article?Report       add Share
  Discuss Discuss   Recommend Article Email
3 votes for this article.
Popularity: 1.72 Rating: 3.60 out of 5

1
1 vote, 33.3%
2

3
1 vote, 33.3%
4
1 vote, 33.3%
5

Basic Problem

Few days back some guys got sharepoint boxes upgraded with Service Pack 1. The process went smoothly and we didnt face any major problems during the upgrade. We then did some basic tests over the portal after the upgrade. The tests came positive and we were all happy untill ...

Problem

Yes the problem came right when the user requested us to do something with a deadline and we were all confident to create it for them. The user requested us to create a document library and attach a small workflow with it which gets triggered everytime anyone adds a new item. We made the workflow and the library and sat happily to watch the workflow trigger but we were in for a big surprise. The surprise as you might have guessed was the workflow did not trigger.

Problem Reason ?

After a lot of scratching of heads we found out that microsoft have applied some security fixes which doesnt allow the system account to ability to trigger the workflow. And also for the application pool identity, if you have not followed the microsoft minimum security principle while doing the sharepoint installation and behaved completely ignorant and used the sharepoint system account everywhere then you are in trouble here.
  • • The Windows SharePoint Services Web application runs under a user's domain account.
  • • The user logs in by using this domain account.
  • • The site displays the user name as System Account. The idea here is very simple. Once the service pack 1 is installed it needs a seperate app pool identity except the system account. Then you need to trigger the workflows from other account except the system account To do that i will copy from the microsoft technet site the step by step solution

    RESOLUTION

    To resolve this behavior, set the application pool account to use a different user account. You may want to create a new user account specifically for this purpose.
    To set the application pool account to use a different user account, follow these steps:
  • 1. On the server that is running one of the products that is listed in the "Applies to" section, click Start, point to All Programs, point to Microsoft Office Server, and then click SharePoint 3.0 Central Administration.
  • 2. Click the Operations tab.
  • 3. Under Security Configuration, click Service Accounts.
  • 4. Click Web application pool, and then click Windows SharePoint Services Web Application in
    the Web service box.
  • 5. In the Application pool box, click the application pool that you want to change.
  • 6. Under Select an account for this component, click Configurable, and then type the user name and the password for the different user account.
    For more information please read the following:
    http://support.microsoft.com/kb/947284

  • License

    This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    About the Author

    Arif Habib Shadan - www.i-arif.com


    Member
    Working as solution architect. Developing solutions based on Microsoft .Net based Technologies.
    Have my own blog at
    www.i-arif.com
    Occupation: Architect
    Company: www.i-arif.com
    Location: Pakistan Pakistan

    Other popular SharePoint Server articles:

    Article Top
    You must Sign In to use this message board.
    FAQ FAQ 
     
    Noise Tolerance  Layout  Per page   
     Msgs 1 to 5 of 5 (Total in Forum: 5) (Refresh)FirstPrevNext
    GeneralExcellent Article PinmemberBander Alsharfi2:49 5 Nov '08  
    GeneralRe: Excellent Article PinmemberArif Habib Shadan2:53 5 Nov '08  
    GeneralSystem Account cannot start Workflows, error message PinmemberGraemeLewis23:51 17 Sep '08  
    GeneralRe: System Account cannot start Workflows, error message PinmemberArif Habib Shadan11:20 18 Sep '08  
    GeneralThanks a lot for putting up this information! Pinmemberp_pillai32:24 1 Aug '08  

    General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    PermaLink | Privacy | Terms of Use
    Last Updated: 2 Jun 2008
    Editor:
    Copyright 2008 by Arif Habib Shadan - www.i-arif.com
    Everything else Copyright © CodeProject, 1999-2009
    Web19 | Advertise on the Code Project