Exception “For security reasons DTD is prohibited in this XML document” Connecting to SharePoint Online with CSOM


A few times over the last year or so I’ve come across an error while trying to connect to SharePoint Online using CSOM; Exception calling “ExecuteQuery” with “0” argument(s): “For security reasons DTD is prohibited in this XML document. To enable DTD processing set the Dtd Processing property on XmlReaderSettings to Parse and pass the … Continue reading Exception “For security reasons DTD is prohibited in this XML document” Connecting to SharePoint Online with CSOM

Add SharePoint Context Parameters to your MVC Provider Hosted App Form POST


You’re developing a SharePoint provider hosted app and you need to do a form post to a controller action, and in that controller action you need to get a SharePoint context using the SharePointContextProvider class. When you do this, you may find that an exception is thrown by this class because there aren’t any of … Continue reading Add SharePoint Context Parameters to your MVC Provider Hosted App Form POST

Updating your Azure WebJob using the Kudu Console


So you’ve already published your shiny Webjob to Azure either using Visual Studio 2013 publishing awesome-ness or ‘manually’ using the Azure management portal, and now you want to update it. There’s a super-easy way and thats using the Kudu console. Login to the Kudu console for your web app using the url shown below; https://{webapp name}-scm.azurewebsites.net … Continue reading Updating your Azure WebJob using the Kudu Console