Posts

Showing posts from January, 2014

SharePoint 2013 - how to clean orphan site collections

I created a orphan site collection that I'm not able to remove by powershell or through central admin UI.  It's listed in the Central Admin but there is no information about it. Below is a post about how to remove the orphan site collection through detach and re-attach content database.  It works for me. http://social.technet.microsoft.com/wiki/contents/articles/18766.sharepoint-2013-how-to-delete-orphan-sites.aspx

SharePoint 2013 Remote Event Receiver - Access Denied

If you're getting access denied error for remote event receiver (i.e AppInstalled), one of the possible reason is that you might have set to the allow app only policy to false. Below is the error that I got in the ULS log. Microsoft.SharePoint.Client.ServerUnauthorizedAccessException: Access denied. You do not have permission to perform this action or access this resource. The setting is by default turned on.  But if you accidentally turned off, you can turn it back on through the AppManifest.xml designer or just update the XML (refer to below example) true ">           This is in an on-premise high trust (S2S) environment.