Article ID: 936760 - Last Review: May 1, 2008 - Revision: 2.0 The URLs of alerts in e-mail notifications that you receive are incorrect after the URL of a Web application for a site in Windows SharePoint Services 3.0 or in SharePoint Server 2007 changesSYMPTOMS You create one or more alerts for a list or for a document library in a site in Microsoft Windows SharePoint Services 3.0 or in Microsoft Office SharePoint Server 2007. In scenarios in which the URL of the Web application for the site changes, the URLs in the body of the e-mail notifications that you receive are incorrect. The URLs are still the old URL. CAUSEThis issue occurs because URLs of alerts are stored as absolute URLs in the content database. Therefore, if the URL of the Web application changes, the URL of the alert is still the old URL. For example, this issue occurs if one of the following conditions is true:
WORKAROUNDTo work around this issue, resave each alert. You do not have to make any changes to the alert before you resave it. To resave an alert, follow these steps:
You can also work around this issue by using the new stsadm -o updatealert command. This command was released in the SharePoint Administration Toolkit. For more information and to download the toolkit, visit one of the following Microsoft Web sites, depending on the version of Windows SharePoint Services that you are running. SharePoint Administration Toolkit x64 http://www.microsoft.com/downloads/details.aspx?FamilyId=F8EEA8F0-FA30-4C10-ABC9-217EEACEC9CE&displaylang=en
(http://www.microsoft.com/downloads/details.aspx?FamilyId=F8EEA8F0-FA30-4C10-ABC9-217EEACEC9CE&displaylang=en)
SharePoint Administration Toolkit x86http://www.microsoft.com/downloads/details.aspx?FamilyId=263CD480-F6EB-4FA3-9F2E-2D47618505F2&displaylang=en
(http://www.microsoft.com/downloads/details.aspx?FamilyId=263CD480-F6EB-4FA3-9F2E-2D47618505F2&displaylang=en)
For more information, see the "Microsoft SharePoint Administration Toolkit" white paper. To do this, visit the following Microsoft Web site: http://go.microsoft.com/fwlink/?LinkId=117212&clcid=0x409
(http://go.microsoft.com/fwlink/?LinkId=117212&clcid=0x409)
MORE INFORMATIONAdministrators can programmatically update the URL of every alert that is created in a site collection. The following sample code updates the URLs of all alerts in a site collection. Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure. However, they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
| Article Translations
|
Back to the top
