一: 在程序的web.config 中system.web 節點 里面插入
<httpRuntime maxRequestLength="999999999" maxQueryStringLength="2097151" />
二:在程序的web.config 中sconfiguration 節點 里面插入
<system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="2147483647" maxQueryString="2147483647"/> </requestFiltering> </security> </system.webServer>
這里主要是通過配置WebConfig,來提高程序的接受數據量大小。
如果不嚴謹可以將Get請求轉為POST請求也可以解決。