Web服務器上的請求篩選被配置為拒絕該請求,因為內容長度超過配置的值
asp.net 網站上傳文件超過4M時會出現(xiàn) Web 服務器上的請求篩選被配置為拒絕該請求,因為內容長度超過配置的值 的錯誤。 解決方案:
<system.web> <httpRuntime maxRequestLength="4096" /> </system.web> <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="30000000" /> </requestFiltering> </security> </system.webServer> 備注:
該文章在 2019/12/17 15:37:29 編輯過 |
關鍵字查詢
相關文章
正在查詢... |