MOSS2007 无法上传超过30M或者50M的大文件解决办法
服务器环境:windows server 2008 , IIS7,MOSS 2007 SP1
?
1? 如果MOSS2007 无法上传超过30M的文件
解决办法:可能是iis7上传大文件限制,因为iis7默认为30M,可能超过28M就不能上传了。
(1)进入目录C:/Windows/System32/inetsrv/config/schema,修改文件IIS_schema.xml
修改文件配置:
然后搜索 3000000 意思是 只允许上传 30MB 大小的文件,你在这后面多加一个0 就变成了 300MB 了就应该够用了。然后重启 IIS 7
?? ? ?<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>替换代码更改该文件后,单击 替换行更改该文件后,单击 文件 菜单上的 保存。退出记事本。参考文章:http://support.microsoft.com/kb/944981http://support.microsoft.com/kb/925083/http://office.microsoft.com/en-us/winsharepointadmin/HA011607881033.aspx
http://www.visualstudioblog.com/?p=78