SPListItem Update Operation is not valid due to the current state of the object(对象的当前状态使该操作无效。)
摘要: System.InvalidOperationException: 对象的当前状态使该操作无效。 在 Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) 在 Microsoft.SharePoint.WebControls.SPControl.GetContextWeb(HttpC...
阅读全文
配置MOSS的FBA步骤与问题(发现设置权限策略的里选人不好用,选不到Provider的人)
摘要: 1。写Provider2。扩展SSP站点 区域:Extranet3。修改SSP原站点的web.config<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings,Microsoft.Practices.Enterprise...
阅读全文
解决模拟MOSS用户调用WebService打开个人站点进行操作
摘要: 开始以为要构建WindowsIdentity windowsIdentity = WindowsIdentity.GetCurrent();GenericPrincipal genericPrincipal =new GenericPrincipal(genericIdentity, roles);然后把HttpContext.Current.User 置成上面构造的。但发现在打开个人站点时出错。...
阅读全文
模态窗口的读缓存问题
摘要: 使用模态窗口时,还得注意三个问题: 1、要弹出的页面中,一定要保证<head></head>标签间有<base target=“_self”>,否则会弹出的模态窗口上,点击按钮时,会再次弹出一个新页面。 2、被弹出页面的按钮的事件处理中,应该有Response.Write(new Function().ClosePage());语句,用以...
阅读全文
使用MOSS的服务器端控件报错
摘要: 现象,自定义开发的页面,部署到Layout下。页面使用了MOSS的RichTextField服务器端控件 <SharePointWebControls:RichTextField ID="RichTextField1" ControlMode="New" FieldName="CommListTopicContent" runat="server"> </SharePointW...
阅读全文
Can't User UserProfileManager.GetUserProfile Get User Userprofile In Web Service,Error:System.ArgumentNullException: Value Cannot Be Null.(不能在Webservice中使用UserProfileManager的GetUserProfile得到用户配置,报错:System.ArgumentNullException: 值不能为空。)
摘要: E文环境提示:Error:System.ArgumentNullException: Value cannot be null.Parameter name: serverContextat Microsoft.Office.Server.SiteContext..ctor(ServerCo ntext serverContext)at Microsoft.Office.Server.SiteCo...
阅读全文
Add a my link into specifically group of my link(代码增加一个“个人链接”到一个特定的组)
摘要: /// <summary> /// Author:(Bruce Lee) /// Created Time:2008-9-10 /// Description:manager my link. /// Mender: /// Modify Time: /// Modify Description: /// </summary> /// <param name="str...
阅读全文