SharePoint
轻轻插一下
  2014年4月1日
摘要: 1、如果想重启SPSearchHostController请确保没有服务在运行,如果有爬网运行可能会导致重启失败,使之处于stoping状态,不过遇到这个状态也不要紧使用taskkill /f /fi "SERVICES eq SPSearchHostController" 然后重启服务。 2、如果发现content source 处于starting等等等状态请重启windows服务OSe... 阅读全文
posted @ 2014-04-01 16:08 轻轻插一下 阅读(241) 评论(0) 推荐(0) 编辑
  2014年3月28日
摘要: 1、跨场中需要以下几个Service实例,没有这几个会遇到各种问题 2、发布场和消费场同时需要创建Host站点,否则消费场的SiteFeed无法使用。 3、跨场关注的问题请参考:http://www.cnblogs.com/yunliang1028/p/3313414.html4、分布式缓存问题,分布式缓存对于NewsFeed至关重要,熟练应用:Add-SPDistributedCacheS... 阅读全文
posted @ 2014-03-28 15:23 轻轻插一下 阅读(371) 评论(0) 推荐(0) 编辑
  2014年2月20日
摘要: 在进行SharePoint2013的开发过程中我发现在开启了某些功能,或者说是创建了个人站点之后有很多地方变了比如下面这个地方: 当然相应的URL地址也发生改变。也许很明确的我就打开了Welcome.ascx文件发现代码中并没有什么特殊的判断来说明这个改变,MenuItemTemplate menuItem = base.GetMenuItem("ID_PersonalInformati... 阅读全文
posted @ 2014-02-20 16:52 轻轻插一下 阅读(516) 评论(1) 推荐(0) 编辑
  2014年2月12日
摘要: 在开发SharePoint2013的WebPart时,会产生一个*.ascx.g.cs文件。如果用TFS管理源代码经常遇到这个文件丢失。这让人很困扰,如果丢失了请在如下图中添加如下代码: 阅读全文
posted @ 2014-02-12 20:42 轻轻插一下 阅读(351) 评论(0) 推荐(0) 编辑
  2013年11月19日
摘要: 如果是台式机:CTRL+ALT+End笔记本一般情况下End建和其他的键混合使用,所以是Fn+CTRL+ALT+End 阅读全文
posted @ 2013-11-19 17:09 轻轻插一下 阅读(243) 评论(0) 推荐(0) 编辑
  2013年11月18日
摘要: Powershell:Set-SPEnterpriseSearchService -PerformanceLevel Reduced Specifies the relative number of threads for the crawl component performance:Reduced: Total number of threads = number of ... 阅读全文
posted @ 2013-11-18 19:44 轻轻插一下 阅读(221) 评论(0) 推荐(0) 编辑
  2013年11月14日
摘要: 遇到cacheHostInfo is null 错误时,必须将这台服务器上的实例删除重新创建 $instanceName ="SPDistributedCacheService Name=AppFabricCachingService"; $serviceInstance = Get-SPServiceInstance | ? {($_.service.tostring()) -eq $instanceName -and ($_.server.name) -eq $env:computername}; $serviceInstance.Delete()如果删除重建之后仍然不 阅读全文
posted @ 2013-11-14 16:24 轻轻插一下 阅读(605) 评论(0) 推荐(0) 编辑
  2013年11月6日
摘要: 最近遇到一个奇怪的问题,如下图: 试了各种删除方式都不行。谷歌了一下发现需要使用如下代码删除。SPWebApplication w = SPWebApplication.Lookup(new Uri("xxx")); ; SPContentDatabaseCollection dbs = w.ContentDatabases; fo... 阅读全文
posted @ 2013-11-06 18:32 轻轻插一下 阅读(240) 评论(0) 推荐(0) 编辑
  2013年10月28日
摘要: 在SharePoint中很多弹出的提示样式挺好看,不仅想整一个耍耍。如下图: 老办法,看一下html中的class名字得知为:Callout谷歌之---官方文档:http://msdn.microsoft.com/zh-cn/library/dn135236.aspx然后自己做测试效果如下: 不啰嗦代码如下: 鼠标点击弹出!结合客户端对象模型随意发挥用法。 阅读全文
posted @ 2013-10-28 20:24 轻轻插一下 阅读(434) 评论(0) 推荐(0) 编辑
  2013年9月23日
摘要: 创建搜索拓扑首先确定的是搜索服务账户是否有服务器的管理员权限,如果没有管理员权限,执行代码不会报错,但是执行完毕之后会出现红x。然后执行的是Powershell代码如下:$host01 = Get-SPEnterpriseSearchServiceInstance -Identity "App01"$host02 = Get-SPEnterpriseSearchServiceInstanc... 阅读全文
posted @ 2013-09-23 10:06 轻轻插一下 阅读(315) 评论(0) 推荐(1) 编辑