locked
AjaxFileUpload Issue RRS feed

  • Question

  • User-2041663012 posted

    I get the following error:

    Error: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.
    Parameter name: data
    ScriptResource.axd:16:15
    POST
    XHR
    http://localhost:49500/AjaxFileUploadHandler.axd [HTTP/1.1 200 OK 96ms]
    no element foundAjaxFileUploadHandler.axd:1:1
    POST
    XHR
    http://localhost:49500/Inventory_List.aspx [HTTP/1.1 200 OK 123ms]
    Error: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.
    Parameter name: data

    I have successfully implemented the Ajaxfileupload on another web form within my website and I don't understand why it doesn't work within this web form.

    I believe the only difference between the Web forms is that the one that doesn't work actually has a query string.

    Any help would be greatly appreciated

    Monday, November 14, 2016 8:05 PM

All replies

  • User-1838255255 posted

    Hi Sean17,

    According to your description, as far as I know, this a "bug" of control. It appends query string parameters but assumes there are no existing parameters.

    There are details and a fix here: 

    https://ajaxcontroltoolkit.codeplex.com/workitem/27149  (involves changing the source and rebuilding the toolkit)

    Best Regards,

    Eric Du

    Tuesday, November 15, 2016 2:07 AM