问题描述
我遇到使用ajax请求读取大数据的问题:从javascript到C#。
注意:
1-我设置为maxRequestLength =52428800和maxAllowedContentLength =52428800
2-请求成功处理普通数据。
我仍然得到:500(内部服务器错误)的大数据案例。对于小的或正常的数据大小,每件事都可以。
我尝试了什么:
1-我设置为maxRequestLength =52428800和maxAllowedContentLength =52428800
2-请求成功处理正常数据。
I faced issue with reading large data using ajax request: from javascript to C#.
Notes :
1- I have set to maxRequestLength="52428800" and maxAllowedContentLength="52428800"
2- The request worked successfully for normal data.
And I still get: 500 (Internal Server Error) for large data case. And every thing is okay for small or normal data size.
What I have tried:
1- I have set to maxRequestLength="52428800" and maxAllowedContentLength="52428800"
2- The request worked successfully for normal data.
推荐答案
这篇关于无法从.NET控制器读取大数据大小$ .ajax的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!