SharePoint Madness

All about SharePoint and Office365

Archive for the ‘SharePoint 2010’ Category

Missing feature Id throws exception while installing SharePoint Patch/CU

Posted by Amit Bhatia on June 19, 2013

Hello friends!

I am writing this piece of blog to help the SharePoint administrator/developer understand one of the exceptions which comes up during CU installation on the SharePoint farm.

Exception information:

[OWSTIMER] [SPContentDatabaseSequence] [ERROR] [6/18/2013 7:40:05 PM]: Found a missing feature Id = [065c78be-5231-477e-a972-14177cc5b3c7]
[OWSTIMER] [SPContentDatabaseSequence] [ERROR] [6/18/2013 7:40:05 PM]: The feature with Id 065c78be-5231-477e-a972-14177cc5b3c7 is referenced in the database [WSS_Content_Lam_cn], but is not installed on the current farm. The missing feature may cause upgrade to fail. Please install any solution which contains the feature and restart upgrade if necessary.
[OWSTIMER] [SPContentDatabaseSequence] [ERROR] [6/18/2013 7:40:05 PM]: Found a missing feature Id = [0806d127-06e6-447a-980e-2e90b03101b8]


There are some of the health rules which are absolutely critical to maintain the consistency of the farm environment. One such health rule is missing server dependencies. You need to remove unreferenced or old objects which do not have a reference within SharePoint in order to install the patch successfully.


  1. Go to SharePoint Central Administration site –> Monitoring –> Review problems and solutions
  2. Run the Missing Server dependencies rule in the SharePoint Health Analyzer rule to identify all the missing server dependencies.
  3. Once you identified all the missing server objects such features using feature id as identifier you may use the Feature admin tool or sharepoint admin tool from codeplex to remove them from SharePoint farm.
  4. You may use the below tool from codeplex to remove the faulty features >>
  5. Once removed, you can run the health rules again using the health analyzer to ensure the rule run successfully without any errors.
  6. Try to install the patch again and run PSConfig using command line (advisable).

I hope this may help you to get around one of the frustrating exceptions while installing CU 🙂


Posted in SharePoint 2010, SharePoint 2010 CU | Leave a Comment »

Backup Strategy for SharePoint 2010

Posted by Amit Bhatia on February 5, 2013

We were asked to develop the backup strategy on SharePoint 2010 for one of our client. There were two web applications with 3 site collections. Please note that this article does not give steps on how to write backup powershell commands. Instead this talks about the backup strategy being adopted in an enterprise environment.

Web Application 1 hosts 2 Site Collection

Web Application 2 hosts 1 site collection

The SP 2010 Farm backup requires different strategies for Database backup and Farm/web/site collection backup. Here I give you an example of one Site collection. You may backup multiple site collection as well.

SQL Server Backup (Created by the SQL DBA)

The backups are broken up into Full Backups and Transaction log backups.

  1. Full Backup

The database backups are run via a SQL Server job named UserDatabases.Full Backups.  The Full backup job runs each night at 8:45pm in the evening.  They are written to the directory U:\SQL Backup\<dbname>\.  The naming convention is <dbname>_backup_yyyy_mm_dd_hhmmss_<uniquenumber>.bak.

The database backup files are kept for three days and are then deleted.

2.        Transaction Logs

The transaction log backups are run via a SQL Server job that runs every 30 minutes on the half hour and the hour throughout the day.  The SQL Server job is named UserDatabases.Log Backups.  The logs are written to the directory U:\SQL Backups\<dbname>\. The naming convention is <dbname_yyyy_mm_dd_hhmmss_<lognumber>.trn.  The log files are kept for two days then deleted.

3.     Mirroring

The following Sharepoint databases are mirrored to the DR server  continuously.

  • WSS_Content (content database)

4.    Networker backups

The database files and the transaction logs are backed up by Networker daily at 9:00pm.

SharePoint Farm, Site Collection and Content Database Backup

We have three scheduled tasks running on the SharePoint Production Application Server.

  1. Full SP Farm Backup – It takes complete backup of the SharePoint Farm on which the SharePoint sites are hosted. The complete Farm backup includes backup of the farm configuration, Web Applications, IIS Configurations, Site Collections, Service Application databases, Content databases, and Configuration databases. This scheduled task calls the backup script to perform the backup and runs at 11:59 PM every Saturday (once in a week).
  2. RunDifferentialSPFarmBackup – It takes differential backup of the SharePoint Farm on which the SharePoint sites are hosted. It runs at 8:00 PM daily.
  3. HourlyContentDBBackup – It takes hourly backup of Content Database in order to ensure we have the latest Content database available in case of any disaster.

The Networker runs daily at 9:00 PM to copy these files over to the backup media tapes or devices.

The backups are run by powershell command tied to the Windows task scheduler.

Hope this simple strategy would help you in deciding your backup and Disaster recovery process in your enterprise.

Posted in SharePoint 2010 | Tagged: , | 1 Comment »

PSConfig fails System.InvalidOperationException, “Cannot start service SPAdminv4 on computer ‘.'” after CU install

Posted by Amit Bhatia on October 3, 2012

If you’ve experienced this error (System.InvalidOperationException, “Cannot start service SPAdminv4 on computer ‘.’) after installing SharePoint 2010 and failing consistently at the SharePoint 2010 Products Configuration Wizard, then this is likely to help:

(1) Browse to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN

(2) In this directory Create a file called “WSSADMIN.EXE.CONFIG”

(3) Populate it with the following:

<generatePublisherEvidence enabled=”false”/>

This disables checking for CAS publisher policy. MSDN article,

Posted in SharePoint 2010 CU | Tagged: , , | 7 Comments »

Searching For Value

"Helping You Master the Game of Investing"

Ideas with Conviction

The best thing about investing is the ease with which you can move your capital across different businesses, helping you capitalize on every opportunity..

CFA Institute Enterprising Investor

Practical analysis for investment professionals

Journeys of a Bumbling Trader

Learnings and Thoughts on Trading, Macroeconomics, Value Investing, Quantitative Finance, and Accounting

Flirting with Models

Research Library of Newfound Research

Alpha Ideas

Investment Blog for the Indian Markets

Fundoo Professor

Thoughts of a teacher & practitioner of value investing and behavioral economics