Click here to monitor SSC

Damon Armstrong


Damon Armstrong

IE vs. Chrome for Debugging Ajax Web Service Calls

2 comments

I was recently attempting to get Cross Origin Resources Sharing (CORS) working with some of our web services so we can more easily achieve cross-domain calls in our product lines.  Having never done any work with CORS before, I found a tutorial and started configuring the project for CORS support.  Since I wasn’t really concerned […]

7 June 2016 3:22 pm by
Damon Armstrong

SharePoint’s Way of Saying Your String is Too Long

0 comments

I accidentally defined a field in a SharePoint list as a text field instead of a multiline text field and when I went to save a very long XML string into that field I received the following message: Invalid text value. A text field contains invalid data. Please check the value and try again. Since […]

19 April 2016 12:49 pm by
Damon Armstrong

How to Configure Mapped Properties for Users in O365

0 comments

I was troubleshooting one of our products in O365 and ran into an issue where search results were not coming back.  So I popped open the SharePoint 2013 Search Query Tool and started to look into the problem, and about two minutes into the process I remembered that SharePoint search is infuriating.  My query worked […]

19 April 2016 12:38 pm by
Damon Armstrong

SharePoint CSOM and “The node to be inserted is from a different document context.”

0 comments

There are a few reasons you can get the “The node to be inserted is from a different document context.” error, and most of them appear to involve updating certain types of fields multiple times in the same request.  Here is an example: using (var clientContext = new ClientContext(“UrlToYourSite”)) {    //Load all fields   […]

10 February 2016 5:16 pm by
Damon Armstrong

Fixing the "The operation took too long" Error in O365

0 comments

I was attempting to deploy a provider-hosted application to my O365 instance and it was failing with an extremely helpful message reading “The operation took too long”.  In the past, we’ve seen situations where a remote event receiver took too long to execute, but the message that comes back says something about the remote event […]

5 February 2016 9:02 pm by
Damon Armstrong

Fixing the File Not Found Error Opening a SharePoint Site with Spaces in the URL using Site.OpenWeb

0 comments

I was investigating a bug in the SharePoint app I’m working on where a function was failing on sites with URLs containing spaces.  Although I’m not a fan of creating sites with spaces in the URL, SharePoint lets you do it so it’s going to happen.  At first, I thought the issue would be easy […]

28 January 2016 9:32 pm by
Damon Armstrong

Making SharePoint App Access Token Caching work in MVC

0 comments

I’ve put together a couple of SharePoint Apps that use MVC to run the remote web application.  When you use MVC for a SharePoint remote web, Visual Studio automatically includes some helpful files to help manage the SharePoint access token.  I decided to go ahead and try to use these files to help me out, […]

14 January 2016 9:48 pm by
Damon Armstrong

Utility for Renaming Visual Studio Windows

0 comments

Gimmal has a wide array of products, and most of those products have gone through multiple releases.  This means that I often find myself running two or three instances of Visual Studio with different versions of the same solution.  Trying to tab between them while keeping tabs on which version goes with which instance can […]

13 January 2016 4:30 pm by
Damon Armstrong

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

0 comments

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

6 January 2016 12:25 pm by
Damon Armstrong

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

0 comments

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

23 November 2015 8:22 pm by
Older posts

Blog archive