This is a migrated thread and some comments may be shown as answers.

404 Not found error

2 Answers 651 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Travis
Top achievements
Rank 1
Iron
Travis asked on 09 Feb 2016, 11:15 PM

I am attempting to get the RadSpell control from the Q1 2016 release to work in my project, but thus far I keep getting a 404 error when clicking on the button. I used the smart tag for the RadSpell to add the appropriate HttpHandlers and what-not:

 

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

as well as the following to my web.config file:

<handlers>
<add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
</handlers>

However, every time I try to click the button I get a 404 for the following RequestUrl:

http://localhost:59087/Telerik.Web.UI.DialogHandler?DialogName=SpellCheckDialog&renderMode=2&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BF0wxRRIaFHsRXAVFJRQhZH1%2Bf215Rn0BeDNXGhpKBR8hS2UhIBkmZi8eZEwOTEZ9eGAqQiQgKXozfD5HIXcPE2FCf1EsGVUSdyFkPyxPG2gIfmocIAkmZRY%2BbhECbnFFZEokRSQ9KHsvcjxHIXYPT3FBcn0wfWIvWh9kPjBHHh4QDmocJ3shAR0SZHooanVvQggpeA1aKGlYfwssIW4QZX1LdW8eZXwTaBJgOBJMKw01DWondRkIAA0OZE8kTXIaSlcreyg9LHsjYj0zB3UPT3IAcFErH1IoUgN7FjhoHx4MDGQndQknEmpxbREka0JFdEkqeBIlLBxcaA8gRxYQZEdbQn0kXFMpZCJQBBZOLRwHS2EnAj0mZQo0emE7GQ%3D%3D

I can't for the life of me figure out what I've done wrong. I know it has to be some configuration issue, because I can create a Telerik Web Forms app and drop the RadSpell control, click it and it works fine.

Thanks in advance for any help.

2 Answers, 1 is accepted

Sort by
0
Travis
Top achievements
Rank 1
Iron
answered on 10 Feb 2016, 08:43 PM

As I noted in my original post, I was having an issue getting the spell check dialog to work in my ASP.NET project, but it works fine in a Telerik ASP.NET Web Forms project. I have since tested this in a newly created and essentially empty (other than what VS creates for me) ASP.NET Web Forms project using the 4.5.2 Framework and Individual User Account authentication (the OWIN stuff). I simply added a RadTextBox and RadSpell controls to the Contact page and used the smart tag on the RadSpell to generate the HttpHandlers which it does. However, when I run this new project and click the RadSpell button I get the same 404 error as I get in my project.

So, this is not something limited to my project per se: rather it seems to be an issue with a configuration difference between an ASP.NET Web Forms project vs a Telerik ASP.NET Web Forms project.

Any help or guidance here would be greatly appreciated.

P.S. If necessary I can attach the newly created ASP.NET solution or project source to help speed this process along if it's needed.

0
Danail Vasilev
Telerik team
answered on 12 Feb 2016, 03:23 PM
Hello Travis,

I have already replied to the support ticket that was opened by you on the matter, so that I paste my answer as follows:

I would suggest that you try the following:
     - Ensure you have followed the steps for configure the spell from this article - http://docs.telerik.com/devtools/aspnet-ajax/controls/spell/getting-started
     - See how the spell and the webresource handlers should look like here - http://docs.telerik.com/devtools/aspnet-ajax/general-information/web-config-settings-overview#mandatory-additions-to-the-webconfig
     - The following article treats the "404  error code" issue  - http://docs.telerik.com/devtools/aspnet-ajax/general-information/troubleshooting/web-resources-troubleshooting#dealing-with-the-404-error-code-the-requested-url-was-not-found
      - Examine this forum post (http://www.telerik.com/forums/radspell-web-config-404-error#xquGbOZ4aUSY_07LCbuuew) that treats the exact issue with the spell.

If the information from the above resource doesn't help it would be better to reproduce the issue in a runnable sample and then provide it back to us, so that we can proceed further with the investigation.

Regards,
Danail Vasilev
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Spell
Asked by
Travis
Top achievements
Rank 1
Iron
Answers by
Travis
Top achievements
Rank 1
Iron
Danail Vasilev
Telerik team
Share this question
or