So , one of the developers called me up and told me that he could not get into his single server development SharePoint farm, he could deploy his solution however.   So I rolled my eyes and said what did you do.. Nothing was the reply! (are you surprised)  . Well it turned out that he

Read More
How to change the password on a SharePoint Managed Account after it has already been changed in AD

Just “quick and dirty” public static void ChangePermissions(SPSecurableObject subject, SPPrincipal principal, SPRoleType roleType) {     SPRoleDefinition roleDefinition = null;     SPRoleAssignment roleAssignment = subject.RoleAssignments.GetAssignmentByPrincipal(principal);     if (roleAssignment != null && subject != null)     {         switch (subject.GetType().Name)         {             case “SPList”:                 if (!((SPList)subject).HasUniqueRoleAssignments)                     ((SPList)subject).BreakRoleInheritance(true,false);                 roleDefinition = ((SPList)subject).ParentWeb.RoleDefinitions.GetByType(roleType);                 break;            

Read More
Change SharePoint group permissions from code

In my previous blog, we have installed Windows Server 2012 R2. Now, in this blog, I’ll show you how you can install Active Directory with Domain Controller in Windows Server 2012 R2. Kindly follow the below mentioned steps to install AD. SharePoint 2013 Installation Series: Part 1 – Step by step Installation of Windows Server 2012

Read More
Step by step installation of Active Directory Domain Services in Windows Server 2012 R2 (Part 2)

In this blog, I’ll walk you step by step through the installation of SharePoint 2013 on Windows Server 2012 R2. Before going ahead in detail, Let’s quickly check out the Hardware and Software requirements for SharePoint 2013 installation. You can click here to understand the complete System requirements for this installation. Based on my Installation experience with

Read More
Step by step Installation of SharePoint 2013 on Windows Server 2012 R2 part 1

            \\ This example delete all nodes of Navigation.QuickLaunch            \\constructor of the client context: requires an input parameter             using (var context = new ClientContext(siteUrl))             {                                \\quicklaunch of the object web                  NavigationNodeCollection nodes = context.Web.Navigation.QuickLaunch;                 context.Load(nodes);                 context.ExecuteQuery();                 \\linq to cycle the nodes of

Read More
SharePoint client library: QuickLaunch

If you happen to stumble upon this problem: “WSS PROXY USAGE APPLICATION STOPPED” follow this procedure: Read id proxy services: launch from management shell: Get-SPServiceApplicationProxy Take the id of the service WSS Usage Application proxies (example: 97b0f809-cf86-4740-9e4f-61edf9a40d93) Execute the commands listed below (together): $UsageApp = Get-SPServiceApplicationProxy | Where {$_.ID -eq ” 97b0f809-cf86-4740-9e4f-61edf9a40d93 “} $UsageApp.Provision()  

Read More
How to fix ‘WSS Usage Application Proxy Stopped’ with Powershell