wcf data services - Failed to load resource: the server responded with a status of 500 (Internal Server Error) in ajax call -


here iam using wcf service url bind json data slickgrid , shows error failed load resource: server responded status of 500 (internal server error) when click on link next error message works can 1 me whats exact problem here , code

                $.ajax({                 url: "http://localhost:4789/service1.svc",                 contenttype: "application/json;charset=utf-8",                 type: "post",                 data: "{}",                 datatype: "json",                  error: function (jqxhr, textstatus, errorthrown) {                     console.log(jqxhr);                 },                 success: function (data) {                     slickdata = data.d;                     var obj = json.parse(slickdata);                     grid = new slick.grid("#teamgrid", obj, columns, options); 


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -