Thursday, December 3, 2009

Alerts on SharePoint List

Today I had to troubleshoot a SharePoint environment where alerts were not working.
Firstly this environment was not configured to send mail. So I started by installing IIS's SMTP client component. Configured the relay server.
Then configured the 'Outgoing E-Mail Settings' in Central Administrator.
Added an alert on a custom list.
And upon adding a new item nothing happens... hmm... googled around... eliminated the fail points since this environment was working with anonymous access. And then got it working by:
Disable alerts on the site
stsadm.exe -o setproperty -pn alerts-enabled -pv "false" -url http://problemsite
Enable alerts on the site
 stsadm.exe -o setproperty -pn alerts-enabled -pv "true" -url http://problemsite
Added a new item in the custom list and it working like a charm. Also works when an anonymous user adds a list item.

External Links:
1. Troubleshooting Alerts
2. Configure outgoing e-mail settings

1 comment:

  1. I've been building up an Alert troubleshooting guide that may help if you get any more troubles