Image Manager 404 when deployed

2 posts, 0 answers
  1. Adrian Barnes
    Adrian Barnes avatar
    18 posts
    Member since:
    Dec 2009

    Posted 18 Feb 2010 Link to this post

    Image Manager dialog in the Editor works fine on my development machine.  When I upload to a development server (over which I have no control), I get a generic 404 error message (conveniently it doesn't tell me what page it's looking for).  Below are excerpts from my web.config.  Any ideas?  I tried the article on changing the extension from aspx to axd (http://www.telerik.com/community/forums/aspnet-ajax/editor/telerik-web-ui-dialoghandler-aspx-404.aspx), but I get the error that the dialogs need to be added to web.config if I do that.  Thanks!

    <system.web> 
        <httpHandlers> 
          <remove verb="*" path="*.asmx" /> 
          <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
          <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
          <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" /> 
          <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> 
          <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /> 
          <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" /> 
        </httpHandlers> 
    <system.web> 
     
     
     
      <system.webServer> 
        <validation validateIntegratedModeConfiguration="false" /> 
        <modules> 
          <remove name="ScriptModule" /> 
          <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
        </modules> 
        <handlers> 
          <remove name="WebServiceHandlerFactory-Integrated" /> 
          <remove name="ScriptHandlerFactory" /> 
          <remove name="ScriptHandlerFactoryAppServices" /> 
          <remove name="ScriptResource" /> 
          <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
          <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
          <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
          <add name="Telerik.Web.UI.WebResourcexxx" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2009.3.1208.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" /> 
          <add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" /> 
          <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" /> 
          <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" /> 
        </handlers> 
        <defaultDocument> 
          <files> 
            <remove value="index.html" /> 
            <remove value="index.htm" /> 
            <remove value="Default.asp" /> 
            <remove value="Default.htm" /> 
            <remove value="iisstart.htm" /> 
          </files> 
        </defaultDocument> 
      </system.webServer> 
  2. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 19 Feb 2010 Link to this post

    Hello Adrian,

    Please, try the fourth suggestion in this KB article:
    Error: Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file:

    1. open the web.config file and replace Telerik.Web.UI.DialogHandler.aspx with Telerik.Web.UI.DialogHandler.axd
    2. set the RadEditor's DialogHandlerUrl property to "~/Telerik.Web.UI.DialogHandler.axd"


    Greetings,
    Rumen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top