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

Showing "Spell Check Handler Server Error:500" in Firefox Browser

2 Answers 100 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Karthik
Top achievements
Rank 1
Karthik asked on 17 Apr 2012, 12:12 PM
I have using telerik spell checking. In the IE its working fine but in the firefox showing  error - "Spell Check Handler Server Error:500".

The following step I have try.
I have created RadSpell folder in App_Data

I have included in Web.Config file
<httpHandlers>
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" validate="false" />
<add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
</httpHandlers>

and

 

 

 

 

<system.webServer>
  
<modules runAllManagedModulesForAllRequests="true" />
  
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
<add name="ChartImage.axd_*" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler" preCondition="integratedMode" />
<add name="Telerik.Web.UI.SpellCheckHandler.axd_*" path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler" preCondition="integratedMode" />
<add name="Telerik.Web.UI.DialogHandler.aspx_*" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" preCondition="integratedMode" />
<add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode" />
</handlers>
  
</system.webServer>


In the Bin folder I have included the following DLL
Telerik.Web.Design.dll
Telerik.Web.UI.dll


Error Showing in alertbox:

Spell Check Handler Server Error:500

<html>
  
    <head>
  
        <title>A potentially dangerous Request.Form value was detected from the client (CommandArgument="...roke. sfd <br>").</title>
  
        <style>
  
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
  
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
  
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
  
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
  
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
  
         pre {font-family:"Lucida Console";font-size: .9em}
  
         .marker {font-weight: bold; color: black;text-decoration: none;}
  
         .version {color: gray;}
  
         .error {margin-bottom: 10px;}
  
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
  
        </style>
  
    </head>
  
   
  
    <body bgcolor="white">
  
   
  
            <span><H1>Server Error in '/EmailMarketing' Application.<hr width=100% size=1 color=silver></H1>
  
   
  
            <h2> <i>A potentially dangerous Request.Form value was detected from the client (CommandArgument="...roke. sfd <br>").</i> </h2></span>
  
   
  
            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
  
   
  
            <b> Description: </b>Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted.  This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack.  To allow pages to override application request validation settings, set the requestValidationMode attribute in the httpRuntime configuration section to requestValidationMode="2.0". Example: <httpRuntime requestValidationMode="2.0" />. After setting this value, you can then disable request validation by setting validateRequest="false" in the Page directive or in the <pages> configuration section.  However, it is strongly recommended that your application explicitly check all inputs in this case.  For more information, see http://go.microsoft.com/fwlink/?LinkId=153133.
  
            <br><br>
  
   
  
            <b> Exception Details: </b>System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (CommandArgument="...roke. sfd <br>").<br><br>
  
   
  
            <b>Source Error:</b> <br><br>
  
   
  
            <table width=100% bgcolor="#ffffcc">
  
               <tr>
  
                  <td>
  
                      <code>
  
   
  
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
  
   
  
                  </td>
  
               </tr>
  
            </table>
  
   
  
            <br>
  
   
  
            <b>Stack Trace:</b> <br><br>
  
   
  
            <table width=100% bgcolor="#ffffcc">
  
               <tr>
  
                  <td>
  
                      <code><pre>
  
   
  
[HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from the client (CommandArgument="...roke. sfd <br>").]
  
   System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) +8730676
  
   System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, RequestValidationSource requestCollection) +122
  
   System.Web.HttpRequest.get_Form() +114
  
   Telerik.Web.UI.SpellCheckHandler.ProcessRequest(HttpContext context) +187
  
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
  
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
  
</pre></code>
  
   
  
                  </td>
  
               </tr>
  
            </table>
  
   
  
            <br>
  
   
  
            <hr width=100% size=1 color=silver>
  
   
  
            <b>Version Information:</b> Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
  
   
  
            </font>
  
   
  
    </body>
  
</html>
  
<!-- 
  
[HttpRequestValidationException]: A potentially dangerous Request.Form value was detected from the client (CommandArgument="...roke. sfd <br>").
  
   at System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection)
  
   at System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, RequestValidationSource requestCollection)
  
   at System.Web.HttpRequest.get_Form()
  
   at Telerik.Web.UI.SpellCheckHandler.ProcessRequest(HttpContext context)
  
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
  
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
  
--><!-- 
  
This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.-->

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 19 Apr 2012, 02:56 PM
Hello,

You can see the following forum thread on the subject: Spell Check Handler Server Error: 500.

Regards,
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.
0
Karthik
Top achievements
Rank 1
answered on 30 Apr 2012, 10:11 AM
Thanks for your reply

I have fixed this problem. I have included below code in web.config file

<httpRuntime requestValidationMode="2.0" />

Tags
Spell
Asked by
Karthik
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Karthik
Top achievements
Rank 1
Share this question
or