After upgrading our TFS 2005 environment to TFS 2010 alerts aren't working.

Answered After upgrading our TFS 2005 environment to TFS 2010 alerts aren't working.

  • Monday, June 18, 2012 4:56 PM
     
     

    We currently upgraded out TFS 2005 environment to TFS 2010.

    In TFS 2005 the alerts were working for all projects.

    In TFS 2010 none of the alerts are working for the tfs_defaultcollection (projects).

    In the TFS 2010 environment I created a new collection and setup an alert for any file that gets checked in and the alerts work.

    Where should I look to began to resolve this issue?


    Carlos O. Butts

    • Moved by Trevor HancockMicrosoft Employee, Moderator Wednesday, June 20, 2012 7:19 PM Alerts config. is an admin task, not a power tool. Moving to more appropriate forum. (From:Team Foundation Server – Power Tools & Add-ons)
    •  

All Replies

  • Tuesday, June 19, 2012 4:31 AM
    Moderator
     
     

    Hi Carlos,

    Thank you for your post.

    Seems you use porject alerts-"Anything is checked in", but cannot receive any alert email. If I have misunderstood anything, please free feel to let me know.

    If you not enable email alert in TFS administration console, please enable it.

    Regards,


    Lily Wu [MSFT]
    MSDN Community Support | Feedback to us

  • Tuesday, June 19, 2012 12:08 PM
     
     

    Wendy, the email alert settings are enabled and does work for new projects within new collections created.

    I have two collections.

    One is called DefaultCollection, this collection was migrated from TFS 2005 and the other is call TestCollection (I just created the collection).

    All of the migrated projects under the defaultcollection none of the alerts work.

    All of the projects under the TestCollection are successfully receiving the alerts.


    Carlos O. Butts

  • Monday, June 25, 2012 3:34 PM
    Owner
     
     Answered

    Review the following post to see if it can give you clue to what is going on:
    http://blogs.msdn.com/b/granth/archive/2009/10/28/tfs2010-diagnosing-email-and-soap-subscription-failures.aspx

    You can also review the event logs if there is any notification failure that might help.

    Also make sure SP1 is installed on TFS2010.


    Trevor Hancock (Microsoft)
    Please remember to "Mark As Answer" the replies that help.

  • Monday, July 16, 2012 3:18 PM
     
     

    After running the following SQL Statement, here are the results

    SELECT TOP 10 DATEADD(hour, -7, StartTime) as StartTimePDT, Result, ResultMessage

    FROM [Tfs_Configuration].[dbo].[tbl_JobHistory]
     
    WHERE JobId = 'A4804DCF-4BB6-4109-B61C-E59C2E8A9FF7' AND Result <> 0

    ORDER BY StartTime DESC

    Job extension had an unhandled error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.  Parameter name: index     at System.Collections.Generic.List`1.get_Item(Int32 index)     at Microsoft.TeamFoundation.JobService.Extensions.Core.NotificationJobExtension.ExpandEvents(TeamFoundationRequestContext requestContext)     at Microsoft.TeamFoundation.JobService.Extensions.Core.NotificationJobExtension.Run(TeamFoundationRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime jobQueueTime, String& resultMessage)     at Microsoft.TeamFoundation.Framework.Server.JobRunner.ExecuteJob()


    Carlos O. Butts