Year: 2010

Recently one of my colleagues faced an issue with LINQ to WebPart while executing the code with elevated permission. It was a WebPart using LINQ to query a list called “Announcements” for which the currently logged on user does not (and should not) have access (therefore the web part runs with elevated privileges).But it was…

In SharePoint 2010 if you want to play with the theme via code it is different than the way it was in MOSS 2007 / WSS 3.0. We have to use Microsoft.SharePoint.Utilities.ThmxTheme class. In this post I will show how we can retrieve all themes for a particular site and how we can set a…

Time to patch up… Aug CU 2010 released, it is very simplified form this time than the June CU 2010. There are full packages available for each product. Check our KB articles for getting more information about what are the fixes available and the modified files information. KB 2352346 – SharePoint Foundation 2010 KB 2352342…

In this post I am going to walkthrough how we can install language packs on SharePoint Server 2010 to enable the multilingual support. There are excellent TechNet articles available with the details of planning, deployment etc, I will list out most of the links end of this post. One new change is unlike MOSS 2007…

Here is a list of issues and resolutions that I have faced while setting up and configuring SharePoint 2010 environment in different customer environments. Issue 1 : While trying to a create a SharePoint website based on “Business Intelligence” site template , creation of the site failed with the below error. It says that “Feature…

I was testing SharePoint search feature in my lab machine and found that once I enable anonymous access on my web application and once I search for keyword it was not displaying any content. Instead it gives a message: "We did not find any results for <keyword>" For the authenticated users, the search results are…

Recently I was working with a customer to setup their SharePoint 2010 environment and configure user profile service. We have created the service application and both user profile and synch service started successfully. After staring the profile synch from AD we waited for around 30 min but still there was no any user profile imported…

Recently I had faced an issue with BCS, MetaData and Access Services in my SharePoint environment. Those are the only services that I have checked and not sure about other services, but a single point resolution resolved all those issues. Issue with BCS was once I open SharePoint site in SharePoint designer and Click on…

Here is a sample script for writing your custom entries into ULS log. In WSS 3.0 it was little difficult as there was no any direct APIs to do it like in MOSS. But in 2010 version, SharePoint Foundation (WSS 4.0) also has this facility. C# using System; using System.Collections.Generic; using System.Linq; using System.Text; using…

Recently I have installed SharePoint Server 2010 on Windows 7 Enterprise edition in my laptop. It is really really cool, you really love it because while working we won’t feel that we are working in server box like in Windows 2003 / 2008 server , because of the fancy look and performance. I love it…