ryq 2006-8-29 10:54
007~ASP 0107~堆栈溢出~处理中的数据超过允许的极限。
我用1.6F版新建一篇新的文章,内容是很长的纯文本(6万字左右),然后提交就报以下错误,希望修正!
错误原因:未知错误
ID:-2147467259
摘要:
007~ASP 0107~堆栈溢出~处理中的数据超过允许的极限。
请求对象
zx.asd 2006-8-31 17:24
[quote]我们以前遇到过这种情况,Request.Form提交的数据太多了,导致IIS报告异常“堆栈溢出. 处理中的数据超过允许的极限”。这是因为iis默认设置中最大只能接受200K的内容。是这里造成的原因。
IIS6 可以做以下调整。
先在服务里关闭iis admin service服务
找到windows\system32\inesrv\下的metabase.xml,
打开,找到ASPMaxRequestEntityAllowed 把他修改为需要的值,默认为204800,即200K
然后重启iis admin service服务
把它修改为51200000(50M)
IIS5.0/4.0 在注册表内 -
Description of the MaxClientRequestBuffer Registry Value
Default Sizes in IIS 4 and 5
In IIS 4.0, the default maximum size of request line and header fields is 2 megabytes (MB).
In IIS 5.0, this is reduced to 128 kilobytes (KB).
In IIS 5.0 with Windows 2000 Service Pack 4 installed, this is reduced to 16 KB.[/quote]