Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file. Please, use the control's Smart Tag to add the handler automatically.

4 posts, 0 answers
  1. Abhi Shinde
    Abhi Shinde avatar
    56 posts
    Member since:
    May 2010

    Posted 17 Aug 2012 Link to this post

    Hello,
    I am getting foll. error on click of rad editor's "Hyperlink Manager".

    "Web.config registration missing!
     The Telerik dialogs require a HttpHandler registration in the web.config file. Please, use the control's Smart Tag to add the handler automatically, or see the help for more information: Controls > RadEditor > Dialogs > Introduction"

    Server IIS version = 7.0
    Telerik DLL version = Version=2010.3.1215.35

    Please check my web.config -

    <system.webServer>
            <validation validateIntegratedModeConfiguration="false"/>
            <modules>
                <remove name="ScriptModule"/>
                <remove name="RadUploadModule"/>
                <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode,runtimeVersionv2.0"/>
                <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
            </modules>
            <handlers>
                <remove name="ChartImageHandler"/>
                <remove name="ChartImage_axd"/>
                <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                <remove name="WebServiceHandlerFactory-Integrated"/>
                <remove name="ScriptHandlerFactory"/>
                <remove name="ScriptHandlerFactoryAppServices"/>
                <remove name="ScriptResource"/>
                <remove name="Telerik_Web_UI_SpellCheckHandler_axd"/>
                <remove name="Telerik_Web_UI_DialogHandler_aspx"/>
                <remove name="Telerik_RadUploadProgressHandler_ashx"/>
                <remove name="Telerik_Web_UI_WebResource_axd"/>
                <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_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
                <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
                <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
                <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
                <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
     
            </handlers>
     <rewrite>
                <rules>
                    <rule name="RewriteASPX">
                        <match url="(.*)" />
                        <conditions logicalGrouping="MatchAll">
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                            <add input="{URL}" pattern="WebResource.axd" negate="true"/>
                            <add input="{URL}" pattern="ScriptResource.axd" negate="true"/>
                            <add input="{URL}" pattern=".js" negate="true"/>
                        </conditions>
                        <action type="Rewrite" url="memberlogin.aspx?member={R:0}" />
                    </rule>
                </rules>
            </rewrite>


        </system.webServer>

    <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="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2010.3.1215.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
               <add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
     
     
               <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
               <add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>
               <add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>
               <add verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
               <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>
           </httpHandlers>
           <httpModules>
               <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
               <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
               <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
               <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
     
           </httpModules>
  2. Rumen
    Admin
    Rumen avatar
    14010 posts

    Posted 17 Aug 2012 Link to this post

    Hi,

    Can you please remove the runtimeVersionv2.0 from the dialog handlers, e.g.

    <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />

    If this does not help, open the web.config file and replace Telerik.Web.UI.DialogHandler.aspx with Telerik.Web.UI.DialogHandler.axd
    and set the DialogHandlerUrl property to "~/Telerik.Web.UI.DialogHandler.axd"

    as suggested in the following article: Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file.

    All the best,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Abhi Shinde
    Abhi Shinde avatar
    56 posts
    Member since:
    May 2010

    Posted 17 Aug 2012 Link to this post

    Hi Rumen,

    i got the issue....
    That is not working because of URL rewrite.

    I have fixed that by adding foll. code in <rewrite> web.config

    <add input="{URL}" pattern="Telerik.Web.UI.DialogHandler.aspx" negate="true" />
    <add input="{URL}" pattern="Telerik.Web.UI.WebResource.axd" negate="true" />

    full code -
    <rewrite>
               <rules>
                   <rule name="RewriteASPX">
                       <match url="(.*)" />
                       <conditions logicalGrouping="MatchAll">
                           <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                           <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                           <add input="{URL}" pattern="WebResource.axd" negate="true"/>                       
                           <add input="{URL}" pattern="ScriptResource.axd" negate="true"/>
                           <add input="{URL}" pattern="Telerik.Web.UI.DialogHandler.aspx" negate="true" />
                           <add input="{URL}" pattern="Telerik.Web.UI.WebResource.axd" negate="true" />
                           <add input="{URL}" pattern=".js" negate="true"/>
                       </conditions>
                       <action type="Rewrite" url="memberlogin.aspx?member={R:0}" />
                   </rule>
               </rules>
           </rewrite>
            
       </system.webServer>




  4. Tien
    Tien avatar
    1 posts
    Member since:
    Aug 2012

    Posted 14 Nov 2012 Link to this post

    Thank a lot!
Back to Top