MOSS2010站点大文件上传设置
生活随笔
收集整理的這篇文章主要介紹了
MOSS2010站点大文件上传设置
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
MOSS2010站點大文件上傳設(shè)置
sharepoint2010 2010-10-09 13:35:30 閱讀154 評論0 ??字號:大中小?訂閱
1、先設(shè)置管理中心的【常規(guī)設(shè)置】--上傳文件大小,如下圖:2、設(shè)置IIS7:iis7 上傳大文件限制的真正解決辦法
修改IIS_schema.xml這個文件要先獲得這個文件的控制權(quán);
進入目錄C:\Windows\System32\inetsrv\config\schema,修改文件IIS_schema.xml 權(quán)限:
進入IIS_schema.xml文件權(quán)限修改,選擇”高級”
選擇”所有者”
選中 administrators 確定
再進入權(quán)限編輯,修改administrators 完全控制.
再去掉IIS_schema.xml的只讀屬性.
修改文件配置:
然后搜索 3000000 意思是 只允許上傳 30MB 大小的文件,你在這后面多加一個0 就變成了 300MB 了就應(yīng)該夠用了。然后重啟 IIS 7
<element name="requestLimits">?? ? ?<attribute name="maxAllowedContentLength" type="uint" defaultValue="30000000" />
?? ? ?<attribute name="maxUrl" type="uint" defaultValue="4096" />
?? ? ?<attribute name="maxQueryString" type="uint" defaultValue="2048" />
?? ? ?<element name="headerLimits">
?? ? ? ?<collection addElement="add" clearElement="clear" removeElement="remove" >
?? ? ? ? ?<attribute name="header" type="string" required="true" isUniqueKey="true" validationType="nonEmptyString" />
?? ? ? ? ?<attribute name="sizeLimit" type="uint" required="true" />
?? ? ? ?</collection>
?? ? ?</element>
大約在1024行左右.
轉(zhuǎn)載于:https://www.cnblogs.com/chenfulai/archive/2011/05/31/2064103.html
總結(jié)
以上是生活随笔為你收集整理的MOSS2010站点大文件上传设置的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: php+MySql注入非暴力爆字段名
- 下一篇: 程序员编程艺术第一~十章集锦与总结(教你