Ajax return works fine in local, but returns blank when hosted
Url ="/Order/Save"
parms=json string
$.ajax({
type: "POST",
async: false,
url: Url,
dataType: "json",
data: {data: parms.getJSON()},
success: function (data) {
valuesReturned = data;
},
complete: function () { },
error: function (req, status, error) {
return error;
}
});
when tried to catch execption from ajax the error I get is--
A circular reference was detected while serializing an object of type 'System.Reflection.RuntimeModule'
when checked at server side , its hitting the server, but the data received is blank
Kindly do the needful.
regards