Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Spell > RadSpell Web.config 404 error

Answered RadSpell Web.config 404 error

Feed from this thread
  • Stephen avatar

    Posted on Jan 18, 2012 (permalink)

    I looked through the forums but I was unable to find a solution to my issue with RadSpell. We are currently running IIS 6 and I think this issue appeared after moving to .NET 4.0 and enabling MVC. The version of Telerik is 2010.1.519.35.

    When I click on the spell check button, the following dialog popup appears:

    Web.config registration missing!
    The spellchecking functionality requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information.

    Telerik.Web.UI.SpellCheckHandler.axd


    The Chrome debug shows an HTTP 404 error for:

    Requested URL: /Web/Telerik.Web.UI.SpellCheckHandler.axd


    The Web.config file shows:

            <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" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
                <add verb="*" validate="false" path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>
                <add verb="*" validate="false" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI"/>
            </httpHandlers>
            <handlers/>


    Does anyone know how to fix this config issue?

    Thanks!

    Reply

  • Answer Rumen Rumen admin's avatar

    Posted on Jan 20, 2012 (permalink)

    Hi,

    Can you please set the

    AjaxUrl="/Telerik.Web.UI.SpellCheckHandler.axd"

    property to the RadSpell declaration and test again.

    If you use RadSpell in RadEditor set SpellCheckSettings-AjaxUrl="/Telerik.Web.UI.SpellCheckHandler.axd", e.g.

    <telerik:RadEditor ID="RadEditor1" SpellCheckSettings-AjaxUrl="/Telerik.Web.UI.SpellCheckHandler.axd" DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd" runat="server">
    </telerik:RadEditor>


    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

    Reply

  • Stephen avatar

    Posted on Jan 20, 2012 (permalink)

    It works great - thanks!

    Reply

  • Posted on Jan 30, 2012 (permalink)

    I'm having the same problem with the spell checker. I get the error message about "Web.config registration missing! "

    I deleted the entry in my web.config that has the handler and the smart tag option reappeared. Clicked it to add http handlers. Then added the suggested AjaxURL but I'm still getting that error.

    I've update my project to the latest version today (before attempting to use the spell check in my project), so I should have the most recent version.

    What else could be causing this message to show up?

    Reply

  • Rumen Rumen admin's avatar

    Posted on Jan 31, 2012 (permalink)

    Hello,

    Open the web.config file and check whether you have runtimeVersionv2.0 in the handler:

    <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>

    It should be changed to:

    <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode"/>


    Greetings,
    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

    Reply

  • Posted on Jan 31, 2012 (permalink)

    Nope. My config looks like the second one without the runtimeVersion

    Reply

  • Rumen Rumen admin's avatar

    Posted on Jan 31, 2012 (permalink)

    Hello,

    Try the following:

    in the RadSpell declaration:
    <telerik:RadSpell ID="RadSpell1" runat="server" AjaxUrl="~/Telerik.Web.UI.SpellCheckHandler.ashx" HandlerUrl="~/Telerik.Web.UI.DialogHandler.axd" ControlsToCheck="TextBox1" />

    and in the web.config file register the handlers as follows:

    <httpHandlers>
    <add path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
    <add path="Telerik.Web.UI.SpellCheckHandler.ashx" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>

    </httpHandlers>

    ...

    <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
    <validation validateIntegratedModeConfiguration="false"/>
    <handlers>
    <add name="Telerik_Web_UI_DialogHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler"/>
    <add name="Telerik_Web_UI_SpellCheckHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.ashx" type="Telerik.Web.UI.SpellCheckHandler"/>
    </handlers>
    </system.webServer>


    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

    Reply

  • Posted on Jan 31, 2012 (permalink)

    Thank you. That seemed to fix the problem. 

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Spell > RadSpell Web.config 404 error
Related resources for "RadSpell Web.config 404 error"

ASP.NET Spell Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer Step-by-step Tutorial  ]