Web服務(wù)器上的請(qǐng)求篩選被配置為拒絕該請(qǐng)求,因?yàn)閮?nèi)容長(zhǎng)度超過(guò)配置的值
asp.net 網(wǎng)站上傳文件超過(guò)4M時(shí)會(huì)出現(xiàn) Web 服務(wù)器上的請(qǐng)求篩選被配置為拒絕該請(qǐng)求,因?yàn)閮?nèi)容長(zhǎng)度超過(guò)配置的值 的錯(cuò)誤。 解決方案:
<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ò) |
關(guān)鍵字查詢
相關(guān)文章
正在查詢... |