摘要:
今天在浏览网页的时候,页面上出现“The attempted operation is prohibited because it exceeds the list view threshold enforced by administrator.”错误,经查明原因为SharePoint默认列表视图... 阅读全文
摘要:
已知SPListItem item,获取item的地址:for (int i = 0; i < item.Attachments.Count; i++){ string attachmentURL = item.Attachments.UrlPrefix + item.Attachments[i]... 阅读全文
摘要:
原文:http://blog.csdn.net/chenxinxian/article/details/8701268记录一下,如何验证当前用户是否存在与某一个用户组,在web当中,有一个属性可以做到,就是web.IsCurrentUserMemberOfGroup。例如我们需要判断当前用户Curr... 阅读全文
摘要:
1、在cmd中输入“eventvwr”, 打开“Event Viewer”2、点击“Windows Logs”下的“Security”3、点击“Security”下的“Filter Current Log”4、在“All Events ID”处输入“4624”,代表登录事件5、点击每条过滤项,就可以... 阅读全文
摘要:
{0} 阅读全文
摘要:
环境:Windows Server 2008 r2+SP1, SQL Server 2008 r2, SharePoint Server 2013, 前端服务器与数据库服务器分开步骤:1、在域控中重置管理员的密码2、在SharePoint前端服务器SharePoint Mangement Shell... 阅读全文
摘要:
在Application页面代码中添加如下代码: public partial class Detail : UnsecuredLayoutsPageBase { protected override bool AllowAnonymousAccess { get { return true; } ... 阅读全文
摘要:
在VS中运行SharePoint控制台程序时,需要对项目进行相关设置,具体设置如下:1.右键VS项目,选择属性2.选择“Build”3.将“Platform target”设置为“X64” 阅读全文
摘要:
用U2U工具生成计算列比较大小的代码如下: 2014 但是这种比较大小的方式有时会得不到想要的结果,如果计算列是数字,要比较大小的话,最好手动换成如下代码: 2014 阅读全文
摘要:
背景:项目上一SharePoint网站分为SharePoint前端与数据库,前端放在实体机上,数据库放在VM9虚拟机中。 环境:Windows Server 2008 r2+sp1, SharePoint Server 2013 Enterprise, SQL Server 2008 r2+sp1, 阅读全文
摘要:
1.右键以管理员身份打开“SharePoint Management Shell”2.执行以下命令:Enable-SPSessionStateService -DefaultProvision3.用记事本打开网站的web.config4.在节下添加如下节点:5.在记事本中搜索“pages enabl... 阅读全文