Sitecore Rewrite Module prevents executing ASP.NET Web Service calls


Description

Accessing ASP.NET web services running in the context of a Sitecore CMS application using URLs like “/TestWebService.asmx/js” may fail with the following server error:

System.InvalidOperationException: No web service found at: /TestWebService.asmx/js

Solution

  1. Copy the Sitecore.Support.358242.dll file to the '/bin' folder of your solution.
  2. In the web.config file, replace both occurrences of the line:
    <add type="Sitecore.Web.RewriteModule, Sitecore.Kernel" name="SitecoreRewriteModule" />
    with:
    <add type="Sitecore.Support.Web.RewriteModule, Sitecore.Support.358242" name="SitecoreRewriteModule" />