Click here to monitor SSC

Damon Armstrong


Damon Armstrong

Get-WFFarm and Troubleshooting Register-SPWorklfowService

0 comments

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: […]

17 February 2015 5:12 pm by
Damon Armstrong

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 comments

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 […]

16 February 2015 9:05 pm by
Damon Armstrong

SharePoint Apps: Blank Page Displayed when Navigating to App

0 comments

I was trying to get a SharePoint app up and running in our environment but was running into a bit of an oddity.  After clicking on our App’s icon in Site Contents, I was taken to a blank page.  It wasn’t a SharePoint error page.  It wasn’t an IIS error page.  It was just a […]

10 February 2015 12:42 pm by
Damon Armstrong

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

0 comments

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 […]

23 January 2015 7:43 pm by
Damon Armstrong

C# – Getting the Directory of a Running Executable

0 comments

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 […]

14 January 2015 12:59 pm by
Damon Armstrong

IsObjectPropertyInstantiated vs. ServerObjectIsNull

0 comments

I was using the IsObjectPropertyInstantiated method off the Web class to determine if the AllProperties property on my Web instance was loaded.  I would expect that this would only return true if I have loaded AllProperties in some way, shape, or form using the ClientContext’s Load method.  However, that is apparently not the case. Let’s […]

12 December 2014 9:42 pm by
Damon Armstrong

Enabling Search Indexing on Property Bag Values in O365

0 comments

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 […]

10 December 2014 1:01 pm by
Damon Armstrong

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

0 comments

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 […]

12 November 2014 1:17 pm by
Damon Armstrong

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

0 comments

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’ […]

11 November 2014 3:18 pm by
Damon Armstrong

Constants in a Common Assembly

1 comment

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 […]

16 September 2014 12:41 pm by
Older posts