Thursday, May 17, 2012

User Profile Service got stuck on Starting

I have installed the Dec 2011 CU and User Profile Service was stopped working (Known issue) after the upgrade, I have followed the below steps to enable the User profile service back


  1. Restarted the timer service
  2. added the farm admin account to local administrators on windows server
  3. started the User profile Synchronization service from the Central Admin
  4. Once it started then deleted the farm admin account from the local administrators group on windows server
  5. IISRESET
The above steps fixed the problem for me.

PostSetupConfigurationTaskException - Failed to upgrade SharePoint Products

I just applied a SharePoint 2010 Dec 2011 CU . Running the Products Configuration Wizard (psconfig) ended with the following error:


Task upgrade has failed with a PostSetupConfigurationTaskException An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: Failed to upgrade SharePoint Products.


Solution: Run the Configuration Wizard as administrator again and it worked.

Tuesday, May 15, 2012

SharePoint WarmUp Solution

SharePoint.WarmUp (by Sogeti) is a SharePoint 2010 feature deploying a job in charge to keep all SharePoint sites (and additional URL if needed) awake.

http://sharepointwarmup.codeplex.com/

Nintex Workflow: This task is currently locked by a running workflow and cannot be edited.

Check this post for the below error message:


This task is currently locked by a running workflow and cannot be edited


http://connect.nintex.com/forums/thread/6503.aspx

AD user in SharePoint people picker


SharePoint People Picker: Values are pulled from Active Directory each and every time the control is loaded   ALSO shows accounts that are on the site collection, no matter their status, enabled, disabled, or deleted.
For the accounts loaded from AD, by default only shows enabled accounts.  If you want it to show both enabled and disabled accounts, we have to set an AD custom filter on each site collection where you want to show disabled users.  The filter string will be similar to:   (&(objectCategory=person)(objectClass=user)(|(userAccountControl:1.2.840.113556.‌​1.4.803:=2)(!userAccountControl:1.2.840.113556.1.4.803:=2)))
or this might also work: (&(objectCategory=person)(objectClass=user)
It can be set with:  stsadm -o setproperty -url http://url -pn peoplepicker-searchadcustomfilter -pv
There is no way to show accounts that are no longer in AD.

SharePoint User Profiles: Values are synchronized each evening from Active Directory
No filters currently on this, will import both enabled and disabled, but we can set a filter.
Deleted users and sites are cleaned up periodically
See this article for more details: