Ne arayalım?

ARAMIZA KATILIN

BİZE ULAŞIN

Adres:

E-posta:

host/bin/bilisimlife.dll

iletisim@bilisimlife.net




 
Rserit
Developer
       
 1026  
 278

JavaScriptSerializer maxJsonLength exeeded Hatası

Selamlar,
WebMethod request işlemlerinde maxJsonLength exeeded hatası almanız takdirde web.config dosyanıza şu yapılandırmayı yapmalısınız:

< configuration >
< system.web.extensions >
< scripting >
< webServices >
< jsonSerialization maxJsonLength="2147483647" / >
< / webService s>
< / scripting >
< / system.web.extensions >
< / configuration >

Umarım işinizi çözer.

Bu gönderiyi 12.12.2018 17:07:16 tarihinde Rserit düzenledi.

Developer.


 
Rserit
Developer
       
 1026  
 278

MVC'de farklı bir çözüm daha var:

var _getResult = Json(dataTableData, JsonRequestBehavior.AllowGet);
_getResult.MaxJsonLength = int.MaxValue;
return _getResult;

Developer.