“Alert not working” is the most common issue in MOSS. People tend to forget the basic troubleshooting and jump directly into advance troubleshooting.
For alerts to work in MOSS we need to ensure that the following are in place:
we need to confirm that there are no communication issues between SharePoint and Exchange. This can be confirmed by setting an alert on a document library. Once we set the alert on the document library, a subscription email is sent. If we receive the subscription email, then there no communication issue with SharePoint and Exchange.
An alternative method to check this is via telnet. Log on to the machine with the account that is meant to be used as a SharePoint service account and follow the steps below to ensure there are no communication issues between SharePoint and Exchange.
From the command prompt execute the below command one by one.
Having done this, check your inbox and you should receive an emails which will ensure that there no communication issues between exchange server and the SharePoint box.
Now the SharePoint box is ready for alert configuration. When we configure an alert on document library we get a subscription email.
When a subscription email is sent we see the following in the netmon trace.
Now we would get alerts based on the alerts configuration. Immediate alerts are most commonly used. This is where we face issues like.
- The users get subscription email, but they do not get subsequent alerts emails for changes.
- Few of the users do not get subsequent alerts emails.
- Intermittently user do not get subsequent alerts email .
This is where netmon trace would be handy to determine if the issue is with the SharePoint or Exchange, before jumping into advance troubleshooting.
When we make changes to a document library on which alerts are configure to trigger immediately, we would get an alert email saying that there has been a change.
And in the netmon trace we see the following
While troubleshooting subsequent alerts issue, if we see the SMTP traffic in the netmon trace (as shown above), it means that there is no issue with the alert configuration in SharePoint.
If we do not see the SMTP traffic in the netmon trace, then we need to further look into the SharePoint configuration and would require further troubleshooting from SharePoint's perspective.
For further troubleshooting on alerts from SharePoint's perspective refer to the below blog.
http://blogs.technet.com/harikumh/archive/2008/05/25/troubleshooting-alerts.aspx
Link to download Netmon:
http://www.microsoft.com/downloads/details.aspx?FamilyID=983b941d-06cb-4658-b7f6-3088333d062f&displaylang=en