使用SharePoint时会遇到不止一种的timeout(即超时)错误. 如果遇到了timeout, 该怎么区分呢?

大致上SharePoint可以控制和影响的timeout地方如下:

1. SharePoint管理中心中对于文件大小的限制, 默认50M.

2. SharePoint从SQL Server读取数据块的大小上限.

Stsadm.exe –o setproperty –pn large–file–chunk–size –pv <size in bytes>

3. SharePoint对Layouts目录下的页面的executionTimeout 的限制. 注意, 这里的upload.aspx的executionTimeout需要酌情适当修改.

C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\TEMPLATE\LAYOUTS\web.config.

值得注意的是, 这个web.config中还包含对具体页面的maxRequestLength和executionTimout的不同配置. 举例:

<location path="ChangeContentTypeOptionalSettings.aspx"> 
  <system.web> 
    <httpRuntime maxRequestLength="2097151" executionTimeout="3600" /> 
  </system.web> 
</location>

4. 跟站点的web.config文件中的executionTimeout设置.

C:\Inetpub\wwwroot\wss\VirtualDirectories\VirtualDirectoryFolder\web.config

5. IIS中的connection timeout.

注意SQL端对语句执行时间的限制是不会影响到SharePoint的超时设置的.

在下篇文章中, 我们来讨论一下SQL Server里的timeout设置.

6. 如果发生使用IE上传大文件会timeout, 而使用firefox浏览器上传却不会timeout的情况, 请参照这篇文章<<HTTP File Upload Operation Takes a Long Time to Complete>>来修改注册表, 从而增加使用Winsock时的发送缓冲的大小.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

Value Name: SocketSendBufferLength

Data Type: REG_DWORD

Value Options: 16384, 24576, 32768, ... ,65536

具体选项详见文章.

Reference

=====================

How to troubleshoot HttpException Request timed out (ASP.NET 2.0 32-bit)

http://blogs.msdn.com/b/asiatech/archive/2011/07/06/how-to-troubleshoot-httpexception-request-timed-out-asp-net-2-0-32-bit.aspx

SqlCommand.CommandTimeout Property

http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.commandtimeout.aspx

OleDbConnection.ConnectionTimeout Property

http://msdn.microsoft.com/en-us/library/system.data.oledb.oledbconnection.connectiontimeout.aspx

Error message when you try to upload a large file to a document library on a Windows SharePoint Services 3.0 site: "Request timed out"

http://support.microsoft.com/kb/925083/en-us

deployment Element (ASP.NET Settings Schema)

http://msdn.microsoft.com/en-us/library/ms228298%28v=vs.80%29.aspx

导致SharePoint发生Timeout的三处门槛设置

http://www.cnblogs.com/awpatp/archive/2010/02/22/1670964.html

SharePoint Large File Upload Configuration

http://blogs.technet.com/b/sharepointcomic/archive/2010/02/14/sharepoint-large-file-upload-configuration.aspx

Uploading Large files to SharePoint on Windows Server 2008 and IIS7

http://blogs.technet.com/b/sharepointcomic/archive/2010/02/14/uploading-large-files-to-sharepoint-on-windows-server-2008-and-iis7.aspx

HTTP File Upload Operation Takes a Long Time to Complete

http://support.microsoft.com/kb/329781

SharePoint中遇到Timeout的更多相关文章

  1. 在SharePoint中创建可自定义属性的文件夹

    概况 阅读时间:约5分钟 适用版本:SharePoint Server 2010及以上 面向用户:普通用户.管理员.开发人员 难度指数:★★★☆☆ SharePoint中的文件夹分为2种,一种是文档库 ...

  2. 说说Angular中的$timeOut定时器

     非常不幸的一点是,人们似乎常常将AngularJS中的$timeOut()函数看做是一个内置的.无须在意的函数.但是,如果你忘记了$timeOut()的回调函数将会造成非常不好的影响,你可能会因此遇 ...

  3. SharePoint 中关于event receivers的讨论

    今天一早,跟几个小伙伴在群里讨论了有关事件触发器的东西,感觉收获颇多,拿出来和大家分享.讨论的内容,主要就是关于事件触发器的同步/异步的设置以及作用. 其实接触SharePoint颇久,对于事件触发器 ...

  4. SharePoint 中用户控件的开发及应用

    1.新建解决方案以及SharePoint项目,步骤比较简单略过,然后映射CONTROLTEMPLATES文件夹,在里面添加用户控件(仅场解决方案),如下图: 2.解决方案结构,如下图: 简单介绍一下, ...

  5. 凭借K2 SmartObject框架,在SharePoint中集成数据

    随着SharePoint 2013的发布,Microsoft已提供Business Connectivity Services(BCS)增强功能以及外部列表功能,确保您可以更简单地在SharePoin ...

  6. Sharepoint中有关文件夹的操作

    1.GetItemsWithUniquePermissions根据返回数量和是否返回文件夹获取唯一权限的列表项集合 对于SharePoint对象模型中SPList的GetItemsWithUnique ...

  7. sharepoint中的YesNo字段

    sharepoint中的YesNo字段实际上是一个Boolean字段,性格有点特别,如果IsShow是一个YesNo字段,使用caml查询的时候值为”1“(Yes)”0“(No),Item[IsSho ...

  8. No-Touch Integration 在SharePoint中使用社区支持的Silverlight应用程序

    No-Touch Integration 在SharePoint中使用社区支持的Silverlight应用程序         No-Touch Integration应该是最简单的方法了.将Silv ...

  9. BEGINNING SHAREPOINT&#174; 2013 DEVELOPMENT 第3章节--SharePoint 2013 开发者工具 SharePoint中基于Web开发

    BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第3章节--SharePoint 2013 开发者工具 SharePoint中基于Web开发         之前提到过, ...

随机推荐

  1. Android SharedPreferences(数据存储,需掌握)

    1.SharePrefences类介绍 SharedPreferences 类提供了一个通用框架,以便您能够保存和检索原始数据类型的永久性键值对. 您可以使用 SharedPreferences 来保 ...

  2. Rebranding(模拟+思维)

    The name of one small but proud corporation consists of n lowercase English letters. The Corporation ...

  3. Applese 的QQ群(二分+dfs)

    链接:https://ac.nowcoder.com/acm/contest/330/F 来源:牛客网 时间限制:C/C++ 2秒,其他语言4秒 空间限制:C/C++ 262144K,其他语言5242 ...

  4. P2048 [NOI2010]超级钢琴

    传送门 考虑维护前缀和 $sum[i]$ 那么对于每一个位置 $i$ ,左端点为 $i$ 右端点在 $[i+L-1,i+R-1]$ 区间的区间最大值容易维护 维护三元组 $(o,l,r)$ ,表示左端 ...

  5. C# 字符串操作,可空类型,文档注释,嵌套类型

    字符串 字符串是Unicode字符串数组,且是不可变的 这种操作不会影响到原来的字符串,它会新添加一个副本. 有关Split的操作 using System; using System.Collect ...

  6. Codeforces - 631B 水题

    注意到R和C只与最后一个状态有关 /*H E A D*/ struct node2{ int kind,las,val,pos; node2(){} node2(int k,int l,int v,i ...

  7. Hibernate处理一个实体映射多张相同结构的数据表--动态映射

    [转自] http://blog.csdn.net/majian_1987/article/details/8725197 LZ在项目中需要处理这样一个业务,每天都有终端设备上传GPS位置信息到服务端 ...

  8. 【网络】默认路由、RIPv2、OSPF、EIGRP配置(全网全通)

    1:默认路由 遇到问题:给r2配置向右的单项默认路由,通过PC1去ping主机PC2,一直显示Request timed out, 解决方法:r2配置如下: r2(config)#ip route 0 ...

  9. 剑指offer——面试题7:重建二叉树

    // 面试题7:重建二叉树 // 题目:输入某二叉树的前序遍历和中序遍历的结果,请重建出该二叉树.假设输 // 入的前序遍历和中序遍历的结果中都不含重复的数字.例如输入前序遍历序列{1, // 2, ...

  10. 正则提取字符串IP地址,返回IP列表

    public class Main { public static void main(String args[]) { String str = "10.11.90.1 asedfa 1. ...