ASP“不允许操作"; eecute Request.Form方法时发生错误 [英] ASP "Operation not Allowed" error occured while eecute Request.Form method

查看:104
本文介绍了ASP“不允许操作"; eecute Request.Form方法时发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经运行以下脚本来增加要上传的文件大小 E:\ inetpub \ adminscripts cscript adsutil.vbs设置w3svc/ASPMaxRequestEntityAllowed大小

I have run the following script for increase the file size for upload E:\inetpub\adminscripts cscript adsutil.vbs set w3svc/ASPMaxRequestEntityAllowed size

运行命令后.出现此错误...

After running the command.I am getting this error...

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

Request object error 'ASP 0104 : 80004005'

不允许操作

/ewqms370/common/indexintermediate.asp,第63行

/ewqms370/common/indexintermediate.asp, line 63

...此处的代码:

strUserName = Replace(Request.Form("txtUserName"),'",''")

strUserName=Replace(Request.Form("txtUserName"),"'","''")

任何人都能看到错误的地方吗?

Can anyone see something wrong???

推荐答案

您将AspMaxRequestEntityAllowed属性设置为什么值?请记住,应在 bytes 中指定它,因此您可能需要仔细检查.可能值得打开您的配置数据库文件,以确保脚本相应地更新了设置.在IIS6上,您可以打开位于c:\ Windows \ System32 \ Inetsrv的metabase.XML,找到"AspMaxRequestEntityAllowed"行以再次检查.

What value did you se the AspMaxRequestEntityAllowed property to? Remember that this should be specified in bytes so you may want to double check this. It would probably be worthwhile to open up your metabase file to ensure your script updated the setting accordingly. On IIS6 you can open metabase.XML which is located in c:\Windows\System32\Inetsrv find the line "AspMaxRequestEntityAllowed" to double check this.

AspMaxRequestEntityAllowed指定ASP请求的实体主体中允许的最大字节数.如果存在Content-Length标头,并且指定的数据量大于AspMaxRequestEntityAllowed的值,则IIS返回错误响应.此属性在功能上与MaxRequestEntityAllowed相关,但特定于ASP请求.

AspMaxRequestEntityAllowed specifies the maximum number of bytes allowed in the entity body of an ASP request. If a Content-Length header is present and specifies an amount of data greater than the value of AspMaxRequestEntityAllowed, IIS returns an error response. This property is related in function to MaxRequestEntityAllowed, but is specific to an ASP request.

MSDN中的正式文档:

Official documentation in MSDN: AspMaxRequestEntityAllowed Metabase Property (IIS 6.0)

这篇关于ASP“不允许操作"; eecute Request.Form方法时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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