Click here to monitor SSC

Blogs


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
Carly Meichen

What’s in Your Project Folder?

5 comments

I think that almost every developer likes to try out a new computer language occasionally. Many devs that I’ve spoken to tend to write the same application in each language, over and over again. An expression analyzer is one I get told about. Others like to write a pocket calculator simulator, or maybe a to-do […]

4 February 2016 4:50 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
Tony Davis

A Database to Diagram for

9 comments

I’m no database designer but I do occasionally need to build a very simple database model, no more than a small handful of tables, to test out some code for an article or presentation. The other day, I was indulging in my usual habit of slowly tapping out CREATE and ALTER TABLE statements in SQL, […]

28 January 2016 6:00 pm by
Simple-Talk Editorial Team

Caption Competition 47 – Killer Crustaceans

13 comments

Looks like these two are in a bit of a pinch! But how did they end up in such decapodous danger? Where even are they? Where are they off to? And how on earth can we be expecting you to tie this to tech? Answer these questions and more by leaving a caption below! We’ll […]

28 January 2016 1:59 pm by
Dennes Torres

Are your check constraints trustable ?

2 comments

SQL Server keeps a record to identify if a check constraint is trustable or not. When all the records in the database where checked against the constraint it’s trustable, otherwise it’s not. If the check constraint is trustable, it can be used by the query optimizer. For example, if the check constraint avoid values below […]

24 January 2016 4:48 am by
Phil Factor

De-duplicating Delimited Lists in SQL Server

4 comments

/* In a recent article 'Removing Duplicates from Strings in SQL Server', Aaron Bertrand comes up with the interesting problem of removing duplicates from lists of strings. The example he gives is … 'Bravo/Alpha/Bravo/Tango/Delta/Bravo/Alpha/Delta'… and you want to make each word unique in the list… ‘Alpha/Bravo/Delta/Tango’. … You want just one occurrence of Bravo, for […]

19 January 2016 6:24 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
Tony Davis

Real Developer Heroics

8 comments

One of the strange paradoxes of team development is that effort beyond the call of duty is generally discouraged. Developers who are new to team working assume that, if they work wonders to solve apparently intractable programming problems in record time, then all around them will smile in gratitude. The instinct to solve problems is […]

14 January 2016 3:04 pm by
Older posts

Blog archive