上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 122 下一页

2012年6月25日

Windows Server 2012 和Windows 8 中的PowerShell ISE

摘要: Window 8和Windows Server 2012中的PowerShell ISE比以前版本增强了很多. 在Windows 8中的开始菜单可以找到PowerShell, 右键单击, 选择Run As Administrator. 或者按Win+R, 运行"runas /noprofile /user:administrator powershell", 来打开PowerShell命... 阅读全文

posted @ 2012-06-25 13:25 中道学友 阅读(1048) 评论(0) 推荐(0)

2012年6月5日

X64 Calling Convention 的一个实验

摘要: 很久没更新blog了, 最近比较忙. 这篇文章转自我的onenote, 所以中英文都有, 记给自己, 也分享给大家. 没必要纠结语言, 能看懂就行了. 呵呵.以下结论非常重要, 摘自<<Advanced Windows Debugging>> Page 606. Rcx: contains the 1st parameter passed to the function. Rdx: contains the 2nd parameter passed to the function. R8: contains the 3rd parameter passed to the 阅读全文

posted @ 2012-06-05 15:49 中道学友 阅读(1321) 评论(0) 推荐(0)

2012年4月18日

如何通过Performance Log确定SQL的磁盘有性能问题?

摘要: 1. 查看Disk Bytes/sec. 举个例子, 这个counter的最大值如果是11M, 那么说明work load并不高.2. 查看Avg. Disk sec/Transfer. 举例, 这个counter的推荐值是<0.015.3. 查看Avg. Disk Queue Length, 这个推荐值是<2. 一些比较重要的performance counter: Counter Description LogicalDisk\ % Free Spa... 阅读全文

posted @ 2012-04-18 16:36 中道学友 阅读(3809) 评论(0) 推荐(0)

2012年3月20日

IIS URL Rewriter

摘要: 今天一个朋友打电话过来, 问了这么一个问题: 假设有个用户的SharePoint网站的网址是http://company/defaut.aspx , 该用户希望浏览器上显示的URL是http://company/ , 不带后面的default.aspx. 怎么办? 解决方案 ======================= SharePoint返回的页面是什么URL, 就会返回什么... 阅读全文

posted @ 2012-03-20 15:16 中道学友 阅读(395) 评论(0) 推荐(0)

2012年3月16日

User的Delegation选项卡在Active Directory Users and Computers找不到?

摘要: 排查一个问题的时候需要检查某个用户的Delegation配置, 在自己的测试环境上除了域管理员外居然找不到普通用户的Delegation选项卡. 截图: 原因 ==================== Delegation tab is only displayed when there is at least one value set in the servicePri... 阅读全文

posted @ 2012-03-16 10:03 中道学友 阅读(1922) 评论(0) 推荐(0)

2012年3月15日

SharePoint Workflow的code运行在哪个进程? w3wp.exe 还是OWSTimer.exe?

摘要: 之前做Workflow的问题, 代码一般都会运行在OWSTimer中. 于是便天真的认为所有的workflow都运行在OWSTimer进程中. 周二, 在客户的Win7上安装的SharePoint 2010里分析一个workflow的问题, 直接就抓了OWSTimer的TTT dump回来. 拿到之后一看, 客户的代码里的方法根本没有被执行过. 于是怀疑workflow是不是会在... 阅读全文

posted @ 2012-03-15 16:59 中道学友 阅读(963) 评论(0) 推荐(0)

WinDBG脚本入门

摘要: 最近开始看一些针对非托管进程的WinDBG的使用了, Tess推荐去看Debugging Toolbox. 其第一篇就把我难住了, 脚本看不懂. 动手实践了一下, 发现下面的文章所讲的内容特别有帮助, 于是转载在这里. 原文地址 First steps with WinDBG scripting… (Memento) http://www.msuiche.net/2007/08/03... 阅读全文

posted @ 2012-03-15 11:09 中道学友 阅读(1275) 评论(0) 推荐(0)

2012年3月14日

修改SPS2010的Search Core Results webpart, 令其显示文档被索引了的所有属性

摘要: 详细步骤在这里. See what actually gets indexed in FAST http://blogs.msdn.com/b/thomsven/archive/2011/01/26/seeing-what-actual-gets-indexed.aspx 阅读全文

posted @ 2012-03-14 10:07 中道学友 阅读(236) 评论(0) 推荐(0)

2012年3月13日

SharePoint中自定义代码普通用户执行报Access Denied, 管理员执行就OK, 咋办?

摘要: 正解如下: 把出错的代码调用放在SPSecurity.RunWithElevatedPrivileges中, 即可. 举例 SPSecurity.RunWithElevatedPrivileges(delegate(){ // implementation details omitted});MSDN解释该方法的功能如下:Executes the specified me... 阅读全文

posted @ 2012-03-13 18:04 中道学友 阅读(405) 评论(0) 推荐(0)

记录一个SPS2010中RSS Web Part报错的问题

摘要: SharePoint中的RSS WebPart只要访问需要认证的RSS Feed的时候就会失败.错误信息================“The RSS webpart does not support authenticated feeds”当RSS Web Part试图展示SharePoint站点自身上的列表内容的时候, 如果SharePoint站点不支持匿名访问, 那么上面的错误就会报出来了.那么有没有办法既让RSS web part可以显示站点自身的数据, 同时又需要用户通过认证才能访问站点呢?答案是可以的. 那就是让站点使用Kerberos认证. RSS Web Part只支持一.. 阅读全文

posted @ 2012-03-13 15:08 中道学友 阅读(395) 评论(0) 推荐(0)

上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 122 下一页

导航

技术追求准确,态度积极向上