Damon Armstrong

Damon Armstrong is a consultant with SystemwarePS in Dallas, Texas. He is also a blogger and author of Pro ASP.NET 2.0 Website Programming and SharePoint 2013 Essentials for Developers. He specializes in the Microsoft stack with a focus on web technologies like MVC, ASP.NET, JavaScript, and SharePoint. When not staying up all night coding, he can be found watching a bunch of kids, studying Biblical topics, playing golf, or recovering from staying up all night coding.

Follow Damon Armstrong via

06 January 2016
06 January 2016

SharePoint CSOM: Fixing the “Value does not fall within the expected range” Error Calling GetFolderByServerRelativeUrl

There are times when you just need to get a reference to a folder in the master page gallery of a site collection using CSOM, and that’s where I found myself the other day.  I had a SharePoint context, so I attempted to get my folder using: var folder = clientContext.Web.GetFolderByServerRelativeUrl(      "/_catalogs/masterpage/SomeFolder") Unfortunately, instead … Read more
23 November 2015
23 November 2015

Missing or Invalid property value for $(MsDeployServiceUrl) Building SharePoint Apps

I was using an automated build to package up a SharePoint App when I received the following error: Missing or Invalid property value for $(MsDeployServiceUrl) I used grepWin to search through our project files looking for any references to this value and found none, leading me to initially believe that it was in fact missing.  … Read more
05 October 2015
05 October 2015

Key Points to Know When Using SP.SOD.executeFunc and SP.SOD.executeOrDelayUntilScriptLoaded

So there I was trying to get SharePoint’s script on demand (SOD) working correctly and I thought I had it all figured out.  I ran across a post called SharePoint Scripts on Demand which covers the topic very thoroughly, but there is some behavior between executeOrDelayUntilScriptLoaded and executeFunc that I don’t think is really clearly … Read more
16 June 2015
16 June 2015

Incorrect Client ID in SharePoint App Package

Interesting issue today.  I was attempting to install a SharePoint app today and ran into the following error: 8fff7a1f-f0ea-4d73-8c7d-aa97279b6d20 Stack trace:   at Microsoft.SharePoint.SPUser.get_UserToken()    at Microsoft.SharePoint.Lifecycle.SPAppLifecycleEventCalloutTask.CallRemoteEventReceiver(Uri url, SPAppInstance instance)    at Microsoft.SharePoint.Lifecycle.SPAppLifecycleEventCalloutTask.CallRemoteEventReceiver(SPAppInstance instance)    at Microsoft.SharePoint.Lifecycle.SPAppLifecycleEventCalloutTask.Deploy()    at Microsoft.SharePoint.Administration.SPAppTask.DeployOperation()    at Microsoft.SharePoint.Lifecycle.MonitoredTaskExecution.DoTask()    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)    … Read more
12 March 2015
12 March 2015

Fixing “An update error has occurred” When Modifying Alternate Access Mappings in SharePoint

A while back, I made  change to my SharePoint configuration to modify my alternate access mappings.  For some unknown reason, the mappings keep reverting back to their original state and when I go to modify them again, I get the following error: An update conflict has occurred, and you must re-try this action. The object … Read more
17 February 2015
17 February 2015

Get-WFFarm and Troubleshooting Register-SPWorklfowService

I was helping a colleague configure workflow on his SharePoint development environment when we ran into an issue running the Register-SPWorkflowService cmdlet: Register-SPWorkflowService : An internal error occured. For more details, please see the server logs. Client ActivityId : af6ae27e-02cc-4aed-914d-a59d21d23427. At line:1 char:1 + Register-SPWorkflowService -spsite https://siteUrl/sites/Site ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (Microsoft.Share...WorkflowService: … Read more
16 February 2015
16 February 2015

Fixing the “Content Processing Pipeline Failed to Process the Item" and "Cannot Load Wordbreaker for en or the Fall Back" Errors in SharePoint Search

I was attempting to search for something in my development SharePoint farm and couldn’t find it.  So I ran the crawler and attempted again.  Still couldn’t find it.  After poking around, I saw in the error logs that I had 5000+ errors during the search crawl, most of which said something about “the content processing … Read more