jquery - IIS 10.0 Detailed Errr - 404.15 - NOT found -


i got error when tried add large value in text box , tried save . using ajax method. controller

public actionresult updatedatasetdetails(int workitemid, string datasetdatestamp, int cycle, string reference, string feed, string source, string target, int linestart, string extension, string note, int? filecontentid, string datafixes, int oldworkitemid) {     editdatasetvm editdatasetvm = new editdatasetvm();      //abandoning current work item, , logging error if there any.     if (oldworkitemid != 0)     {         actionerrors = _datasetservice.processdataset(new int[] { oldworkitemid }, 99, user.username); // 99 assigned in _state (static data marked) table processing abandoned         tempdata["message"] = actionerrors.tolist();     }     editdatasetvm.successmessage = this._datasetservice.updatedataset(workitemid, datasetdatestamp, cycle, reference, feed, source, target, user.identity.name, linestart, extension.tolower(), note, filecontentid, datafixes, oldworkitemid);     return json(editdatasetvm.successmessage.tostring()); } 

my ajax method

function updatedataset(workitemid, datasetdatestamp, cycle, reference, feed, source, target, linestart, extension, note, filecontentid, datafixes, oldworkitemid) {     $.ajax({         type: "get",         url: "/dataset/updatedatasetdetails",         contenttype: "application/json; charset=utf-8",         data: { "workitemid": workitemid, "datasetdatestamp": datasetdatestamp, "cycle": cycle, "reference": reference, "feed": feed, "source": source, "target": target, "linestart": linestart, "extension": extension, "note": note, "filecontentid": filecontentid, "datafixes": datafixes, "oldworkitemid": oldworkitemid },         datatype: "json",         success: function (data) {             if (data == "update succeeded") {                 $("#btnviewdataset").click();             }             else {                 $("div.toshow").show();                 $('#lblupdatedatasetresult').html('following error(s) occured:<br\>' + data);             }         },         error: function (xhr, status, error) {             alert(xhr.responsetext);         }     }); } 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -