HTTP 500.Error processing request.

  • Hello,

    When I want to edit the core scripts, I have the following message:
    Description: HTTP 500.Error processing request.

    Details: Request validation detected a potentially dangerous input value from the client and aborted the request. This might be an attemp of using cross-site scripting to compromise the security of your site. You can disable request validation using the 'validateRequest=false' attribute in your page or setting it in your machine.config or web.config configuration files. If you disable it, you're encouraged to properly check the input values you get from the client.<br>
    You can get more information on input validation <a href="">here</a>.
    Exception stack trace:
    at System.Web.HttpRequest.ThrowValidationException (System.String name, System.String key, System.String value) [0x00041] in <843cde98ab8b40878319d3e0f2707fbc>:0
    at System.Web.HttpRequest.ValidateNameValueCollection (System.String name, System.Collections.Specialized.NameValueCollection coll, System.Web.Util.RequestValidationSource source) [0x00053] in <843cde98ab8b40878319d3e0f2707fbc>:0
    at System.Web.HttpRequest.get_Form () [0x00025] in <843cde98ab8b40878319d3e0f2707fbc>:0
    at System.Web.UI.Page.DeterminePostBackMode () [0x0003a] in <843cde98ab8b40878319d3e0f2707fbc>:0
    at System.Web.UI.Page.InternalProcessRequest () [0x0001b] in <843cde98ab8b40878319d3e0f2707fbc>:0
    at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x0005f] in <843cde98ab8b40878319d3e0f2707fbc>:0
    Version Information: (2017-02/5077205 Thu May 25 09:19:18 UTC 2017); ASP.NET Version: 4.0.30319.42000

    Thank you for your help.

  • That is strange, what OS did you install on? You can edit them directory from the filesystem, in the application or api private scripts folder

  • I am on ubuntu 16.04.3 LTS Server
    I followed your procedure very well explained on the update of 1.2 to 1.3

    Yes, I already edit the script from the directory:

    Mais nano n'est pas aussi pratique que votre interface web.

  • Must be a bug with mono, i'll look into it. Works fine when installed on Windows. For now just edit them in the filesystem.

  • Sorry, I just realized that I wrote in French.
    Your web interface is very useful for editing script files.

  • I believe it's a simple fix in web.config. I'll post a fix a little later.

  • Thank you very much for your availability and your help.

  • Easy fix.

    Open Web.config in the frontend folder, not the api folder.
    [code]<httpRuntime targetFramework="4.5" />[/code]
    Change it to
    [code]<httpRuntime targetFramework="4.5" requestValidationMode="2.0" />[/code]
    Restart apache

  • it works, it's perfect.
    Thank you