Category: Patterns and practices

For the love of Pete make your error message meaningful!

While debugging some custom SharePoint code (not written by me, mind you) today I ran in to this little gem: Cannot complete this action. Please try again. at Microsoft.SharePoint.Library.SPRequest.MapUrlToListAndView(String bstrUrl, String bstrUrlToMap, Guid& pgListId, Guid& pgViewId) at Microsoft.SharePoint.SPWeb.GetListFromWebPartPageUrl(String pageUrl) at…