Monday, September 23, 2013

Site Count from Content Database is 0

This happens when the powershell script  that overwrites an already existing db from the bak file does not do it properly. In order to fix this, do the following


1. Dismount the Content Database from SharePoint
2. Remove the Content Database from SharePoint
3. Delete the messed up Content Database from SQL
4. Restore using the SQL UI
5. Mount the Content database into Sharepoint

Tuesday, December 4, 2012

Sharepoint custom ribbon buttons disappear

Custom ribbon buttons in Sharepoint will disappear if the tool bar type is anything but Full Tool bar for a Ribbon button that is provisioned to the list view

Tuesday, November 20, 2012

Json to C# converter

json2csharp.com/
 
This was the site that I used to convert Sharepoint TaxonomyInternalService.json calls to C# json objects. We then did an Httppost to the taxonomyinternalservice.json and used the oob JavascriptSerializer class to deserialize the result from the service.