到达request.form时完全失败 [英] Complete failure when reaching request.form

查看:72
本文介绍了到达request.form时完全失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个非常严重的问题,这完全使我难过.

I have a super serious issue which has completely stumped me.

我正在使用最大允许的内容长度"中的IIS值,该值可以在(Windows 7上的IIS 7.0)IIS>请求筛选>右键单击空白>编辑功能设置中看到.我将其设置为300亿,以尝试上传大文件,然后重新启动IIS.

I was playing with the IIS value in 'Maximum allowed content length' which can be seen in (IIS 7.0 on windows 7) IIS > Request filtering > right click white space > Edit feature settings. I set this to 30 billion to experiment with uploading large files then restarted IIS.

现在,所有我的系统都可以正常工作,直到提交表单为止.单击提交按钮后,目标页面就会加载,并显示以下错误:

Now ALL my systems work until a form is submitted. The moment the submit button is clicked the destination page loads with this error:

请求对象错误'ASP 0104:80004005'

Request object error 'ASP 0104 : 80004005'

不允许操作

/SERS/OHSIndex.asp,第20行

/SERS/OHSIndex.asp, line 20

第20行的代码只是request.form-我去的行号将更改为第一个request.form的行.

The code on line 20 is simply request.form - where ever I go the line number will change to which ever line the first request.form is.

因此,我将此最大允许内容长度"设置回30000000字节,并进行了完全重新启动.我的问题仍然存在.希望有人知道如何解决这个问题,我完全陷入了困境,我的所有系统都无法运行.帮助.

So I set this 'Maximum allowed content length' back to 30000000 Bytes and did a full re-start. My issue is still there. Hopefully someone knows how to solve this, I am completely stuck and all of my systems are inoperable. Help..

推荐答案

谢谢大家的时间和想法.正如我说的那样,这对我来说是个完整的表演障碍,只需尽快修复.经过几个小时的研究,我得出的结论是我遇到了一个非常棘手的问题,因为我找不到任何人遇到同样的问题.错误表明它与fileSize,maxEntity,超出表单控制限制,超过表单限制等有关....嗯,这根本不是其中的任何一个.当我设置一个异常高的最大允许内容长度"值并重新启动IIS时,它以无法恢复的大方式跳闸了一些东西.一个灯泡瞬间说需要卸载IIS,然后重新安装它们.这确实解决了.

Thank you all for your time and ideas. As I said this was a complete show stopper for me, it simply had to be fixed ASAP. After several hours of research I came to the conclusion I had a very rear issue since I could not find anybody having the same issue. The error indicating it was something to do with fileSize, maxEntity, exceeding form control limit, exceeding the limit for a form etc..... Well it simply was not any of those. When I set an unusually high 'Maximum allowed content length' value and restarted IIS it tripped something out in a big way which could not be reverted. A light bulb moment said IIS needed to be uninstalled and them re-installed. This did fix it.

回答提出问题的好人:

没有使用enctype ='multipart/form-data'仅供参考.form和.querystring有问题

no enctype='multipart/form-data' was not being used FYI .form and .querystring were problematic

更改IIS中的最大允许内容长度"属性与编辑applicationHost.config文件相同,没有区别.但是,是的,我确实进行了检查,这些值与应有的值相同.正如我在原始帖子中所说的那样,将此值设置回默认的30MB(对于IIS 7)没有改变任何内容

changing the the 'Maximum allowed content length' property in IIS is the same as editing the applicationHost.config file, there is no difference. But yes I did check this, the values were the same as they should have been. As I said in my original post setting this value back to the default 30MB (for IIS 7)) did not chnage anything

200k是IIS 6的默认设置.我确实提到我在使用IIS 7.0,7.0的默认设置实际上是30mb.另外,该设置在IIS 7中不称为"AspMaxRequestEntityAllowed",其名为maxAllowedContentLength

200k is the default setting for IIS 6. I did mention I was using IIS 7.0, the default setting for 7.0 is actually 30mb. Also the setting is not called 'AspMaxRequestEntityAllowed' in IIS 7 its called maxAllowedContentLength

这篇关于到达request.form时完全失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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