title: How do I resolve a 404 error with Telerik WebResource.axd file?
body: <p>We have two identical web servers, one for test, one for production.  We just moved an asp.net site onto the production.  We have several Telerik controls including a set of RadButtons using the style WebBlue.  On the test server, these buttons are formatted with a border around them and a blue background.  However, on the production server, the buttons showing without the border or background color.  Using the developer console in Chrome, we can see the error is a 404 error for WebResource.axd.  This seems to be a Telerik style sheet.  We've checked and both sites have the same files.  This includes the bin folder containing the Telerik references and the web.config with Telerik and WebResource defined.  We even directly copied all the code from one server to another and still there's this missing reference to WebResource.axd.  Searching online leads to suggestions like IIS is set up to handle axd files and the web.config being incorrect.  I've checked and the handling and web.config are identical.  I even saw a suggestion to manually create the axd file that I tried without success (I went to testsite.com/WebResource.axd, copied what came up--code for a stylesheet--into a file called WebResource.axd, and copied with to the live server).  We put a ticket into Telerik and they answered something about problems transferring a site from asp.net to asp.net MVC (which is NOT something we're doing).  We've responded telling them this isn't a part of our issue, but we're stuck waiting on them and need to get this site up.  Our thoughts now are that something with Telerik is missing from the production server (something outside the project folder, like in a Program Files or Windows folder) or that something in IIS is preventing axd files from being used.  Does anyone out there with Telerik in IIS recognize this problem?  How do we resolve it?</p>
  
  <p>Here is the test site where the buttons are rendered correctly:
  <a href="https://i.stack.imgur.com/chi0q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/chi0q.png" alt="enter image description here"></a></p>
  
  <p>Here is the production site where the buttons are not rendered correctly:
  <a href="https://i.stack.imgur.com/wvfw0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wvfw0.jpg" alt="enter image description here"></a></p>
  
  <p>Here is the error we're getting the production site:
  <a href="https://i.stack.imgur.com/hKhJD.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hKhJD.jpg" alt="enter image description here"></a></p>
  
  <p>Here is the text of the error if that picture is too small:</p>
  
  <blockquote>
    <p>Failed to load resource: the server responded with a status of 404 (Not Found)
    <a href="https://productionserver.com/WebResource.axd?d=dQ7gIaUlai3Z6U6rB3cRtOju4Bf1ReI3NFQN1mDwBRI0Q8BgW2h0xmppfMvidQSupNjZstrIfis4ClWbr3HyGn8paOvGU-zyEe2WESslWKjab9mEEnnjb-TympWmJzzpblolb7WlI-6yfnyWTQfAcQ0r7_q2C0pbHfF8BVnib-I1&amp;t=635416927080000000" rel="nofollow noreferrer">https://productionserver.com/WebResource.axd?d=dQ7gIaUlai3Z6U6rB3cRtOju4Bf1ReI3NFQN1mDwBRI0Q8BgW2h0xmppfMvidQSupNjZstrIfis4ClWbr3HyGn8paOvGU-zyEe2WESslWKjab9mEEnnjb-TympWmJzzpblolb7WlI-6yfnyWTQfAcQ0r7_q2C0pbHfF8BVnib-I1&amp;t=635416927080000000</a></p>
  </blockquote>
  
  <p>Here is the handler mapping in IIS showing that axd files are set up:
  <a href="https://i.stack.imgur.com/wAAh1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wAAh1.jpg" alt="enter image description here"></a></p>
  
  <p>Here are the sections of the web.config that refer to Telerik and the WebResource.axd file:</p>
  
  <pre><code>&lt;httpHandlers&gt;
      &lt;add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" /&gt;
      &lt;add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" /&gt;
      &lt;add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" /&gt;
      &lt;add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /&gt;
      &lt;add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" /&gt;
      &lt;add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /&gt;
  &lt;/httpHandlers&gt;
  
  &lt;handlers&gt;
    &lt;remove name="ChartImage_axd" /&gt;
    &lt;add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*"    type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/&gt;
    &lt;add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" /&gt;
    &lt;remove name="Telerik_Web_UI_SpellCheckHandler_axd" /&gt;
    &lt;add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" /&gt;
    &lt;remove name="Telerik_Web_UI_DialogHandler_aspx" /&gt;
    &lt;add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" /&gt;
    &lt;remove name="Telerik_RadUploadProgressHandler_ashx" /&gt;
    &lt;add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" /&gt;
    &lt;remove name="Telerik_Web_UI_WebResource_axd" /&gt;
    &lt;add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" /&gt;
  &lt;/handlers&gt;
  </code></pre>
  
  <p><strong>* Update 1 *</strong>
  Found some more information that might be useful.  The line that references WebResource.axd is:</p>
  
  <pre><code> &lt;link class='Telerik_stylesheet' type='text/css' rel='stylesheet' href='/WebResource.axd?d=oX7CVk8ieCqIm63GoqTn4pmChsM38l8-CqErNwBJK8bndDqbHfRL40riATcdts1t9WiNUwUdjINvesIa4uZisbBNhlldez1zIrFgnbzURY14adI59cmhQIUPb-zfBWhYQZrZZY8a1gGIfBfyuWSR6w2&amp;amp;t=635416927080000000' /&gt;&lt;link class='Telerik_stylesheet' type='text/css' rel='stylesheet' href='/WebResource.axd?d=dQ7gIaUlai3Z6U6rB3cRtOju4Bf1ReI3NFQN1mDwBRI0Q8BgW2h0xmppfMvidQSupNjZstrIfis4ClWbr3HyGn8paOvGU-zyEe2WESslWKjab9mEEnnjb-TympWmJzzpblolb7WlI-6yfnyWTQfAcQ0r7_q2C0pbHfF8BVnib-I1&amp;amp;t=635416927080000000' /&gt;
  </code></pre>
  
  <p>On the test site (where it's working) it references <a href="http://testsite.com/WebResource.axd" rel="nofollow noreferrer">http://testsite.com/WebResource.axd</a>....</p>
  
  <p>On the production site, this is where the 404 error comes in.</p>