广告广告
  加入我的最爱 设为首页 风格修改
首页 首尾
 手机版   订阅   地图  繁体 
您是第 3469 个阅读者
 
发表文章 发表投票 回覆文章
  可列印版   加为IE收藏   收藏主题   上一主题 | 下一主题   
小佳 手机
个人头像
个人文章 个人相簿 个人日记 个人地图
小人物
级别: 小人物 该用户目前不上站
推文 x0 鲜花 x9
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片
推文 x0
问题请教 ASP 元件上传的问题
我是用 AspUpload当作上传元件,之前是在 windows 2000 server 上之IIS 5.0上执行,结果一切正常,最近把它移到 windows 2003 server ..

访客只能看到部份内容,免费 加入会员 或由脸书 Google 可以看到全部内容



●在我英雄年少时,有一个女生,她愿意为我失去生命...
她意志坚定地说....你再缠着我,我就去死!!!
献花 x0 回到顶端 [楼 主] From:台湾中华电信 | Posted:2005-09-13 14:32 |
法兰克 手机
个人文章 个人相簿 个人日记 个人地图
小人物
级别: 小人物 该用户目前不上站
推文 x0 鲜花 x13
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

AspUpload的技术文件中有提到:

IIS6.0 prevent the upload of files more than +200Kb.
For IIS6.0 users, the AspMaxRequestEntityAllowed property 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 a 403 error response. This property is related in function to MaxRequestEntityAllowed, but is specific to ASP request. Whereas you might set the MaxRequestEntityAllowed property to 1 MB at the general World Wide Web Publishing Service (WWW Service) level, you may choose to set AspMaxRequestEntityAllowed to a lower value, if you know that your specific ASP applications handle a smaller amount of data.

Open your metaname.XML which is located in c:\Windows\System32\Inetsrv find the line "AspMaxRequestEntityAllowed" and change it to "1073741824".
You might need to start windows in Safe-mode to be able to change that file, otherwise it's being used by IIS.

Windows 2003 Server中的IIS6预设上传是200KB
必需到C:\Windows\system32\inetsrv资料匣中找metabase.xml这个档案
修改其中的『AspMaxRequestEntityAllowed』设定
预设是204,800Bytes = 200KBytes
2,000,000 = 2MB 以此类推,依您预估需求去调整即可


献花 x0 回到顶端 [1 楼] From:台湾台湾索尼 | Posted:2007-01-14 02:22 |

首页  发表文章 发表投票 回覆文章
Powered by PHPWind v1.3.6
Copyright © 2003-04 PHPWind
Processed in 0.012496 second(s),query:16 Gzip disabled
本站由 瀛睿律师事务所 担任常年法律顾问 | 免责声明 | 本网站已依台湾网站内容分级规定处理 | 连络我们 | 访客留言