The request uses too many resources

Introduction While developing a CSOM app for SharePoint Online I encountered an error: “The request uses too many resources” My problem I got this error while removing some webparts from a wikipage through CSOM code. It was working fine on development but didn’t work on the production system. Here is my code. Solution You only […]

Azure diagnostics. How to troubleshoot your code.

Introduction Visual Studio 2013 includes a lot of great tools to make Azure development painless. But sometimes you need to diagnose, debug or troubleshoot programs installed in the actual Azure envirnoment. Here is a quick tutorial on how to enable and inspect debugging information in Azure. Follow these steps to configure logging in an Azure […]

Introducing errors with memoryLimitMegabytes.

Introduction Many posts inform you about limiting the amount of memory of the SharePoint 2013 Search component by setting the “memoryLimitMegabytes” attribute to a number higher than zero. Most of these posts were created after the SharePoint 2013 preview, contained a nasty memory-leak that consumed your server memory in no time. The problem. When you […]

Shrink log databases on SQL Server

Ran into a problem where my SP2013 ┬ástandalone development machine was running out of disk space. The reason turned out to be 61GBs of database log files. Here is small script for shrinking SQL Server databases that start with ‘SP_‘ or ‘WSS_‘. Very handy on a development machine. Make sure that the databases you want […]