Deleted tasks are listed in e-mail reminder for overdue tasks in Microsoft Project Server (827553)



The information in this article applies to:

  • Microsoft Office Project Server 2003
  • Microsoft Project Server 2002

SYMPTOMS

When you, as a resource on a project, receive an e-mail message reminder or a notification for an overdue task, the message may list tasks that have been previously deleted from the project and from your task list in Microsoft Project Web Access (PWA).

WORKAROUND

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. To work around this problem, you must update the Microsoft Project Server 2002 tables by using the following code in the Microsoft SQL Query Analyzer.

Note You msut back-up your Project Server database before you follow these steps.
  1. Start SQL Query Analyzer.
  2. In the database drop-down box, select the Project Server database.
  3. Copy the text below and paste it into the Untitled Query.
  4. On the menu, click Query/Execute.
  5. When the query is finished running, quit SQL Query Analyzer.

update MSP_WEB_REMINDER_TYPES 
 set WRMND_QUERY=N'select A.WPROJ_ID, A.TASK_NAME, A.ASSN_START_DATE, 
 A.ASSN_FINISH_DATE, A.ASSN_WORK, A.ASSN_REM_WORK from
 MSP_WEB_ASSIGNMENTS A, MSP_WEB_PROJECTS P where A.WRES_ID=^0 and (^1) 
 and A.WPROJ_ID=P.WPROJ_ID and P.WPROJ_IS_NONWORKING=0 and 
 A.WASSN_DELETED_IN_PROJ=0 and A.WASSN_REMOVED_BY_RESOURCE=0 order by 
 A.WPROJ_ID, A.ASSN_START_DATE' 
 where WRMND_TYPE_ID=11001

update MSP_WEB_REMINDER_TYPES 
 set WRMND_QUERY=N'select A.WPROJ_ID, A.TASK_NAME, A.ASSN_START_DATE, 
 A.ASSN_FINISH_DATE, A.ASSN_WORK, A.ASSN_REM_WORK from 
 MSP_WEB_ASSIGNMENTS A, MSP_WEB_PROJECTS P where A.WRES_ID=^0 and (^1) 
 and A.WPROJ_ID=P.WPROJ_ID and P.WPROJ_IS_NONWORKING=0 and 
 A.WASSN_DELETED_IN_PROJ=0 and A.WASSN_REMOVED_BY_RESOURCE=0 order by 
 A.WPROJ_ID, A.ASSN_FINISH_DATE'
 where WRMND_TYPE_ID in (11002, 11003, 11004, 11005, 11006)

update MSP_WEB_REMINDER_TYPES 
 set WRMND_QUERY=N'select A.WPROJ_ID, A.WRES_ID, TASK_ID, TASK_NAME, 
 RES_NAME, ASSN_START_DATE, ASSN_FINISH_DATE, ASSN_WORK, ASSN_REM_WORK 
 from MSP_WEB_ASSIGNMENTS A, MSP_WEB_RESOURCES R, MSP_WEB_PROJECTS P 
 where A.WPROJ_ID=P.WPROJ_ID and WRES_ID_MGR=^0 and (^1) and 
 A.WRES_ID=R.WRES_ID and A.WASSN_DELETED_IN_PROJ=0 order by 
 A.WPROJ_ID, A.WRES_ID, ASSN_FINISH_DATE'
 where WRMND_TYPE_ID in (21001, 21002, 21003)

update MSP_WEB_REMINDER_TYPES 
 set WRMND_QUERY=N'select A.WPROJ_ID, A.WRES_ID, TASK_ID, TASK_NAME, 
 RES_NAME, ASSN_START_DATE, ASSN_FINISH_DATE, ASSN_WORK, ASSN_REM_WORK 
 from MSP_WEB_ASSIGNMENTS A, MSP_WEB_RESOURCES R, MSP_WEB_PROJECTS P 
 where A.WPROJ_ID=P.WPROJ_ID and WRES_ID_MGR=^0 and (^1) and 
 A.WRES_ID=R.WRES_ID and A.WASSN_DELETED_IN_PROJ=0 order by 
 A.WPROJ_ID, A.WRES_ID, ASSN_START_DATE'
 where WRMND_TYPE_ID=21004

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MinorLast Reviewed:4/4/2006
Keywords:kbprb KB827553 kbAudEndUser