• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • YouClaw
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
KXLF’s blog
能转的不写
   首页    新随笔    联系   管理     
12 2011 档案
Outlook 2007 同步到本地的SharePoint文档库,点击不同文件夹时,总是弹出登陆框

摘要:一、环境a) 版本:SharePoint 2010b) 访问方式:https + IPc) 客户端:outlook 2007二、现象a) 使用https+ip打开网站中的文档库,点击ribbon的“连接到outlook”。b) 将连接添加到outlook,并开始同步文档。c) 同步完成后,点击outlook左侧文档库中的不同文件夹,这时会弹出登陆框。并且输入正确的用户名密码无法登陆。三、原因a) Outlook 2007 同步文档库,连接Sharepoint时,使用的是ip访问,但是切换文档库时候会使用机器名的方式请求。b) 因为站点证书是发给IP地址的,所以通过机器名请求会失败。四、解决a) 阅读全文
posted @ 2011-12-29 14:28 KXLF 阅读(911) 评论(0) 推荐(0)
[转]Publishing files stored in the file system through external list(使用bcs映射文件系统)

摘要:Publishing files stored in the file system through externallistAlthough it is rather common at companies that they store significant amount of the their files on SharePoint, there are always exceptions, files that are stored at the file system. We created special web parts and other alternative solu 阅读全文
posted @ 2011-12-15 17:07 KXLF 阅读(486) 评论(0) 推荐(0)
SPContext.Current.Web.CurrentUser 为 null

摘要:刚遇到个情况,记录一下。问题描述:网站为表单验证,并开启匿名。用户A从来没登陆过网站,也没有为A在网站中配置任何权限。就是说如果不开匿名,A无权法访问网站。这时使用A登陆网站(已开启匿名访问),SPContext.Current.Web.CurrentUser 就会为null。解决方法:将用户A或者所有验证用户加入访问者组,或者为A分配其他权限。配置完成后,重新用A登陆,SPContext.Current.Web.CurrentUser就可以正常工作了。原因:在没有被分配过任何权限的情况下,用户第一次登陆开启匿名的网站,Sharepint并不会登记该用户,而是当做匿名用户处理。所以会导致上述的 阅读全文
posted @ 2011-12-15 15:26 KXLF 阅读(1234) 评论(0) 推荐(0)
[转]Use PowerShell to Manage Lists, Views, and Items in SharePoint(使用PowerShell管理列表、视图、列表项)

摘要:Creating Lists in SharePoint 2010One of the most powerful features of SharePoint from an end user’s perspective is the ease of creating and customizing lists, views, and items. Lists store data. SharePoint 2010 includes a large number of list templates that can be used as they are or as a starting p 阅读全文
posted @ 2011-12-13 11:42 KXLF 阅读(546) 评论(0) 推荐(0)
连接TFS服务器记住密码。

摘要:刚测试了一个小技巧,可以免去每次启动VS都输入TFS帐户密码。在控制面板》用户帐户》凭据管理器里面创建自己TFS凭据保存起来就可以了。例如tfsserver.domain.comkxlf@domain.com123456这样每次启动VS连接TFS就不用输入用户名密码了,很方便。 阅读全文
posted @ 2011-12-12 11:33 KXLF 阅读(1661) 评论(0) 推荐(0)
[转]Login over HTTPS from HTTP pages(使用https登陆)

摘要:Specifically we’ll have a look at how we can replace the SharePoint Welcome control with a custom control that meets the following requirements:Displays username and password fields in anonymous mode.Allow us to login securely (via HTTPS) from a unsecured page (e.g. the homepage).Display logged in u 阅读全文
posted @ 2011-12-12 10:11 KXLF 阅读(3041) 评论(0) 推荐(0)
[转]How to Handle Long PowerShell Statements(在PowerShell中使用多行模式)

摘要:As a PowerShell statement grows larger, it’s not always practical to enter it on a single line in the PowerShell console window. You can enter a long statement on several lines, but you must take into account how PowerShell treats new lines. When PowerShell determines that a line is incomplete, it c 阅读全文
posted @ 2011-12-07 11:04 KXLF 阅读(417) 评论(0) 推荐(0)
[转]How to use String.Format in PowerShell?(如何在PowerShell中使用string.format?)

摘要:Hah! (We’re back;-) ) It’s as easy as that:PS >[string]::Format("Hello {0} {1} :-)","Daniel","Walzenbach")Hello Daniel Walzenbach :-)Needless to say that other formatting – like Currency formatting – works as wellPS >[string]::Format("{0:C}",1234567890)$ 阅读全文
posted @ 2011-12-05 10:26 KXLF 阅读(1046) 评论(0) 推荐(0)

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3