增加IIS6文件上传大小限制 [英] Increase file upload size limit in iis6

查看:596
本文介绍了增加IIS6文件上传大小限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有除了所在的文件上传大小可以修改Metabase.xml文件的任何其他地方?

Is there any other place besides the metabase.xml file where the file upload size can be modified?

我目前正在运行的临时服务器与IIS6,这是设置为允许文件上传至20MB。这工作完全正常。我有一个新的生产服务器在哪里,我想设置这个相同的可用大小限制。所以我编辑Metabase.xml文件,并将其设置为20971520.然后我重新启动IIS并没有奏效。所以我再重新启动整个服务器,也没有工作。我可以上传2MB左右的文件,因此肯定是允许的文件大小,然后大标准200KB默认大小。我尝试上传一个5MB的文件,我upload.aspx页面完全崩溃。是否有可能有别的东西,我需要配置?生产服务器位于服务器场,可能有一定的局限性在那里设置结束?

I am currently running a staging server with IIS6 and it is setup to allow uploading of files up to 20mb. This works perfectly fine. I have a new production server where I am trying to setup this same available size limit. So I edited the metabase.xml file and set it to 20971520. Then I restarted IIS and that didn't work. So I then restarted the entire server, that also didn't work. I can upload files around 2mb so it is definitely allowing file sizes larger then the standard 200kb default size. I try uploading a 5mb file and my upload.aspx page completely crashes. Is it possible there is something else I need to configure? The production server is located on a server farm, could there be some limits set on there end?

感谢

推荐答案

如果您使用的是ASP .NET,那么你就需要修改的maxRequestLength web.config文件属性。

If you're using ASP .NET, then you need to modify the maxRequestLength web.config property.

请参阅此链接

这篇关于增加IIS6文件上传大小限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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