January 15, 2010

TFS 2008 Email Alerts and the Event Receiver

Filed under: TFS — Tags: , , , — Tim Lefler @ 11:30 am

Team Foundation Server (TFS) is a collection of services including version control, work item tracking, and an EventService service. The EventService exposes a set of events that, when fired, can perform actions such as sending e-mail or making a SOAP-based Web service call.

Email alerts can easily be configured on a per project basis using Team Explorer. Once connected to the Team Server, you’ll be able to access the Team menu on the main menu bar. If you select the menu item “Project Alerts” Visual Studio will open the Project Alerts dialog, which allows you to create e-mail subscriptions for the major events associated with a particular project.

Email Alerts for a Partucular Project

TFS will format the body of the message HTML or plain.  Multiple Email addresses can be configured by separating them with a semi-colon.  Email formating is controlled XSLT transforms located on the TFS server in the “C:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\Services\v1.0\Transforms” directory.  It transforms the Event XML in to HTML or TEXT. (more…)

September 16, 2009

SharePoint Task Notifications Not Working After URL Change

Filed under: Sharepoint — Tags: , , , , , , , — Tim Lefler @ 5:16 pm

In our situation we migrate content databases on a regular basis between our MOSS Sandbox environment to our Production and Staging environments.  I ran into a situation where we ported a Sandbox content database to the Staging environment so we could begin unit testing.  Although external Email was functioning, proven by other alerts on list items, our workflow task notifications were not being sent.

Found the following Log entry that seemed to be relavant:

09/16/2009 15:45:24.70 OWSTIMER.EXE (0×0660)                              0x0DDC                Windows SharePoint Services   Timer                                         9e99      High       AlertsJob failed to initialize site collection for Subscription id: {F51BE5D2-8142-4826-A7CC-DE03C7BA17C8}. Possibly incorrect siteurl http://mosssbx/sites/Test for site collection Id: {352E8E65-1A15-4953-98F6-4D2899492DB1},HRESULT 0×80070002

So I knew we had a database entry somewhere still pointing at my mosssbx site! (more…)

Powered by WordPress