Working with files in Azure Blob Storage in China

I have been working with a customer that is looking to use Azure in China (read this for more info: One issue we faced is that none of the available Azure Blob storage tools we tried worked with China because the DNS name for Azure Blob storage China is different than the other regions…


Creating Provider Hosted Apps for SharePoint 2013 when your IIS server and SharePoint Servers are in different (non-trusted) domains

I had a customer that wanted to do high trust apps for SharePoint 2013. However, their developer machines were in a different domain than their web servers. TokenHelper is designed to work with either Azure ACS or SharePoint/IIS servers in a Windows domain. After digging into the TokenHelper class that comes with your "”Apps for…


Managed Metadata Navigation not working for Anonymous Users in SharePoint 2013

I ran into an issue today where an anonymous user in SharePoint 2013 was not able to see the navigation for a site. Authenticated users could see and use the navigation just fine though. The workaround was to go into Term Store Management, select the term and specify a target page for the item: Once…


Content database sizing guidance for SharePoint 2010

I ran across this information on about content database sizing for SharePoint 2010. This new guidance for SP 2010 has changed from MOSS 2007/WSS 3.0. I had to read it a couple of times to see what it is saying but here is my interpretation of it: Basically, if you have more than one site…


Remote debugging your SharePoint 2010 Sandbox solution

I’m a big fan of sandboxed solutions because in addition to the safety features of running outside of the IIS worker process, you also are more agile as a developer. Farm solutions deployed in the GAC reset your web application after each deployment which means you may have to wait (typically 30 seconds or more)…


How to get a better SharePoint 2010 Management Shell

You can get the PowerShell_ISE instead of the default PowerShell command window. You will get such niceties as cut and paste using the standard Ctrl-C/Ctrl-V keyboard shortcuts, being able to debug, and create new scripts. To set this up, go to the Start Menu and select Properties on the SharePoint 2010 Management Shell. The following…


Fun with Remote Blob Storage and SharePoint 2010

If you haven’t heard, SharePoint 2010 allows you to use FileStream from SQL Server 2008/2008 R2 and the Remote Blob Storage provider so that that you can now use cheap storage to store documents outside of SQL Server! These articles were especially helpful in getting this working: SQL Server saves all of…


Eval causes error in master page after SP 2010 upgrade

I’ve been doing a few trial database attach upgrades by taking 2007 content databases and attaching them to SharePoint 2010. One of them had a custom master page and after upgrade returned this error: An error occurred during the processing of /_catalogs/masterpage/Intranet.master. Code blocks are not allowed in this file.  I tracked it down to…


Optimize your developer workstation by starting/stopping SharePoint’s Windows Services

If you are running Windows 7/Vista to run SharePoint 2010, you’ve probably discovered that you may not necessarily need SharePoint to be running in the background all the time. I’ve compiled a list of the services that SharePoint Server uses (let me know if I’m missing any). Save these into a couple of .BAT files (e.g….


Running SharePoint on a native boot VHD

Now that both Windows Server 2008 R2 and Windows 7 have RTM’d I’ve been experimenting with running SharePoint in a native boot VHD and it is working very well! Previously I was using Windows Server 2008 x64 with Hyper-V to dual boot my laptop which has 4GB of RAM to use as my SharePoint development…