Day: February 27, 2013

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 Microsoft.SharePoint.SPWeb.GetListFromUrl(String pageUrl) at MyWebPart.EventCalendars.EventCalendars.GetCalendarUrl(Uri current, Uri referrerUri) at MyWebPart.EventCalendars.EventCalendars.CreateChildControls() Microsoft is a multi-billion dollar company. […]

Read More