随笔分类 -  [我也写点技术]

1
摘要:Fast 默认变为sharepoint 2013的搜索引擎,所以会导致sharepoint2013 非常耗资源,有一个noderunner.exe几乎吃掉所有的CPU和内存,如果你的机器配置不高,你仅仅用来做开发,可以尝试如下操作:1.删除search services application2.停止SharePoint Search Host Controller"和 "SharePoint Server Search 15"(windows services )3.尽可能给大一点的内存(10G).4.重启。速度就刷刷的啦~~~~ 阅读全文
posted @ 2012-12-13 19:58 bluehat 阅读(3746) 评论(0) 推荐(0)
摘要:1.怎么自定义开发一个Timer Job 可以参见 http://msdn.microsoft.com/en-us/library/ff798313.aspx2.SharePoint timer jobs 是运行在 OWSTIMER.exe 这个进程下的,所以Debug的话,需要attach到这个进程上去3.ConfigurationManager.AppSettings读取的自然也是 OWSTIMER.exe的配置文件,在14\bin\OWSTIMER.EXE.config,追加<appSettings>这个标签就好<?xmlversion="1.0"e 阅读全文
posted @ 2012-05-31 01:07 bluehat 阅读(484) 评论(0) 推荐(0)
摘要:如果你使用sharepoint 里的eventhandler,并在里面做了页面跳转,但是发现跳转失败的话,请注意,一定要先设置RedirectUrl,再设置Status。三行代码的顺序一定不能错!MSDN上都是错的,坑爹呀~~~~~View Code properties.Cancel=true;properties.RedirectUrl="/_layouts/CustomErrorPage/SiteCreationError.aspx";properties.Status=SPEventReceiverStatus.CancelWithRedirectUrl; 阅读全文
posted @ 2011-12-19 23:22 bluehat 阅读(463) 评论(0) 推荐(0)
摘要:在Sharepoint 2010 里,如果需要使用LDAP 来做Form 验证,只要按照这篇http://technet.microsoft.com/en-us/library/ee806890.aspx 这篇文档做就好。但是有几个地方这个文档讲不清楚,很容易出错。1.这两个name要和创建web application时提供的membership,rolemanager名称一样<addname="membership"<addname="roleManager"2.这三行代码要和自己的环境一致server="yourserver. 阅读全文
posted @ 2011-03-21 21:52 bluehat 阅读(1282) 评论(0) 推荐(0)
摘要:最近写了一个CRM平台的客户端小工具自己用,很是方便,主要是通过调用crm的一些web services的接口,写下来的收获主要有两点1.搞清楚各个entry 的metadata,以及类型type2.调用时,如果出错,总是一些很general的错误,大家无从查起,其实这里只要抛SoapException这个异常就可以拿到很想详细的错误信息。[代码]=========后记:为什么写这个客户端的too... 阅读全文
posted @ 2010-10-28 18:33 bluehat 阅读(818) 评论(0) 推荐(0)
摘要:以前我们在SharePoint 2007 中想要把一个用户从网站集中彻底删除的话,可以通过选择Site Actions—Site Settings—User and Permission—All people,然后选中这个用户,选择Action—Delete Users From Site Colletion. 截图如下: 点击All People 进入,就可以删除用户了。 截图如下: 但是细心地... 阅读全文
posted @ 2010-10-22 16:48 bluehat 阅读(1234) 评论(0) 推荐(0)
摘要:大家在使用SharePoint 2007或者 SharePoint 2010 里的SPGridView 的时候,可能会遇到两个问题。 问题一:无法显示分页的页码。 很多朋友很奇怪明明已经设置如下的代码 oGrid.AllowPaging = true; oGrid.PageSize = 2; oGrid.PageIndexChanging +=new GridViewPageEventHandle... 阅读全文
posted @ 2010-10-22 16:46 bluehat 阅读(311) 评论(0) 推荐(0)
摘要:在sharepoint 2010 管理中心配置同步连接(Configure Synchronization Connections )的时候,总会弹出一个提示框说“有一个用户配置文件同步正在运行,无法转到请求页面”,对应的英文提示是 "Cannot navigate to the requested page while User Profile Synchronizati... 阅读全文
posted @ 2010-10-22 16:43 bluehat 阅读(1118) 评论(1) 推荐(0)
摘要:有很多人问到关于Exchange 2007 Server 服务器的内存使用问题。 首先它和Exchange 2003 是有很大差别的,Exchange 2003是32位架构设计,所以内存最大使用限制是4GB.而Exchange 2007是64位的,对内存的使用将不再有限制,甚至可以高达32GB甚至更高.我自己在测试环境中甚至发现 Store.exe这个进程对内存的占有率甚至高达90%,这是个正常现... 阅读全文
posted @ 2010-10-22 15:49 bluehat 阅读(1305) 评论(0) 推荐(0)
摘要:只需轻轻一点,让你迅速瞬间定位你想要的那天那月那年… 阅读全文
posted @ 2010-05-17 15:37 bluehat 阅读(221) 评论(0) 推荐(0)
摘要:[关键字]华为 E180 3G 网卡 驱动 windows7[问题描述]小半年前买了一个华为的3G无线网卡,发现在windows7 上无法驱动[解决办法]华为E180 在windows 7 RTM下的使用(Using HuaWei E180 on windows 7 RTM) 华为官方尚未推出针对Windows 7平台的E180驱动,在windows 7 X86/X64上使用E180的首要解决的问... 阅读全文
posted @ 2010-02-01 10:36 bluehat 阅读(4888) 评论(0) 推荐(0)
摘要:[关键字]: sharepoint Designer 2007, taks,list,Asigned to,permission [问题描述] 最近有客户问到一个问题,用SharePoint Designer 2007做的一个批准的工作流,发现只要有权限的用户都可以去执行分配(Assign to)给别人的任务,按理说应该是每个人只对分配给自己的任务有修改的权限,对别人的只有读的权限。 [研究过程]... 阅读全文
posted @ 2007-04-22 17:34 bluehat 阅读(4715) 评论(9) 推荐(0)
摘要:[关键字]:SPS 2007 ,Web Service,Create Folder,The parent folder does not exist,FolderNotFound [问题描述] http://msdn2.microsoft.com/en-us/library/websvcdocumentworkspace.dws.createfolder.aspx ,这篇msdn的文章介绍了如何调... 阅读全文
posted @ 2006-11-01 17:23 bluehat 阅读(1332) 评论(0) 推荐(0)
摘要:系统环境与安装顺序:Windows server 2003 sp1,SQL server 2005,SharePoint Portal Server 2003;第一关:在安装结束后,http://localhost:17074/SPS/FarmDatabase.aspx 无法打开,IE显示错误信息“The XML page cannot be displayed”。怀疑是SQL SERVER 20... 阅读全文
posted @ 2005-11-27 17:04 bluehat 阅读(4490) 评论(11) 推荐(0)
摘要:Today I find a good website named Whatis?com. Here you can find any IT-related words' definition.In fact I am not very clear the definication of HTTPs.I just know it's a secure version of HTTP,the c... 阅读全文
posted @ 2004-10-24 16:56 bluehat 阅读(759) 评论(2) 推荐(0)
摘要:两个PAGE的代码如下:page.aspx(父窗体) subpage.aspx(子窗体) 几点说明:1。弹出子窗体,将子窗体的textbox的值传递给父窗体2。两个button都采用html控件,也可以换成asp.net 的server控件,至于server控件如何调用jscript,这里有个小窍门,button_click事件里执行这样的代码 string script=""Respons... 阅读全文
posted @ 2004-07-20 17:28 bluehat 阅读(3432) 评论(8) 推荐(1)
摘要:这里有三条sql语句,想找到存在tblA中,却又不在tblB中的记录数 select count( *) from tblAselect count(*) from tblA where pid in ( select pid from tblB)select count(*) from tblA where pid not in ( select pid from tblB)结果运行的结果是... 阅读全文
posted @ 2004-07-06 13:19 bluehat 阅读(897) 评论(1) 推荐(0)
摘要:什么是 Microsoft Smartphone? Microsoft Smartphone 是 Microsoft 端对端无线计算策略的组成部分,它为用户提供了另外一种访问高级客户端功能、后端数据和最终用户服务的方式。Smartphone 将电话特性与个人数字助理 (PDA) 的功能结合成小型无线电话的形式,在这种形式下,可以用一只手进行操作。其功能包括语音、SMS、即时消息服务、电子... 阅读全文
posted @ 2004-07-02 22:02 bluehat 阅读(2344) 评论(0) 推荐(0)
摘要:内容篇幅较长,请点击这里阅读全文 . 阅读全文
posted @ 2004-07-02 19:40 bluehat 阅读(4438) 评论(11) 推荐(0)
摘要:数据库文件数据结构: Menu MenuID 菜谱编号 0000~9999,其中0000为自点菜谱上没有的菜 SpellCode 拼音码 DishName 菜名 UnitID 计量单位 Price 单价 isCurrentPrice 是否时令价 KitchenerID 后厨代码 SortID 类别编号 Cost 成本价 issue 是否可点 Da... 阅读全文
posted @ 2004-07-01 15:50 bluehat 阅读(1517) 评论(2) 推荐(0)

1