Web服務(wù)器上的請求篩選被配置為拒絕該請求,因為內(nèi)容長度超過配置的值
當(dāng)前位置:點晴教程→點晴OA辦公管理信息系統(tǒng)
→『 經(jīng)驗分享&問題答疑 』
asp.net 網(wǎng)站上傳文件超過4M時會出現(xiàn) Web 服務(wù)器上的請求篩選被配置為拒絕該請求,因為內(nèi)容長度超過配置的值 的錯誤。 解決方案:
<system.web> <httpRuntime maxRequestLength="4096" /> </system.web> <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="30000000" /> </requestFiltering> </security> </system.webServer> 備注:
該文章在 2019/12/17 15:37:29 編輯過 |
關(guān)鍵字查詢
相關(guān)文章
正在查詢... |