CHUVASH.eu

CHunky Universe of Vigourous Astonishing SHarepoint :)

Configure User Profile Service Application

Today I have struggled with User Profile Service Application. I should have followed this awesome tutorial by ShareponitGeorge.

And many thanks to my friend David for the great assistance!

One important thing to beware about: Forefront Identity Manager Service must be running. Otherwise you don’t see the existing synchronization connections and you can’t add new connections.

thanks to johan

You can ensure that this service is running by running services.msc (just press Windows button and write services). Or you can do in powershell:

Get-Service FIMService

If the status is stopped. Start it:

Start-Service FIMService

We can even restart this service with one cmdlet:

Restart-Service FIMService

Another useful service is IISAdmin, you need to restart if you add registry keys for your host-named site collections.

For starting and stoping services in Powershell, you can even use aliases:

sasv : start-service

spsv : stop-service

User Profile Service must be running too
/_admin/Server.aspx

and Sync Service:
net stop FIMSynchronizationService
net start FIMSynchronizationService

See better logs

There is an desktop application where you can see all logs for every single account sync:

C:\Program Files\Microsoft Office Servers\14.0\Synchronization Service\UIShell\miisclient.exe
KB2560890 and ups issues

If you have installed KB2560890, and encounter issues, follow the steps described on this blog.

iisreset

After starting Microsoft recommends to restart IIS (iisreset). Don’t forget it, otherwise you can get this error when you try to see Synchronization Connections:

An error has occurred while accessing the SQL Server database or the SharePoint Server Search service. If this is the first time you have seen this message, try again later. If this problem persists, contact your administrator.

Or in uls you can see:

System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)    
	at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)     
	at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager..ctor(UserProfileApplicationProxy userProfileApplicationProxy, Guid partitionID)     
	at Microsoft.SharePoint.Portal.WebControls.ManageProfileProperty._BuildPropertyMappingList()     
	at Microsoft.SharePoint.Portal.WebControls.ManageProfileProperty..ctor()     
	at ASP._layouts_mgrproperty_aspx.__BuildControlMgrProperty1()     
	at ASP._layouts_mgrproperty_aspx.__BuildControl__control6(Control __ctrl)     
	at ASP._admin_admin_master.__BuildControlP...

You don’t need to change anything in the database. Just restart the IIS, or (better) just recycle the central admin application pool.

$appPool = gwmi -Namespace "root\MicrosoftIISv2" -class "IIsApplicationPool" `
| where {$_.Name -eq "W3SVC/APPPOOLS/SharePoint Central Administration v4"}
$appPool.Recycle()
Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

Discovering SharePoint

And having fun doing it

Bram de Jager talking Office 365, SharePoint and Azure

My view and thoughts on Productivity and more.

My programming life

and everything in between

SharePoint Development Lab by @avishnyakov

It is a good place to share some SharePoint stories and development practices.

SharePoint Dragons

Nikander & Margriet on SharePoint

RealActivity - Real-time and trustworthy

Blog site of founder, RealActivty - Paul J. Swider

Mai Omar Desouki - Avid SharePointer

Egyptian & Vodafoner - Senior SharePoint Consultant

Cameron Dwyer | Office 365, SharePoint, Outlook, OnePlace Solutions

Office 365, SharePoint, OnePlace Solutions & Life's Other Little Wonders

paul.tavares

Me and My doings!

Share SharePoint Points!!

By Mohit Vashishtha

Jimmy Janlén "Den Scrummande Konsulten"

Erfarenheter, synpunkter och raljerande om Scrum från Jimmy Janlén

SPJoel

SharePoint for everyone

SharePointRyan

Ryan Dennis is a SharePoint Solution Architect with a passion for SharePoint and PowerShell

SharePoint 2020

The Vision for a Future of Clarity

Aharoni in Unicode, ya mama

Treacle tarts for great justice

... And All That JS

JavaScript, Web Apps and SharePoint

blksthl

Mostly what I know about SharePoint - CommunicoCuspis

%d bloggers like this: