I recently installed Windows 2008 Server to replace a crashed hard drive on a web server with a variety of web pages including several classic ASP applications. One of these makes extensive use of file uploads using a com tool that has worked for several years.
我最近安装了Windows 2008 Server,用各种网页(包括几个经典的ASP应用程序)替换Web服务器上的崩溃硬盘。其中一个使用已经工作了几年的com工具广泛使用文件上传。
More information:
My users did not provide good information in that very small zips (65K) work once I tested it myself, but larger ones do not. I did not test for the cut-off, but 365K fails. And it is not only zip files after all. A 700K doc file failed also. ErrorCode 800a0035.
一旦我自己测试,我的用户就没有提供非常小的拉链(65K)工作的良好信息,但是较大的用户没有。我没有测试截止,但是365K失败了。而且它毕竟不仅仅是zip文件。 700K doc文件也失败了。 ErrorCode 800a0035。
2 个解决方案
#1
0
There is a size limit that you will probably need to set - what's the 500 error?
您可能需要设置一个大小限制 - 500错误是什么?
#2
1
Soneone named Anthony Jones in microsoft.public.inetserver.asp.general provided the answer as follows:
在microsoft.public.inetserver.asp.general中名为Anthony Jones的Soneone提供了如下答案:
In IIS7 IIS manager click in the web site and double click the ASP icon in the features view. Expand Limits Properties and modify the Maximum Requesting Entity Body Limit.
在IIS7 IIS管理器中单击该网站,然后双击功能视图中的ASP图标。展开“限制属性”并修改“最大请求实体正文限制”。
To which I replied:
我回答说:
That did the trick. And it was so easy. You have no idea how many things I tried that did not work.
这就是诀窍。它很容易。你不知道我尝试了多少没用的东西。
I think there may be a second part though. One of the things I had done was to change the
我想可能还有第二部分。我做的一件事就是改变了
setting in applicationhost.config from:
在applicationhost.config中设置:
<sectionGroup name="system.webServer">
<section name="asp" overrideModeDefault="Deny" />
to
<section name="asp" overrideModeDefault="Allow" />
After I made your change and tested it, I changed the above to Deny just on general principals of not fixing what was not broken. The website immediately stopped working until I changed it back to Allow.
在我进行了更改并对其进行测试后,我将上述内容更改为Deny,仅仅考虑了未修复未修复内容的一般原则。该网站立即停止工作,直到我将其更改回允许。
#1
0
There is a size limit that you will probably need to set - what's the 500 error?
您可能需要设置一个大小限制 - 500错误是什么?
#2
1
Soneone named Anthony Jones in microsoft.public.inetserver.asp.general provided the answer as follows:
在microsoft.public.inetserver.asp.general中名为Anthony Jones的Soneone提供了如下答案:
In IIS7 IIS manager click in the web site and double click the ASP icon in the features view. Expand Limits Properties and modify the Maximum Requesting Entity Body Limit.
在IIS7 IIS管理器中单击该网站,然后双击功能视图中的ASP图标。展开“限制属性”并修改“最大请求实体正文限制”。
To which I replied:
我回答说:
That did the trick. And it was so easy. You have no idea how many things I tried that did not work.
这就是诀窍。它很容易。你不知道我尝试了多少没用的东西。
I think there may be a second part though. One of the things I had done was to change the
我想可能还有第二部分。我做的一件事就是改变了
setting in applicationhost.config from:
在applicationhost.config中设置:
<sectionGroup name="system.webServer">
<section name="asp" overrideModeDefault="Deny" />
to
<section name="asp" overrideModeDefault="Allow" />
After I made your change and tested it, I changed the above to Deny just on general principals of not fixing what was not broken. The website immediately stopped working until I changed it back to Allow.
在我进行了更改并对其进行测试后,我将上述内容更改为Deny,仅仅考虑了未修复未修复内容的一般原则。该网站立即停止工作,直到我将其更改回允许。