<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Sridhar's Blog</title><subtitle type="html">Sridhar Raghunathan's technical blog on SharePoint, coding &amp; customization in SharePoint and support case encounters.  I always ask "If creativity is out-of-the-box! Then why customize?".</subtitle><id>http://blogs.msdn.com/sridhara/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/sridhara/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2008-06-21T15:39:00Z</updated><entry><title>HowTo: Create a quizzing application with SharePoint 2007</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/12/15/howto-create-a-quizzing-application-with-sharepoint-2007.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="486647" href="http://blogs.msdn.com/sridhara/attachment/9222576.ashx" /><id>http://blogs.msdn.com/sridhara/archive/2008/12/15/howto-create-a-quizzing-application-with-sharepoint-2007.aspx</id><published>2008-12-16T00:44:00Z</published><updated>2008-12-16T00:44:00Z</updated><content type="html">With SharePoint 2007 "Survey" list template, I recently created a quizzing application. The thing with survey list is that it stack ranks the questions taking into account how many of the respondents favored each options within that question. But for a quizzing application, we need to be able to stack rank the respondents on how many of their options where correct. "Survey" list template, traditionally (by-design) cannot be used for a quiz requirement, but will some careful planning and custom-coding,...(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/12/15/howto-create-a-quizzing-application-with-sharepoint-2007.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9222576" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="Code Samples" scheme="http://blogs.msdn.com/sridhara/archive/tags/Code+Samples/default.aspx" /><category term="WSS 2.0" scheme="http://blogs.msdn.com/sridhara/archive/tags/WSS+2.0/default.aspx" /><category term="WSS 3.0" scheme="http://blogs.msdn.com/sridhara/archive/tags/WSS+3.0/default.aspx" /><category term="Coding tips" scheme="http://blogs.msdn.com/sridhara/archive/tags/Coding+tips/default.aspx" /><category term="How-To" scheme="http://blogs.msdn.com/sridhara/archive/tags/How-To/default.aspx" /><category term="Customization" scheme="http://blogs.msdn.com/sridhara/archive/tags/Customization/default.aspx" /></entry><entry><title>How do I use SecureString type in SharePoint 2007?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/10/16/how-do-i-use-securestring-type-in-sharepoint-2007.aspx" /><id>http://blogs.msdn.com/sridhara/archive/2008/10/16/how-do-i-use-securestring-type-in-sharepoint-2007.aspx</id><published>2008-10-17T00:18:00Z</published><updated>2008-10-17T00:18:00Z</updated><content type="html">SecureString is the type that's used for passwords in SharePoint 2007. You might find its use when you are automating some "higher level" administration operation (like creating a web application for example). How do you use it is shown below: 1: private static SecureString ConvertString( string strPwd) 2: { 3: if (strPwd == null ) 4: return null ; 5: SecureString strSecurePassword = new SecureString(); 6: foreach ( char ch in strPwd) 7: strSecurePassword.AppendChar(ch); 8: strSecurePassword.MakeReadOnly();...(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/10/16/how-do-i-use-securestring-type-in-sharepoint-2007.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9002356" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="Code Samples" scheme="http://blogs.msdn.com/sridhara/archive/tags/Code+Samples/default.aspx" /><category term="WSS 3.0" scheme="http://blogs.msdn.com/sridhara/archive/tags/WSS+3.0/default.aspx" /><category term="Coding tips" scheme="http://blogs.msdn.com/sridhara/archive/tags/Coding+tips/default.aspx" /><category term="How-To" scheme="http://blogs.msdn.com/sridhara/archive/tags/How-To/default.aspx" /><category term="SharePoint Security" scheme="http://blogs.msdn.com/sridhara/archive/tags/SharePoint+Security/default.aspx" /></entry><entry><title>Using Post Caching Substitution in SharePoint 2007 Web Parts</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/08/13/using-post-caching-substitution-in-sharepoint-2007-web-parts.aspx" /><id>http://blogs.msdn.com/sridhara/archive/2008/08/13/using-post-caching-substitution-in-sharepoint-2007-web-parts.aspx</id><published>2008-08-13T03:16:00Z</published><updated>2008-08-13T03:16:00Z</updated><content type="html">There are good number of articles that explains the different caching option Microsoft Office SharePoint Server 2007 provides and ways to leverage them to achieve better site performance. However, there are scenarios where you might want to implement output caching on your site/page, but have some controls (Web Parts, User Control) excluded from caching so that they dynamically have their content updated on every request. These are the kind of scenarios where you'd be using Post Caching Substitution....(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/08/13/using-post-caching-substitution-in-sharepoint-2007-web-parts.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8854673" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="Code Samples" scheme="http://blogs.msdn.com/sridhara/archive/tags/Code+Samples/default.aspx" /><category term="Coding tips" scheme="http://blogs.msdn.com/sridhara/archive/tags/Coding+tips/default.aspx" /><category term="How-To" scheme="http://blogs.msdn.com/sridhara/archive/tags/How-To/default.aspx" /><category term="Caching" scheme="http://blogs.msdn.com/sridhara/archive/tags/Caching/default.aspx" /></entry><entry><title>Wildcard Search in SharePoint</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/07/30/wildcard-search-in-sharepoint.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="1521682" href="http://blogs.msdn.com/sridhara/attachment/8790340.ashx" /><id>http://blogs.msdn.com/sridhara/archive/2008/07/30/wildcard-search-in-sharepoint.aspx</id><published>2008-07-30T03:36:00Z</published><updated>2008-07-30T03:36:00Z</updated><content type="html">Being able to perform wildcard search is probably an area that's missing in out of the box search in SharePoint. Here's a small web part sample you can use to perform wildcard search in MOSS 2007 (and it can be engineered backward to fit into SharePoint Portal Server 2003 as well). The code in it is very crude, I agree :) It's just a sample I wrote once and built upon multiple times for several different customer situations and so you might find commented out code snippets. I have not put in any...(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/07/30/wildcard-search-in-sharepoint.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8790340" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="Code Samples" scheme="http://blogs.msdn.com/sridhara/archive/tags/Code+Samples/default.aspx" /><category term="WSS 3.0" scheme="http://blogs.msdn.com/sridhara/archive/tags/WSS+3.0/default.aspx" /><category term="Coding tips" scheme="http://blogs.msdn.com/sridhara/archive/tags/Coding+tips/default.aspx" /><category term="SharePoint Search/Indexing" scheme="http://blogs.msdn.com/sridhara/archive/tags/SharePoint+Search_2F00_Indexing/default.aspx" /><category term="Customization" scheme="http://blogs.msdn.com/sridhara/archive/tags/Customization/default.aspx" /></entry><entry><title>"Failed to verify user permissions" error when using DspSts.asmx web service</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/07/29/failed-to-verify-user-permissions-error-when-using-dspsts-asmx-web-service.aspx" /><id>http://blogs.msdn.com/sridhara/archive/2008/07/29/failed-to-verify-user-permissions-error-when-using-dspsts-asmx-web-service.aspx</id><published>2008-07-30T00:42:00Z</published><updated>2008-07-30T00:42:00Z</updated><content type="html">I recently handled a case where the customer sees a "Failed to verify user permissions" error when accessing the DspSts.asmx web service in SharePoint 2007. Below is the code similar to what they were using to invoke the Query method of DspSts.asmx web service. It's also very similar to the same provided in SharePoint SDK. Surprisingly, they saw this error only in their environment and we were unable to replicate it at our end. The code: 1: string siteUrl = ConfigurationSettings.AppSettings[ "siteUrl"...(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/07/29/failed-to-verify-user-permissions-error-when-using-dspsts-asmx-web-service.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8790013" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="Code Samples" scheme="http://blogs.msdn.com/sridhara/archive/tags/Code+Samples/default.aspx" /><category term="Coding tips" scheme="http://blogs.msdn.com/sridhara/archive/tags/Coding+tips/default.aspx" /><category term="SharePoint Web Services" scheme="http://blogs.msdn.com/sridhara/archive/tags/SharePoint+Web+Services/default.aspx" /></entry><entry><title>The buzz with "UrlQueryString" in SharePoint navigation</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/07/24/the-buzz-with-urlquerystring-in-sharepoint-navigation.aspx" /><id>http://blogs.msdn.com/sridhara/archive/2008/07/24/the-buzz-with-urlquerystring-in-sharepoint-navigation.aspx</id><published>2008-07-24T15:07:00Z</published><updated>2008-07-24T15:07:00Z</updated><content type="html">SharePoint's navigation APIs have a property exposed that allows us to set query string properties for a URL. Sadly, but not surprisingly, this only works when root site collection has publishing feature enabled. Reason is simple... One a WSS only OR on a site where publishing feature is not enabled, the property "UrlQueryString" is not available in the default property enumeration of the navigation node's property collection. Run a simple code like the following 1: SPNavigationNodeCollection quickLaunchNodes...(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/07/24/the-buzz-with-urlquerystring-in-sharepoint-navigation.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8769212" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="Code Samples" scheme="http://blogs.msdn.com/sridhara/archive/tags/Code+Samples/default.aspx" /><category term="WSS 3.0" scheme="http://blogs.msdn.com/sridhara/archive/tags/WSS+3.0/default.aspx" /><category term="Coding tips" scheme="http://blogs.msdn.com/sridhara/archive/tags/Coding+tips/default.aspx" /><category term="How-To" scheme="http://blogs.msdn.com/sridhara/archive/tags/How-To/default.aspx" /><category term="Customization" scheme="http://blogs.msdn.com/sridhara/archive/tags/Customization/default.aspx" /></entry><entry><title>Organization Hierarchy a Mess?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/07/15/organization-hierarchy-a-mess.aspx" /><id>http://blogs.msdn.com/sridhara/archive/2008/07/15/organization-hierarchy-a-mess.aspx</id><published>2008-07-15T02:00:00Z</published><updated>2008-07-15T02:00:00Z</updated><content type="html">The "Organization Hierarchy" is a cool little thing that let's SharePoint users to remember who their colleagues are and more importantly who their manager is. If you are wondering about customizing it, honestly, it's quite a bit of a work if you want to do that via features or using OM for the "small" issue in hand. This pretty little control is actually marked up in the person.aspx page in the "SPSMSITEHOST" site definition. The actual control reference is "SPSWC:ProfileManages". Looks like this...(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/07/15/organization-hierarchy-a-mess.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8732327" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="No Code Stuffs" scheme="http://blogs.msdn.com/sridhara/archive/tags/No+Code+Stuffs/default.aspx" /><category term="Customization" scheme="http://blogs.msdn.com/sridhara/archive/tags/Customization/default.aspx" /><category term="MySite" scheme="http://blogs.msdn.com/sridhara/archive/tags/MySite/default.aspx" /></entry><entry><title>FBA and User Display Names in SharePoint 2007</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/07/14/fba-and-user-display-names.aspx" /><id>http://blogs.msdn.com/sridhara/archive/2008/07/14/fba-and-user-display-names.aspx</id><published>2008-07-14T04:01:00Z</published><updated>2008-07-14T04:01:00Z</updated><content type="html">If you have been working with FBA for a while, you might have noticed that the user name displayed in the Welcome control shows the account name of the FBA user. This is because of the field the welcome control is mapped to. As shown here, the welcome control simply points to the name property of the SPUser object. One way of making it to display the full name is to import User Profile from your FBA data source and wait for the timer service job to complete to see the full name displayed in the Welcome...(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/07/14/fba-and-user-display-names.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8730184" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="Code Samples" scheme="http://blogs.msdn.com/sridhara/archive/tags/Code+Samples/default.aspx" /><category term="WSS 3.0" scheme="http://blogs.msdn.com/sridhara/archive/tags/WSS+3.0/default.aspx" /><category term="Coding tips" scheme="http://blogs.msdn.com/sridhara/archive/tags/Coding+tips/default.aspx" /><category term="How-To" scheme="http://blogs.msdn.com/sridhara/archive/tags/How-To/default.aspx" /><category term="FBA" scheme="http://blogs.msdn.com/sridhara/archive/tags/FBA/default.aspx" /><category term="Customization" scheme="http://blogs.msdn.com/sridhara/archive/tags/Customization/default.aspx" /></entry><entry><title>Why are my SharePoint Groups drop-down disabled?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/07/07/why-are-my-sharepoint-groups-drop-down-disabled.aspx" /><id>http://blogs.msdn.com/sridhara/archive/2008/07/07/why-are-my-sharepoint-groups-drop-down-disabled.aspx</id><published>2008-07-07T21:03:00Z</published><updated>2008-07-07T21:03:00Z</updated><content type="html">This was an interesting issue.&amp;#160; The problem a customer reported was that when they wanted to add a user to a SharePoint Group, the &amp;quot;Add users to a SharePoint group&amp;quot; drop-down was disabled.&amp;#160; On investigation, it was found the customer was creating a web application and a site collection &amp;quot;on-the-fly&amp;quot;, through SharePoint object model code.&amp;#160; They were also creating their custom SharePoint groups that were derived from default groups.&amp;#160; However, they are not able...(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/07/07/why-are-my-sharepoint-groups-drop-down-disabled.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8703212" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="Code Samples" scheme="http://blogs.msdn.com/sridhara/archive/tags/Code+Samples/default.aspx" /><category term="WSS 3.0" scheme="http://blogs.msdn.com/sridhara/archive/tags/WSS+3.0/default.aspx" /><category term="Coding tips" scheme="http://blogs.msdn.com/sridhara/archive/tags/Coding+tips/default.aspx" /><category term="How-To" scheme="http://blogs.msdn.com/sridhara/archive/tags/How-To/default.aspx" /></entry><entry><title>What happened to my My Links Web Part?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/06/27/what-happened-to-my-my-links-web-part.aspx" /><id>http://blogs.msdn.com/sridhara/archive/2008/06/27/what-happened-to-my-my-links-web-part.aspx</id><published>2008-06-27T10:55:00Z</published><updated>2008-06-27T10:55:00Z</updated><content type="html">Well, did you add a link like "file://C:/folder1/folder2"? In one customer's environment this was the exact issue. A user added some file system link like the above and ended up with the following symptoms: 1. The user couldn't add the "My Links" web part to his/her MySite. Whenever he/she tries, it results in an error as shown below This apparently becomes very bad, as he/she would not be able to access his/her MySite after that (unless they remove the "My Links" web part from the page). 2. And...(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/06/27/what-happened-to-my-my-links-web-part.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8660610" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="Code Samples" scheme="http://blogs.msdn.com/sridhara/archive/tags/Code+Samples/default.aspx" /><category term="Troubleshooting Tips" scheme="http://blogs.msdn.com/sridhara/archive/tags/Troubleshooting+Tips/default.aspx" /><category term="MySite" scheme="http://blogs.msdn.com/sridhara/archive/tags/MySite/default.aspx" /></entry><entry><title>What permissions are behind the permission levels (roles) in SharePoint</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/06/27/what-permissions-is-behind-the-permission-levels-roles-in-sharepoint.aspx" /><id>http://blogs.msdn.com/sridhara/archive/2008/06/27/what-permissions-is-behind-the-permission-levels-roles-in-sharepoint.aspx</id><published>2008-06-27T05:42:00Z</published><updated>2008-06-27T05:42:00Z</updated><content type="html">Recently, I was involved in a support request where I had to find out what SPBasePermissions are assigned behind permission level in SharePoint using SharePoint OM code. First some basics about permission level and base permissions. If you are in your SharePoint site, click Site Actions &amp;gt; Site Settings &amp;gt; click "People and groups" under "Users and Permissions" section &amp;gt; click "Site Permissions" in the left navigation menu &amp;gt; And use the Settings menu in the Permissions list to select "Permission...(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/06/27/what-permissions-is-behind-the-permission-levels-roles-in-sharepoint.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8659554" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="SPS 2003" scheme="http://blogs.msdn.com/sridhara/archive/tags/SPS+2003/default.aspx" /><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="Code Samples" scheme="http://blogs.msdn.com/sridhara/archive/tags/Code+Samples/default.aspx" /><category term="WSS 2.0" scheme="http://blogs.msdn.com/sridhara/archive/tags/WSS+2.0/default.aspx" /><category term="WSS 3.0" scheme="http://blogs.msdn.com/sridhara/archive/tags/WSS+3.0/default.aspx" /><category term="Coding tips" scheme="http://blogs.msdn.com/sridhara/archive/tags/Coding+tips/default.aspx" /><category term="How-To" scheme="http://blogs.msdn.com/sridhara/archive/tags/How-To/default.aspx" /></entry><entry><title>Indexing MSCMS 2001 using MOSS 2007 indexer?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/06/25/indexing-mscms-2001-using-moss-2007-indexer.aspx" /><id>http://blogs.msdn.com/sridhara/archive/2008/06/25/indexing-mscms-2001-using-moss-2007-indexer.aspx</id><published>2008-06-26T00:23:00Z</published><updated>2008-06-26T00:23:00Z</updated><content type="html">This might be a cake-walk for most of you, but I got delayed a bit to get MSCMS 2001 contents indexed using MOSS 2007. Basically what I saw after I setup a content source and started a full crawl was the below warning: The specified address was excluded from the index. The crawl rules may have to be modified to include this address. (The item was deleted because it was either not found or the crawler was denied access to it.) I verified the content access account specified in MOSS is also a CMS 2001...(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/06/25/indexing-mscms-2001-using-moss-2007-indexer.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8653400" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="Content Management Server" scheme="http://blogs.msdn.com/sridhara/archive/tags/Content+Management+Server/default.aspx" /><category term="Troubleshooting Tips" scheme="http://blogs.msdn.com/sridhara/archive/tags/Troubleshooting+Tips/default.aspx" /><category term="SharePoint Search/Indexing" scheme="http://blogs.msdn.com/sridhara/archive/tags/SharePoint+Search_2F00_Indexing/default.aspx" /></entry><entry><title>Project to customize the small search control in SharePoint 2007</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/06/21/project-to-customize-the-small-search-control-in-sharepoint-2007.aspx" /><id>http://blogs.msdn.com/sridhara/archive/2008/06/21/project-to-customize-the-small-search-control-in-sharepoint-2007.aspx</id><published>2008-06-21T21:48:00Z</published><updated>2008-06-21T21:48:00Z</updated><content type="html">The small search control that is rendered in the default SharePoint pages is a delegate control rendered through master page. You can find it defined in the master page as follows: &amp;lt; asp : ContentPlaceHolder id ="PlaceHolderSearchArea" runat ="server"&amp;gt; &amp;lt; SharePoint : DelegateControl runat ="server" ControlId ="SmallSearchInputBox" /&amp;gt; &amp;lt;/ asp : ContentPlaceHolder &amp;gt; This control is actually available through a feature called "OSearchBasicFeature" located under 12\TEMPLATE\FEATURES....(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/06/21/project-to-customize-the-small-search-control-in-sharepoint-2007.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8633335" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="WSS 3.0" scheme="http://blogs.msdn.com/sridhara/archive/tags/WSS+3.0/default.aspx" /><category term="How-To" scheme="http://blogs.msdn.com/sridhara/archive/tags/How-To/default.aspx" /><category term="SharePoint Search/Indexing" scheme="http://blogs.msdn.com/sridhara/archive/tags/SharePoint+Search_2F00_Indexing/default.aspx" /><category term="Customization" scheme="http://blogs.msdn.com/sridhara/archive/tags/Customization/default.aspx" /></entry><entry><title>Create and Publish web pages in Publishing SharePoint sites programmatically</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/06/21/create-and-publish-web-pages-in-publishing-sharepoint-sites-programmatically.aspx" /><id>http://blogs.msdn.com/sridhara/archive/2008/06/21/create-and-publish-web-pages-in-publishing-sharepoint-sites-programmatically.aspx</id><published>2008-06-21T19:22:00Z</published><updated>2008-06-21T19:22:00Z</updated><content type="html">Microsoft.SharePoint.Publishing is the assembly that we need to use to get pages created and published. A sample is provided below: using ( SPSite site = new SPSite ( "http://moss" )) { using ( SPWeb web = site.OpenWeb()) { PublishingSite pSite = new PublishingSite (site); SPContentType ctype = pSite.ContentTypes[ "Welcome Page" ]; PageLayoutCollection pageLayouts = pSite.GetPageLayouts(ctype, true ); PageLayout pageLayout = pageLayouts[ "/_catalogs/masterpage/welcomesplash.aspx" ]; PublishingWeb...(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/06/21/create-and-publish-web-pages-in-publishing-sharepoint-sites-programmatically.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8632617" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="Code Samples" scheme="http://blogs.msdn.com/sridhara/archive/tags/Code+Samples/default.aspx" /><category term="Coding tips" scheme="http://blogs.msdn.com/sridhara/archive/tags/Coding+tips/default.aspx" /></entry><entry><title>"The site is not assigned to an indexer" error in SharePoint custom search</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sridhara/archive/2008/06/21/the-site-is-not-assigned-to-an-indexer-error-in-sharepoint-custom-search.aspx" /><id>http://blogs.msdn.com/sridhara/archive/2008/06/21/the-site-is-not-assigned-to-an-indexer-error-in-sharepoint-custom-search.aspx</id><published>2008-06-21T17:39:00Z</published><updated>2008-06-21T17:39:00Z</updated><content type="html">Strangely enough! We'll not see this issue with an OOTB search. It is seen only when we use search APIs or web service and perform a custom search. Apparently, when we use Microsoft.Office.Server.Search, the content database also gets indexed and this content database should be assigned to the particular site we are searching against. The way you do this is by going to SharePoint Central Administration site &amp;gt; Application Management &amp;gt; Content Databases &amp;gt; click the content database in the...(&lt;a href="http://blogs.msdn.com/sridhara/archive/2008/06/21/the-site-is-not-assigned-to-an-indexer-error-in-sharepoint-custom-search.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8632002" width="1" height="1"&gt;</content><author><name>sridhara</name><uri>http://blogs.msdn.com/members/sridhara.aspx</uri></author><category term="MOSS 2007" scheme="http://blogs.msdn.com/sridhara/archive/tags/MOSS+2007/default.aspx" /><category term="WSS 3.0" scheme="http://blogs.msdn.com/sridhara/archive/tags/WSS+3.0/default.aspx" /><category term="Troubleshooting Tips" scheme="http://blogs.msdn.com/sridhara/archive/tags/Troubleshooting+Tips/default.aspx" /></entry></feed>