Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a web service to send email, when i send it small message it send successfully.
If i send a lot of date in the message it return with Fault in sending email, I try to set maxJsonLength="500000000" in web config, but still there is error.
Could you please help me in this situation.

var wsUrl = "URL";
           $.ajax({
               url: wsUrl,
               data: {

               },
               dataType: "jsonp",
               contentType: "application/json",
               success: function (json) {

               },
               error: function (e) {

               }
           });


I use this code to consume web service.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900