This website is supported, hosted and funded by Corelan Consulting - https://www.corelan-consulting.com. Please follow us on Facebook (@corelanconsulting) and Twitter (@corelanconsult). Corelan training schedules: https://www.corelan-training.com/index.php/training-schedules



Please consider donating: https://www.corelan.be/index.php/donate/


1,672 views

Sharepoint WSS 3.0 Alerts don’t work

After migrating this blog from my old 2008 RC1 server to a new 2008 RTM server, I noticed that my Sharepoint alerts stopped working. I was still getting an email message when I created a new alert definition, but when an alert should have been triggered, I was not getting an email.

Conclusion : the mail server setup works fine, no issues with antivirus products. So it must have been something else.

This is a high-level overview of what I’ve done to fix the issue

First, make sure the account that is used to run the "Windows Sharepoint Services Timer" Service has access to the content database(s) of your Sharepoint site(s).

Next, determine the url of your Sharepoint site. In my case, this is https://petersblog.dyndns.org:8899 (you’ll need the URL in the commands below)

Run the following commands : (The first 2 will show you whether alerts are enabled, the last 3 will first disable alerts, enable the timer, and enable alerts again)

stsadm -o getproperty -propertyname alerts-enabled -url https://petersblog.dyndns.org:8899

stsadm -o getproperty -propertyname job-immediate-alerts -url https://petersblog.dyndns.org:8899

 

stsadm -o setproperty -propertyname alerts-enabled -propertyvalue false -url https://petersblog.dyndns.org:8899

stsadm -o setproperty -propertyname job-immediate-alerts -url https://petersblog.dyndns.org:8899 -propertyvalue "every 5 minutes between 0 and 59"

stsadm -o setproperty -propertyname alerts-enabled -propertyvalue true -url https://petersblog.dyndns.org:8899

Usually, stsadm is located under C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\BIN

After running the two first command again (with the getproperty parameter), I’m now getting

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\BIN>stsadm -o getproperty -propertyname alerts-enabled -url https://petersblog.dyndns.org:8899

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\BIN>stsadm -o getproperty -propertyname job-immediate-alerts -url https://petersblog.dyndns.org:8899

Now restart the "Windows Sharepoint Services Timer" service. After a couple of minutes, the alerts started to flow again.

© 2008, Corelan Team (corelanc0d3r). All rights reserved.

Related Posts:

Comments are closed.

Corelan Training

We have been teaching our win32 exploit dev classes at various security cons and private companies & organizations since 2011

Check out our schedules page here and sign up for one of our classes now!

Donate

Want to support the Corelan Team community ? Click here to go to our donations page.

Want to donate BTC to Corelan Team?



Your donation will help funding server hosting.

Corelan Team Merchandise

You can support Corelan Team by donating or purchasing items from the official Corelan Team merchandising store.

Protected by Copyscape Web Plagiarism Tool

Corelan on Slack

You can chat with us and our friends on our Slack workspace:

  • Go to our facebook page
  • Browse through the posts and find the invite to Slack
  • Use the invite to access our Slack workspace
  • Categories