400错误的请求上传图片(800kb) [英] 400 Bad Request Uploading Images (800kb)

查看:83
本文介绍了400错误的请求上传图片(800kb)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在应用程序中使用文件上传控件,但在上传800kb图像时出现400错误的请求,请给我

I am using File Upload control in my application,but its give error as 400 bad request while uploading 800kb images, plz help me

推荐答案

我的第一步请检查您的http请求长度.

My first step would be to check your http request length.

<httpruntime executiontimeout="90" maxrequestlength="20000" usefullyqualifiedredirecturl="false" requestlengthdiskthreshold="8192" />



其次,可能存在安全性问题.

http://forums.asp.net/t/1775048.aspx/1 [ ^ ]



Secondly there may be an issue with security.

http://forums.asp.net/t/1775048.aspx/1[^]


这篇关于400错误的请求上传图片(800kb)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆