This is Chaitu Madala's TypePad Profile.
Join TypePad and start following Chaitu Madala's activity
Chaitu Madala
Washington DC, USA
SharePoint Architect at Ironworks Consulting
Recent Activity
How to display source site title in Content Query Web Part and Search Results?
What? How to display source site title in Content Query Web Part and Search Results? Why? It is a not so uncommon requirement to group documents / list items by sites and display the site title for each group. Content Query Web Part returns lot of data but site title is not returned by it by default. SharePoint search service application does not come with property for site name or site title by default but luckily sharepoint search crawls and indexes site name as ows_sitename How? CQWP: In the .webpart file there is a property called ViewFieldsOverride. This property overrides... Continue reading
Posted Dec 13, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
0
Dealing with SharePoint 2010 calendar's "Add" button issues after fixing the scrolling bug
Posted Dec 2, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
2
Incomplete SharePoint 2010 SPWebPartManager and its events that are never raised
Posted Nov 8, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
0
SharePoint 2010: User Profiles configured correctly but people search not working
Posted Oct 20, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
2
SharePoint 2010 - How to Backup/Restore Managed Metadata from one farm/environment to another?
Posted Oct 20, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
3
A shortcut to debug SharePoint 2010 Solutions
Posted Aug 17, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
1
Slides from SharePoint Saturday: The Conference DC on 12th August 2011
Slides from my SharePoint session given on August 12 2011 at SharePoint Saturday The Conference in Washington DC titled "Leverage Search and Customize to your Brand within SharePoint 2010" Continue reading
Posted Aug 14, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
0
How to delete a cookie written by ASP.NET using client-side JavaScript
What? Today I spent some time trying to understand why a JavaScript function that I wrote to delete a cookie that was written by ASP.NET was not deleting it properly. I finally managed to find the reason and thought it might be useful to write about it as it might help someone.. What is so different about it? Just google / bing for "delete cookie using javascript" and you will see 100s of snippets to delete a cookie using javascript. In order to delete a cookie that was written by ASP.NET, we need to take a slightly different approach. How?... Continue reading
Posted Aug 2, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
2
SharePoint : System.InvalidOperationException: The farm is unavailable.
Scenario: You receive the below exception when you try to access Central Admin / any SharePoint site. Event ID from Event Log - 3 System.ServiceModel.ServiceActivationException: The service '/SecurityTokenServiceApplication/securitytoken.svc' cannot be activated due to an exception during compilation. The exception message is: Exception has been thrown by the target of an invocation.. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The farm is unavailable. at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceManager.get_Local() at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceConfiguration..ctor() Resolution: Open IIS Go to Application Pools Find the security token application pool and click on "Advanced Settings" If you notice that the value for “enable 32-bit... Continue reading
Posted Jul 19, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
3
SharePoint 2010 - Search Error - "The search service is not able to connect to the machine that hosts the administration component"
Posted Jul 10, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
1
SharePoint - Server error: The URL is invalid, it may refer to a nonexistent file or folder or refer to a valid file that is not in the current Web
Posted May 31, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
3
SharePoint 2010 - Buggy SPSecurityTrimmedControl and a workaround
Posted May 27, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
0
SharePoint 2010 - Access denied for users that have full control on the site
Posted May 22, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
9
How to deal with SharePoint 2010 exception "An exception occurred when trying to issue security token: The server was unable to process the request due to an internal error"
Posted May 17, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
6
How to fix troubles with internet access in a Windows Server 2008 Std VM that is configured as a domain controller
Scenario: No internet in domain controller Windows Server 2008 VM? How to fix troubles with internet access in a VM that is configured as a domain controller? Explanation: Installed SharePoint Foundation in a Windows Server 2008 Std VM. Before configuring the server as a domain controller, the VM had access to internet. Soon after configuring the VM as a domain controller, the server could not access internet from the host machine. Solution: After hours of troubleshooting, the below worked : Go to Control Panel\Network and Internet\Network and Sharing Center Click Local Network Connection: Click Properties: Highlight Internet Protocal Version 4... Continue reading
Posted Mar 27, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
1
How to fix troubles with internet access in a Windows Server 2008 Std VM that is configured as a domain controller
Scenario: No internet in domain controller Windows Server 2008 VM? How to fix troubles with internet access in a VM that is configured as a domain controller? Explanation: Installed SharePoint Foundation in a Windows Server 2008 Std VM. Before configuring the server as a domain controller, the VM had access... Continue reading
Posted Mar 27, 2011 at Chaitu Madala
Comment
0
PowerShell - How to use named optional parameters in PowerShell?
Posted Mar 27, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
3
How to build a consumer web part in SharePoint 2010 using IWebPartParameters that works with HTML Form Web Part and Filter Web Parts?
Scenario: How to build a consumer web part in SharePoint 2010 using IWebPartParameters that works with HTML Form Web Part and Filter Web Parts? Explanation: The current SharePoint 2010 documentation still includes reference to an API interface which it says is obsolete. [ObsoleteAttribute( "Use System.Web.UI.WebControls.WebParts.IWebPartParameters instead" )] public interface IFilterConsumer As we can see, the interface displays a message that says "Use System.Web.UI.WebControls.WebParts.IWebPartParameters instead." Unfortunately, it's hard to find any good examples out there for writing a Web Part that uses the IWebPartParamters interface for consuming the HTML Form Web Part / Filter Web Parts. There is one brilliant example... Continue reading
Posted Mar 27, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
0
How to build a dynamic query for SPQuery with multiple OR conditions programatically?
Scenario: How to build a dynamic query for SPQuery object with multiple OR conditions programatically? Explanation: In this post, I will try to explain how to build a query for SPQuery object with multiple OR conditions dynamically. For example: If a programmer attempts to get list items from a list with IDs 1,2,5, 9 and 13 dynamically, he would need to build a query for SPQuery with multiple OR conditions. The below query seems to work at first glance but it does not work: <Query> <Where> <Or> <Eq> <FieldRef Name="ID" /> <Value Type="Counter">1</Value> </Eq> <Eq> <FieldRef Name="ID" /> <Value Type="Counter">2</Value>... Continue reading
Posted Mar 27, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
2
How to call SharePoint Web Services from the context of current logged in user from an asp.net web application?
Scenario: How to call SharePoint Web Services from the context of current logged-in user from an ASP.NET Web Site/Application that has Windows Authentication enabled? Explanation: SharePoint 2010/2007 exposes most of its Object Model through web services. SharePoint Web Services provide methods that you can use to work remotely with a deployment of SharePoint. A list of SharePoint 2010 web services can be found here A list of SharePoint 2007 web services can be found here Its not always a straight forward process to call SharePoint Web Services from the context of current logged in user from an ASP.NET Web Site/Application... Continue reading
Posted Mar 27, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
1
How to prevent controls inside an asp.net custom web control's UpdatePanel from raising post backs?
Scenario: How to prevent controls inside an asp.net UpdatePanel from raising post backs (from within a custom control)? Explanation: Asp.net UpdatePanel is primarily used for performing asynchronous postbacks with partial page updates. After adding an UpdatePanel control to your page, you can achieve a partial-update of your page on a postback. Only the content in the UpdatePanel is refreshed, the other parts of the page remain unchanged. You may experience scenarios when controls that are placed inside an UpdatePanel of a custom web control cause the whole page to raise a post back. Resolution: Each control inside the update panel... Continue reading
Posted Mar 13, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
1
How to deal with "The remote server returned an error: (401) Unauthorized." exception when you try to access a file in SharePoint Document Library
Scenario: You receive an exception "The remote server returned an error: (401) Unauthorized." when you try to access a file in SharePoint Document Library. Explanation: When you try to access a document in a SharePoint site without anonymous access turned on in the below manner, you would receive a 401 unauthorized error. XmlDocument xDocument = new XmlDocument(); xDocument.Load(String.Format("{0}{1}", SPContext.Current.Web.Url, XmlFileLocation)); Resolution: Try to access the file as below: SPFile configFile = SPContext.Current.Web.GetFile(String.Format("{0}{1}", SPContext.Current.Web.Url, XmlFileLocation)); XmlDocument xDocument = new XmlDocument(); byte[] fileBytes = configFile.OpenBinary(); Stream streamFile = new MemoryStream(fileBytes); xDocument.Load(streamFile); Your code would access the file now. Continue reading
Posted Mar 13, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
0
How to estimate the storage space required for SharePoint 2010 content databases and Index servers?
Scenario: How to estimate the storage space required for SharePoint 2010 content databases and index servers? Explanation: The following process describes how to approximately estimate the storage required for content databases, without considering log files: Calculate the expected number of documents. This value is referred to as D in the formula. How you calculate the number of documents will be determined by the features that you are using. For example, for My Site Web sites or collaboration sites, we recommend that you calculate the expected number of documents per user and multiply by the number of users. For records management... Continue reading
Posted Jan 13, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
3
How to enable VariationLabelMenu control in SharePoint 2010?
Posted Jan 8, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
1
How to display the published date for a SharePoint blog post in Content Query Web Part
Questions: What is the difference between the fields PubDate and PublishedDate in a SharePoint Blog Post content type? How to display a SharePoint blog post's PublishedDate in Content Query Web Part ? Explanation: If you try to use Content Query Web Part hereafter referred to as CQWP to pull blog posts, you will notice that CQWP by default pulls the following fields: Modified Created PubDate It quite looks like the field "PubDate" refers to the date on which the blog post was published. But in fact the "PubDate" field is the same as the field "Modified" except that it returns... Continue reading
Posted Jan 6, 2011 at Under the Hood: Insight from the Ironworks Technology Group
Comment
13
More...
Subscribe to Chaitu Madala’s Recent Activity