SharePoint 2010, User Profile Synchronization and Forefront Services… Chapter 2

In the aftermath:

To continue the story, see Chapter 1 for the lead in, last night Windows updates were applied and the whole server environment restarted.  As a result all the errors except the User Profile Synchronization/Service has been resolved.  An interesting note is the ASP.NET Expired Sessions error is still showing but on the data server, the job exists, is named correctly and is running without issue.  It may have something to do with the change of networks, etc.  and may require adding a static path to the box because it may be able to find the server.

So, truly this blog is going to focus on UPS.  Yesterday, I wasn’t so sure…

The Current Errors:

  • Verify that the critical User Profile Application and User Profile Proxy Application timer jobs are available and have not been mistakenly deleted.
  1. A required timer job for a User Profile Application or User Profile Application Proxy is missing.
  2. The repair action will recreate missing timer jobs required for the User Profile Application or User Profile Application Proxy.

Microsoft send you to the following link.

Did those steps and nothing was resolved.   This is because a non-functioning UPS service never completely deleted.  It took restarting the server to resolve.  Now when I return back to Central Admin, the error above is gone.


Skipping Expired Sessions for now, addressing User Profile Synchronization Issues

  1. Go through and verify that the Farm Account is set up correctly
  2. Make sure that it has local permissions on the server so it can start and run the forefront serfvices
  3. Stop and Restart the Time Service. 

Since that didn’t effect all the changes, went into the error log, found that there were a lot of DCOM errors…

My First Clue?


Digging a little deeper?


Hundreds of these errors…


Note the CLSID and the user account…

Regedit search returns…


A quick trip into Component Services… tracing down the DCOM list to WAMREG… my farm account did not exist.  I added it and gave it full rights. 


The Remote Launch and Activation are probably overkill but at this point…I can always scale it back.  Back to powershell…


Ok, still no love from the server.  But with luck there should be a new error…nope but still more stuff to check.


You will probably get sick of updating the properties of the Forefront identity services but until this is resolved (permissions) they will keep switching to disabled.

  • Expired sessions are not being deleted from the ASP.NET Session State database.
  1. If expired sessions are not deleted, the server that hosts the ASP.NET Session State database may run out of disk space and the SharePoint farm may cease to function.
  2. Connect to the server that hosts the ASP.NET Session State database, start the SQL Server Agent service, and verify that a DeleteExpiredSessions job is registered for the database. If you are using SQL Server Express, the SQL Server Agent service is not available.

I set up the job On SQL and verified that runs on the server as an unattended job.  My suspicion is that there may be a permission issue between SharePoint and SQL.   So first it’s off to SQL to check logs…

Nothing.  The SQL Server is happy and running just fine.

Time to stop here and wait for another reboot.  Hopefully the additional changes will fix the outstanding issues.

Published by


Originally, this was a pretty darn boring post. Kinda like... Well I won't go there. Perhaps its still on the robotic side but... I could say I like music. Safe, generic and non-comittal. Or, I could say that I've been having a blast tuning up my old guitars, getting blisters on my fingers and turning the amp up past 2. Amazaing what a little overdrive and a half pressed wahwah pedal can do for a sound. Get that cool "Money for Nothin" vibe happening. I get a real kick out of reading old Sci Fi. Reading Asimov's vision about the future is really entertaining now. When he wrote much of the material, the items that were futuristic were day to day tools I used in the early part of my career. Microfiche and the like. I also remember that upstart Microsoft and MS DOS...and can you say Lotus 123? So maybe this is a little better than "I like to read and play music". My career is focused on Team Leadership and Technology. Both share the attributes of continual growth and education. Currently, I manage a team of 4 programmers as direct reports. I've been in this role since 08/2007. Prior to that, I was the team lead (on site) for integration with the customer. Customers ranged from local government to manufacturing and medical. Teams ranged in size from one to six additional team members. On the other side is technology. I've been keeping current with .net technologies focusing on C# and Sharepoint (2007/2010). Specialties Team Building and Management Technical Staff Recruiting Microsoft Visual Studio 7 through 2010 (VB.NET and C#.NET) Microsoft SQL Server 6.5-2008R2 (DTS, TSQL, SSIS, SSAS, and SSRS ) SharePoint 2010 (Office Integration, InfoPath, Site Management and planning) Windows Server 2008 R2 AD DS PowerShell Techology analysis Puchasng and working with vendors Microsoft licensing management and compliance Business Systems Analysis Traning plans Mentoring Training coordination.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s