Month: March 2014

SharePoint 2013: ERROR – A feature with ID XXXXXXX has already been installed in this farm

If you’ve been developing custom web parts on and off for a while, more often than not you’ve seen this particular error pop up from time to time: “Error occurred in deployment step ‘Add Solution’: A feature with ID XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX has already been installed in this farm. Use the force attribute to explicitly re-install the feature.” And this happens because you’ve been working on this particular webpart or feature, you’ve deployed it, you’ve made changes to it, and now you want to deploy it again to a site that already has that feature installed. When working with Visual Studio, I...

Read More

SharePoint 2013 | AMS–App Model Samples

Microsoft has just released a good set of examples of Apps on CodePlex. Most will work on Office 365 as well as on-Prem Sharepoint Server 2013. https://officeams.codeplex.com/ Currently this project is very focused on the SharePoint scenarios but they say they are also keeping an eye on including the all-up Office Developer moving forward.  These volunteers are working with the MSDN Content Publishing team to take the most impactful and useful samples that complete common customer scenarios and publishing them as "Solution Packs" of content as well as "Sample Packs" of sample code. Extremely useful for those of us “SharePoint Chefs” who take various code recipes and add our own flavor to them. You can get additional details from the introduction presentation. Quick list of included scenarios Cloud based site collection provisioning Creating site collections remotely using SP Apps in on-premises Provision and integrate Yammer group into site provisioning Manage and update theme settings in host web Changing host web rendering with custom CSS Site policy management with CSOM Wiki page manipulation using CSOM Site collection enumeration Setting up Apps to Windows Azure with specific roles People picker implementation for provider hosted app Taxonomy picker implementation for provider hosted app Utilization of JavaScript injection pattern to modify the UI for end users Uploading of large files to SharePoint Deploy branding to personal SkyDrive Pro sites automatically Connect to and...

Read More

SharePoint 2013 Powershell Install Error: “The Process does not possess the SESecurityPriviledge”

SharePoint installs can always be fun and interesting when you are trying to set it up in a least-privileged environment.  For the most part, you need all sorts of permissions, most of which are poorly documented (I really need to find a script I can just run that will enable ALL the exact permissions a SharePoint farm and service account should have).  Most resolutions for issues I’ve encountered when trying to install SharePoint end up with “Make the install account local admin.” Every once in a while though I manage to track down the exact issue and what needs to be done in order to fix it. When I was doing a scripted install the other day, I ran across this little gem: “The process does not possess the ‘SeSecurityPrivilege’ privilege which is required for this operation” In this case I was able to track it down to a Local Security policy that had to do with restricting the account’s ability to manage the auditing and security log.  This is often caused by specific permissions that have been enabled or disabled through a Group Policy Object (GPO) that has been deployed to the network. The solution is to update the LSA and give the installation account the rights needed for “Manage auditing and security log” Manage auditing and security log Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment Description Determines which...

Read More