Windows 2008环境SharePoint无法上传大文件的解决方案

今天在Windows 2008 Server中安装了SharePoint,创建site collection使用时发现一个问题,在Library中无法上传大于29M的文件。

 

现在就对此问题进行排查:

  1. 查看了Web ApplicationGeneral Settings中对File Size的限制,默认是50MB30M的文件是允许上传的,没有问题。

Machine generated alternative text:Web Application General Settings web application are turned on. Turning 0 阡 十 R 〔 y 〔 Bins will empty 副 十 R 〔 y 〔 Bins in 十 web application I The second Stage R 〔 y 〔 Bin stores items 十 甙 end users have d d From 十 r R 〔 y 〔 Bin For easier — needed. about configuring 十 R 〔 y 〔 Bin. Maximum Upload Size Specify 十 maximum Size 副 ow For a single upload any Site. 、 0 Single File, group Fi or 〔 on n can uploaded if 十 combined than 十 setting. Improvement Program CO 〔 web Site analytics about web pages on 十 D 引 t. items i n the Recycle a i n: 、 v r S CO n d Stage Recycle a i n: A d d 「 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 一 . percent Of I i V Site quota for S CO n d Stage d 引 t d ite m S . off 卜 1 a X i 「 n u 「 n upload S i Z : E n a b C u Sto m r Experience Improvement Program 丫 s

  1. 检查IIS Setting,发现IIS7对上传文件有大小限制。

方法:在路径C:\Windows\System32\inetsrv\config\schema下找到文件IIS_schema.xml,查看配置文件中"requestLimits\maxAllowedContentLength"对应的值为30000000,转换后为28.6M限制。

Machine generated alternative text:IIS schema.xml Fil e Edit Format VI ew Help defaultVa1ue—"true 4/collection) 4/element) (element name: requestLImits > Notepad / > Gttribute name—"maxA110wedContentLength" type "uint 3aaaaaae Gttribute name "inaxUr1 type:"uint defaultVa1ue— 4995 / > Gttribute name—"maxQuer 、 yStr 、 ing type "uint" defaultVa1ue— 2948 (element name:"headerL1mits") (collection addE1ement— add clearE1ement— clear" > (attribute name:"header" type: strlng requlred true isUniqueKey "true validationType—"nonEmptyStr 、 ing / > (attribute name: sizeL1mit type—"uint requlred— true 4/collection) 4/element) / >

  1. 根据Step2中显示,找到问题原因位置,此时修改value为更大的值,比如后面加一个零,调整限制file size的值为300M
  2. 执行IIS Reset动作。

Machine generated alternative text:: . S PDC > S e ttemptIng Stop. 丨 n t e e t S e iC e S successfully Stopped ttemptIng S t . 丨 n t e e t S e iC e S successfully re S t e d : is t rat , . . SPDC)_

  1. 重新打开site collection上传大于29M file,成功,问题解决。

 

所以,在Windows 2008中,IIS默认会有文件上传大小的限制,如果遇到问题可以先检查是否可以解决,希望以上方法可以帮助到大家,感谢阅读。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值