小蜗牛的足迹

        I'm a slow walker, but I never walk backwards.

2013年8月21日

Namespace prefix 'xsd' is not defined解决方法

摘要: 在使用IE9或IE10添加包含User类型的Field的,或者在Site Permission中添加用户的时候,可能会出现如下错误:System.InvalidOperationException: Namespace prefix 'xsd' is not defined. at System.Xml.Serialization.XmlSerializationReader.ToXmlQualifiedName(String value, Boolean decodeName) at Microsoft.Xml.Serialization.GeneratedAssembly. 阅读全文

posted @ 2013-08-21 12:15 o_小蜗牛_o 阅读(1567) 评论(0) 推荐(0) 编辑

2013年3月8日

SharePoint 2010中welcome page的设置细节

摘要: 我在使用SharePoint 2010中遇到这样一个问题:我在Virsual Studio中自定义了一个页面,希望在FeatureActivated时使用我自定义页面作为首页,但是因为我在自定义页面中配置了一个webpart,这样导致如果feature重启,配置的webpart就会重复被添加到页面上。 因此我在FeatureDeactivating的时候删除自定义页面,并使用默认的SharePoint首页。但是在FeatureDeactivating中修改首页路径,然后删除自定义页面时就遇到了问题,有些环境能够正常运行,有些环境页面却会报错:System.Web.HttpException: 阅读全文

posted @ 2013-03-08 12:30 o_小蜗牛_o 阅读(420) 评论(0) 推荐(0) 编辑

2012年12月10日

An A-Z Guide to Being an Architect

摘要: 摘自:http://msdn.microsoft.com/en-us/architecture/cc505969.aspxContentsIntroductionA-Z Guide to Being an ArchitectConclusionIntroductionBeing an architect isn't just about baffling people with unusual diagrams that only make sense when the author is in the same room. No longer can an architect wav 阅读全文

posted @ 2012-12-10 11:35 o_小蜗牛_o 阅读(202) 评论(0) 推荐(0) 编辑

The Softer Side of the Architect

摘要: 摘自:http://msdn.microsoft.com/en-us/architecture/cc505973.aspxContentsIntroductionWhy Soft Skills Are RelevantBusiness AlignmentPerspective AwarenessCommunicationConclusionIntroductionMost of us would agree that having strong technology skills is a key ingredient to being a competent architect. Howev 阅读全文

posted @ 2012-12-10 11:29 o_小蜗牛_o 阅读(177) 评论(0) 推荐(0) 编辑

The Need for an Architectural Body of Knowledge

摘要: 摘自:http://msdn.microsoft.com/en-us/architecture/cc505967.aspxContentsIntroductionArchitecture in ITThe Importance of KnowledgeIT Profession and Specialized KnowledgeThe Body of KnowledgePotential MisusesCall for ActionConclusionResourcesIntroductionAn important step toward defining IT architecture a 阅读全文

posted @ 2012-12-10 11:28 o_小蜗牛_o 阅读(198) 评论(0) 推荐(0) 编辑

2012年5月8日

Event Receivers 学习小结

摘要: 什么是Event ReceiverSharePoint的Event Receiver是用于当SharePoint中某个对象发生变化时,触发相应的事件实现方法,响应用户在事件触发时要执行的自定义代码。可触发的事件有添加删除SPListItem,文件迁入迁出,创建或删除列表,站点等。Event Receivers 相关类SPEventReceiverBase 基类SPItemEventReceiver 捕获Item触发的事件,如添加、删除、修改等。对于document所触发的事件,Before和After属性都有效,对于SPListItem所触发的对象,仅After属性有效。SPListEvent 阅读全文

posted @ 2012-05-08 16:21 o_小蜗牛_o 阅读(853) 评论(0) 推荐(0) 编辑

2012年4月28日

SharePoint中使用Linq出现未将对象引用到实例化的解决方法

摘要: 今天在使用Sharepoint的Linq是出现为未将对象引用实例化的问题。在网上一下,发现许多朋友也出现相同的问题。问题代码using (DataContext ctx = new DataContext(portalUrl)){EntityList<CustomConfiguration> constConfig = ctx.GetList<EC.Entities.ConstantsConfiguration>("Custom Configuration");IList<CustomConfiguration> list=constCo 阅读全文

posted @ 2012-04-28 17:37 o_小蜗牛_o 阅读(629) 评论(1) 推荐(0) 编辑

2012年2月6日

CAML中User查询条件的使用方法

摘要: 查询当前用户:<Where><Eq><FieldRef Name='Person' /><Value Type='User'><UserID/></Value></Eq></Where> 查询其他用户使用SPWeb.SiteUsers[LoginName]获取用户ID。<Where><Eq><FieldRef Name='Person' LookupId='TRUE' Type='Integer&# 阅读全文

posted @ 2012-02-06 11:20 o_小蜗牛_o 阅读(388) 评论(0) 推荐(0) 编辑

2011年8月16日

SharePoint 2010中关于An error was encountered while retrieving the user profile的处理方式记录

摘要: ExceptionType: 'UserNotFoundException' ExceptionMessage: 'An error was encountered while retrieving the user profile.' 的解决办法。 阅读全文

posted @ 2011-08-16 14:40 o_小蜗牛_o 阅读(902) 评论(0) 推荐(0) 编辑

2011年8月15日

使用SmtpClient发送带图片的邮件的代码实现

摘要: 关于使用SmtpClient发送带picture的html邮件 阅读全文

posted @ 2011-08-15 14:26 o_小蜗牛_o 阅读(984) 评论(3) 推荐(0) 编辑

导航