Category Archives: SharePoint 2010

Cancel button of ButtonSection does not return to previous page (SharePoint)

In SharePoint you can leverage OOTB controls to create professional and OOTB-looking pages. For example, below is a custom setting page that I have deployed to Central Admin. This page uses the OOTB InputFormSection and ButtonSection controls, as well as a few … Continue reading

Posted in SharePoint, SharePoint 2010, SharePoint 2013 | Leave a comment

Posting blog comments as original author of blog post in SharePoint 2010

I had a requirement for a feature that would enable admin users to post comments to blog entries that would appear as if they were posted by the original author of the blog article. The scenario here is a corporate … Continue reading

Posted in Blog, Rendering Template, SharePoint 2010 | Leave a comment

Merge-SPLogFile does not return any record for correlation ID

Given a correlation ID, Merge-SPLogFile is one of the best ways to track down a SharePoint error as this cmdlet searches for this ID across the ULS of all servers in the farm. You can even specify other filtering criteria, such … Continue reading

Posted in PowerShell, SharePoint 2010 | Leave a comment

Cannot login in with FBA with AD LDS in SharePoint 2010: An exception occurred when trying to issue security token: The security token username and password could not be validated..

I was setting up FBA with AD LDS for SP2010. I created some test users in AD LDS and was able to see them in the PeoplePicker and grant them access. I couldn’t login as these users however, and was seeing … Continue reading

Posted in AD LDS, Form Based Authentication, SharePoint 2010 | 2 Comments

NullReferenceException at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()

You get the exception below when browsing to your SharePoint site. In my case this happened on a brand new site that I just created. Server Error in ‘/’ Application. Object reference not set to an instance of an object. … Continue reading

Posted in SharePoint 2010 | Leave a comment

Adding Enter and ESC default keys to SharePoint list forms

When creating or editing list items in SharePoint, have you ever wished that you could save the item by pressing Enter? I have developed a small solution that enables users to save the list item by pressing Enter when the … Continue reading

Posted in List Form, SharePoint 2010 | Leave a comment

Cache Monitor: Now you can force that cache item to refresh!

Caching is a two-edged sword. It is essential to the performance of your site, but it becomes a problem when you, or the business, needs to affect a high priority change in production. If you are using the HTTP runtime’s … Continue reading

Posted in SharePoint 2010 | Leave a comment

SummaryLinkWebPart: Access Denied saving Web Part properties: either the Web Part is embedded directly in the page, or you do not have sufficient permissions to save properties (Web Part ‘Summary Links’).

Normal users (read-only) of our SharePoint site start receiving this error when visiting a content page: Access Denied saving Web Part properties: either the Web Part is embedded directly in the page, or you do not have sufficient permissions to … Continue reading

Posted in SharePoint 2010, SummaryLinkWebPart | 3 Comments

How to handle SPMenuField click on server side as postBack

Using SPMenuField in an SPGridView you can create drop down menu options for each item in the list – just like the ECB in SharePoint. Sometime you may want to handle each menu item click as a server-side event, i.e. … Continue reading

Posted in SharePoint 2010, SPGridView | 3 Comments

“SPSolutionExporter: System.InvalidOperationException: The Writer is closed or in error state” when saving site as template

I ran into the above error when saving a collaboration site as template using the OOTB SharePoint 2010 UI. The full stack is as below. This post describes how I solved this issue. SPSolutionExporter: System.InvalidOperationException: The Writer is closed or in … Continue reading

Posted in Field, SharePoint 2010, Site Column, Site Template | Leave a comment