惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Darknet – Hacking Tools, Hacker News & Cyber Security
V
Vulnerabilities – Threatpost
Cloudbric
Cloudbric
G
GRAHAM CLULEY
S
Securelist
Schneier on Security
Schneier on Security
Help Net Security
Help Net Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Project Zero
Project Zero
Spread Privacy
Spread Privacy
P
Privacy International News Feed
C
Cyber Attacks, Cyber Crime and Cyber Security
Cisco Talos Blog
Cisco Talos Blog
T
Tailwind CSS Blog
博客园_首页
有赞技术团队
有赞技术团队
Simon Willison's Weblog
Simon Willison's Weblog
Stack Overflow Blog
Stack Overflow Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Latest news
Latest news
T
Tor Project blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Attack and Defense Labs
Attack and Defense Labs
www.infosecurity-magazine.com
www.infosecurity-magazine.com
O
OpenAI News
J
Java Code Geeks
T
Tenable Blog
K
Kaspersky official blog
AWS News Blog
AWS News Blog
S
Security @ Cisco Blogs
The GitHub Blog
The GitHub Blog
T
Threatpost
月光博客
月光博客
H
Heimdal Security Blog
Security Latest
Security Latest
The Hacker News
The Hacker News
Y
Y Combinator Blog
A
Arctic Wolf
Apple Machine Learning Research
Apple Machine Learning Research
C
Cisco Blogs
美团技术团队
Microsoft Security Blog
Microsoft Security Blog
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
C
CERT Recently Published Vulnerability Notes
D
Docker
Google Online Security Blog
Google Online Security Blog
D
DataBreaches.Net
V
Visual Studio Blog
H
Help Net Security

博客园 - jerry zheng

九个使用F#的理由 给网站加上 开心网 转帖功能 接着加班 。 关于ASP.NET中用GB2312编码后Request的乱码问题 一年过去了 我每天问自己以下几个问题: 常用方法-MIS系统常用的树菜单 7月份项目开发心得 7月份的第一个星期五。 在repeater,gridview,datalist (数据源)中使用“用户自定义控件”时应该注意 基于ASP.NET AJAX 实现 client js call back web services ,return dataset or datatable... javascript常用函数集 加班通宵的日子 程序员的人生 该将如何规划?(转) 浅谈数据库设计技巧(上)、(下) 写给WEB2.0的站长 让silverlight支持输入文本框 start learning silverlight 今天正式注册个人博客
修改SharePoint网站最大上载大小时有时需要关注的事项
jerry zheng · 2010-04-27 · via 博客园 - jerry zheng

我们在用 SharePoint存储文档时,用户要上传200多MB到站点上,结果受到上传大小限制。在管理中心里做了修改,增加了上载大小限制。可是用户在上传的 时候,不是提示连接超时,就是未知错误。结果查了下,微软的支持中心里找到了原因,有些情况下,要想真正实现能够上传大文件,还要注意以下情况。

由于网络传输速度的原因,一个大 文件,可能要传很长时间。这个我们可能在虚机里或者本地局域网里觉察不出来速度太慢的情况。一个文件没有传完,就出现了超时的情况。

要解决此问题,请使用一个或多个 以下的方法:

修改管理中心上传大小。

增加在 IIS 中的连接超时设置。

在 Web.config 文件中添加 executionTimeout 值。

一、在管理中心增加最大上载大小

单击 开始 ,指向 所有程序 ,指向 管理工具 ,然后单击 SharePoint 中心管理 。在Web 应 用程序常规设置你可以指定最大上载文件大小,的文件的大小最多 2,047 兆字节。

二、在IIS增加连接超时设置

默认情况下, IIS 连接超时设置为 120 秒。 要提高连接超时设置,请按照下列步骤操作:

IIS将连接超时120(秒),改为更大的 值。

1右键单击要配置,虚拟服务器,然 后单击 属性

2、      单击 网站 选项卡。 在 连接 ,下键入要在 连接超时 框中的秒数,然后单击 确定

三、修改Web.config, 添加 executionTimeout 值

1、修改目录Program Files"Common Files"Microsoft Shared"Web server extensions"12"TEMPLATE"LAYOUTS下的Web.config 文件,添加所需的 executionTimeout 值。是例如,如下所示替换值。
      <location path="upload.aspx"> 
            <system.web> 
                <httpRuntime maxRequestLength="2097151" /> 
            </system.web> 
        </location>

替换代码 为:

<httpRuntime executionTimeout="999999" maxRequestLength="2097151"/>

2修改 Web 应用程序的 Web.config 文件。 默认情况下, 该文件位于以下文件夹:      Inetpub"wwwroot"wss"VirtualDirectories" VirtualDirectoryFolder

把节点<httpRuntime maxRequestLength="51200" />替换为<httpRuntime  executionTimeout="999999" maxRequestLength="51200"/>

  3. 如果您使用的是 Windows2008+IIS7,默认情况下,IIS7是不允许上传28M以上的文件的。对 C:"inetpub"wwwroot"wss"VirtualDirectories"[端口]下web.config进行修改, 在<configuration>节点下添加以下节点:

<system.webServer>

<security>

<requestFiltering>

<requestLimits maxAllowedContentLength="52428800"/>

</requestFiltering>

</security>

</system.webServer>

如果您觉得每次修改 web.config比较不爽,您也可以修改
%windir%"system32"inetsrv"config"applicationhost.config,当然这会影响整个服务器的全局配 置。

原文地址:http://www.cnblogs.com/windy2008/archive/2009/03/24/1420428.html