Sitemap.XML module - sitemap.xml files not being refreshed on Content Delivery servers


I hope someone could help me with this issue.

We have the following setup:
Version Sitecore 7.2

Content Management Sever


Load Balancer


|_Content Delivery Server1

|_ Content Delivery Server2

We use Sitecore module SITEMAP XML.
We have configured all the three SitemapXML.config files to use the event

<event name="publish:end:remote">

so  that the sitemap.xml file is being remotely pushed from the CM server to the CD Server when we successfully publish a sitecore item. 

However, the remote event seems to not be firing at all. I know that the code refreshes the sitemaps and everything is configured correct, because if I change the publish:end:remote to publish:end, I can see the sitemap files refreshed, but only on the Content management server and not on the Content Delivery servers (as expected). 

 In addition to this, the scalabilitysettings are configured correctly. 

I have no idea why the remote event isn't firing?

Does anyone have any idea what the issue  might be? 

Any help would be greatly appreciated. 

Many thanks!


  • Hi Monika,

    I would suggest the following:

    1. Have you checked if the application pool user has sufficient permission (ex: Full control) under the directory where sitemap files are pushed?
    2. Usually sitecore has rule under the web.config -> handlers which prevents access to xml files ex:

    <add path="*.xml" name="xml Handler (classic)" verb="*" modules="IsapiModule"
    scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified"
    preCondition="classicMode,runtimeVersionv4.0" />

    a) Make sure to add the following piece under web.config -> handlers in order to allow access to the specific sitemap files ex:
    <add path="*_sitemap.xml" verb="GET" type="System.Web.StaticFileHandler" name="xml allow" />
    b) Make sure to add the line from step a) under the httphandlers in the web config as well.

    PS: Please also check if SitemapXML.config ->settingsDatabase value is set to web.