MOSS OWSTIMER.EXE 占用 CPU 100%
    
            
摘要:管理中心-〉操作-〉日志纪录和报告-〉诊断日志纪录-〉事件限制-〉(选择)计时器和计时器作业-〉错误-〉意外
        
阅读全文
 
            
        
        
            
    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 置成上面构造的。但发现在打开个人站点时出错。...
        
阅读全文
 
            
        
        
            
    使用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...
        
阅读全文
 
            
        
        
            
    MOSS Permission 问题解决
    
            
摘要:此网页的安全性验证无效并且可能损坏。请单击 Web 浏览器中的“后退”,刷新网页,再重试操作。 打断权限后AllowUnsafeUpdates被恢复为false,所以打断权限后要在true一次。 另外打断权限代码spWeb.RoleDefinitions.BreakInheritance(false, true); 不能用false,要手工清除权限,不能用false来自动清除权限,否则出错...
        
阅读全文
 
            
        
        
            
    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...
        
阅读全文
 
            
        
        
            
    Manage ListItem attachment,include add attachment in listitem,list all attachments.(给ListItem增加附件)
    
            
摘要:#region add a attachment into listitem. /// /// Author:李曦光(Bruce Lee) /// Created Time:2008-9-16 /// Description:add a attachment into listitem. /// Mender:...
        
阅读全文
 
            
        
        
            
    Hide Action menu of SiteSet page(隐藏网站设置页面内的功能菜单)
    
            
摘要:core.zh-CN.resx文件 在节 人员和组 SiteSettings.xml文件 在节 定制隐藏菜单的Feature 对应关系 HideCustomAction HideActionId = "PeopleAndGroups" Cust...
        
阅读全文
 
            
        
        
            
    Get Personal SPWeb Object(Mysite Object)获取MOSS个人站点的SPWeb对象
    
            
摘要:/// /// Author:李曦光(Bruce Lee) /// Created Time:2008-9-16 /// Description:get personal web site. /// Mender: /// Modify Time: /// Modify Description: ...
        
阅读全文
 
            
        
        
            
    ViewFields Property(翻译), 顺便讨教
    
            
摘要:获取或设置在使用SPQuery查询时的Query使用的内部XML的描述,这个描述表示查询显示的字段。 可以声明多个FieldRef标签,使用Name和ID属性来标识字段。 缺省情况下如果查询的列表中没有包含FieldRef指定的字段,那么将没有返回的结果。为了如果在查询的List中没有指定的字段,并能返回结果,可以设置FieldRef的Nullable属性为True,这将不支持Lookup和Per...
        
阅读全文
 
            
        
        
            
    将一个站点移动到另一个子站点(move one subsite to other subsite)
    
            
摘要:命令行 stsadm -o export -url http://Server:port/BBB/BBB1 -includeusersecurity -filename d:\test.cmp 把BBB站点下的BBB1子站点导出stsadm -o import -url http://Server:port/IT/BBB1 -includeusersecurity -filename d:\t...
        
阅读全文
 
            
        
        
            
    使用SPSiteDataQuery和SPQuery查询不到数据
    
            
摘要:在使用SPSiteDataQuery和SPQuery查询时,当用Query构造查询语句时,使用Where查询不数据。 语句: "11" 错误出在,因为ID是Counter类型,使用Text肯定是查询不出数据,MOSS查询是不会自动做类型转换的。 正确: "11" 总结: 使用SPSiteDataQuery和SPQuery查询时,字段的类型一定要写正确。否则出不来数据都不知道是语句写错了,还是什么原...
        
阅读全文
 
            
        
        
            
    MOSS代码,创建站点,创建用户组,分配权限,发布主题,设定帖子权限(备忘查询).........
    
            
摘要:using System; using System.Collections.Generic; using System.Text; using Microsoft.SharePoint; using Microsoft.SharePoint.Administration; using Microsoft.Office.Server; using Microsoft.Office.Server.A...
        
阅读全文
 
            
        
        
            
    MOSS项目第四周-互动沟通模块设计
    
            
摘要:定义2个存储帖子的内容类型,一个是继承于文件夹的,一个是继承于普通列表的。 定义列表Feature 定义Mastpage,和站点的default.aspx页面。 定义站点定义文件one.xml,创建站点时自动激活Feature,和创建列表。 编写后台代码 创建子频道(子站点)代码。 创建专家组。 创建用户组。 分配专家组和用户组权限。 帖子一对一代码。 增加主题。 恢复主题。 杂七杂八的工作一...
        
阅读全文
 
            
        
        
            
    增加ListItems,带链接的主题,链接到主题,显示为ID数字了。
    
            
摘要:SPList.Items.Add(String, SPFileSystemObjectType, String)函数中参数SPFileSystemObjectType可以是 Folder与File,如果增加的内容类型是Folder,而指定的是File就会导致“带链接的主题”和“链接到主题”显示为数字,所以如果增加的是文件夹类型,函数中的参数一定指定为Folder。
        
阅读全文
 
            
        
        
            
    MOSS 增加一个List的Items报,异常来自 HRESULT:0x80040E14(Exception from HRESULT: 0x80040E14)
    
            
摘要:第一种情况 HRESULT: 0x80040E14 when adding items to SharePoint If you receive HRESULT: 0x80040E14 when trying to add an item like announcements/webpart/saving documents before running going through the ...
        
阅读全文
 
            
        
        
            
    文档讨论板(源代码)http://www.codeplex.com/DocumentDiscussion
    
            
摘要:发布在http://www.codeplex.com/DocumentDiscussion 新开发一个文档讨论板 过段时间准备把用MOSS做的一个沟通平台整理出来,发布出来。敬请期待,呵呵。。。。。。
        
阅读全文
 
            
        
        
            
    微软发布Microsoft Office Servers 2007 SP1
    
            
摘要:描述 2007年 MicrosoftOffice 服务器服务包 1 和 2007年 MicrosoftOffice 服务器语言包 ServicePack 1 2007 Microsoft Office 套件 Service Pack 1 (SP1) Windows SharePoint Services 3.0 Service Pack 1 (SP1) Windows SharePoint S...
        
阅读全文