Categories

Archives

SharePoint 2010 : RemoteStsAdm PowerShell Module

English The STSADM.exe is command-line tool for administration of Office SharePoint Server (SharePoint 2007, SharePoint 2010). It is installed on the same location as SharePoint Products and Technologies location: %COMMONPROGRAMFILES%\Microsoft Shared\Web Server Extensions\12\bin (for SharePoint 2007) or %COMMONPROGRAMFILES%\Microsoft Shared\Web Server Extensions\14\bin (for SharePoint 2010). You must be Farm Administrator to be able to run the tool. By [...] [read more...]

Troubleshoot: SPPropertyBag can not deserialize complex type.

  English: In SharePoint, there is SPPropertyBag which can stores arbitrary key-and-value pairs into configuration database. And this is very good location compared with web.config. Moreover we can also create our custom class from SPPersistedObject to persist it state in a permanent store and retrieve it for later usage. (see MSDN refence SPPersistedObject) But don’t be so happy [...] [read more...]

Howto: Use lambda expression in SharePoint – Working with SPWeb

English Before you continue reading this post, I hope you have read the basic task to start using lambda expression in SOM here. A.  Find any Event list in site. SPWeb spWeb = SPContext.Current.Web var lists = spWeb.Lists.OfType<SPList>().Where(              l => l.BaseTemplate == SPListTemplateType.Events);   foreach (SPList list in lists) [...] [read more...]

A new born tool SharePoint Dispose Checker

English For anybody who works with SharePoint Object Model (SOM), you might have read these articles  : Common Coding Issues When Using the SharePoint Object Model Using Disposable Windows SharePoint Services Objects If you have not read those articles, I suggest to spend your 10 minutes to read them. It was posted 1 year ago, but still relevant [...] [read more...]