Author Archives: Bernado

Unknown's avatar

About Bernado

Based in Australia, I am a freelance SharePoint and Dynamics CRM developer. I love developing innovative solutions that address business and everyday problems. Feel free to contact me if you think I can help you with your SharePoint or CRM implementation.

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

Visual Studio 2010 freezes periodically for a few seconds

Lately I started experiencing the above problem. Visual Studio 2010 would frequently freeze up for a few seconds and then unfreeze itself. When it does this, I cannot type or do anything in Visual Studio. This was driving me mad … Continue reading

Posted in Visual Studio 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

HTTP 403 Forbidden when calling Excel Services REST API (ExcelRest.aspx)

Today I was looking into Excel Services REST API (ExcelRest.aspx) in SharePoint 2010 for the first time. I followed some good articles on the web but kept on getting HTTP 403 Forbidden errors when invoking ExcelRest.aspx through the browser. Surprisingly … Continue reading

Posted in Excel Services, SharePoint 2010 | Leave a comment

Custom Ribbon buttons to bulk publish, approve/reject, cancel approval and unpublish multiple items

———— UPDATE (2015-07-10): If you just want the WSPs, then they can be downloaded here for 2013. UPDATE (2013-06-06): A SharePoint 2013 version of this solution is now available! Download it here. The 2010 version is still available for download. UPDATE: There … Continue reading

Posted in Custom Actions, Ribbon, SharePoint 2010 | 31 Comments

SPListItem.Workflows also returns completed workflows

I needed to retrieve all the running workflows for a list item. I tried SPListItem.Workflows and according to MSDN this should give me what I need. It however doesn’t – I found that it also includes completed workflow instances. I … Continue reading

Posted in SharePoint 2010, Workflow | Leave a comment