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.

12 March 2015
12 March 2015

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

0
0
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
0
0
17 February 2015
17 February 2015

Get-WFFarm and Troubleshooting Register-SPWorklfowService

0
0
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
0
0
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

0
0
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
0
0
23 January 2015
23 January 2015

SharePoint Apps and Fixing the “Provided App Differs from Another App with the Same Version and Product ID” Issue

0
2
I’ve seen a number of people posting about this issue on forums and in blogs, and the resolution tends to be to change the version number or the client ID and redeploy.  That approach will work, but it’s a bit of a hack.  Here is another option to try before going that route: Delete the … Read more
0
2
14 January 2015
14 January 2015

C# – Getting the Directory of a Running Executable

2
12
I was trying to remember how to get the directory of a running executable and I ran across this stack overflow entry on the subject: http://stackoverflow.com/questions/1658518/getting-the-absolute-path-of-the-executable-using-c The answer the question is really embedded in the comments to the answer.  The answer says to use System.Reflection.Assembly.GetExecutingAssembly which will work if you call the method directly from … Read more
2
12
10 December 2014
10 December 2014

Enabling Search Indexing on Property Bag Values in O365

0
0
SharePoint allows you to store ad-hoc values in property bags values on SPWeb objects in server-side code.  You can even setup SharePoint search to crawl these properties using the server-side SPWeb.IndexedPropertyKeys property – just add the name of the property bag key to the list of IndexedPropertyKeys and the next time the crawler hits the … Read more
0
0
12 November 2014
12 November 2014

Does Each Call to SP.ClientContext.get_current() Return the Same Instance?

0
0
I was trying to figure this out for some common code that we are putting together so I ran the following test: function TestReferences() {     var contextA = SP.ClientContext.get_current();     var contextB = SP.ClientContext.get_current();     contextA.test = 5;     alert(contextB.test);         //Displays 5     alert(contextA == contextB);  //Results in True     alert(contextA === contextB); //Results … Read more
0
0
11 November 2014
11 November 2014

Fixing “Could not Load File or Assembly” Error for CKS Dev Copy to SharePoint Root Command

0
0
I’ve got a SharePoint solution containing a standard SharePoint solution project and a SharePoint App project.  While trying to use CKS Dev to deploy mapped files for the standard SharePoint solution using context menu command Quick Deploy (CKSDev) > Copy to SharePoint Root I got the following error: Could not load file or assembly ‘AssemblyName.dll’ … Read more
0
0
16 September 2014
16 September 2014

Constants in a Common Assembly

0
0
We were having a discussion about constants and an interesting issue came up.  I’ve always known that when you use a constant it gets interpreted as a literal when your code compiles, but I never made the connection that this is true of referenced constants as well.  This creates a bit of an issue when … Read more
0
0
06 August 2014
06 August 2014

Fixing NativeHR 0x80070002 Error When Retracting or Deploying SharePoint Apps from Visual Studio

0
0
Sometimes when App deployment fails from Visual Studio you will get the following error when trying to retract or redeploy the app: <nativehr>0x80070002</nativehr><nativestack></nativestack> There seems to be some issue with the information in the content database.  To fix the problem I just deleted all of the information from the App tables in the content database.  … Read more
0
0
22 April 2014
22 April 2014

SharePoint 2010 to 2013 Search Service Application Upgrade Issue–Action 15.0.80.0 Fails

0
1
During the course of upgrading a search application database from SharePoint 2010 to SharePoint 2013 we encountered an error in PowerShell: Microsoft.SharePoint.Upgrade.SPUpgradeException: Action 15.0.80.0 of Microsoft.Office.Server.Search.Upgrade.SearchAdminDatabaseSequence failed And we traced it back down to this error in the ULS: SqlError: ‘The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object … Read more
0
1