Friday, April 1, 2011

No users in SharePoint 2010 after successfull profile import

Well, to start with, to say it is successful is misleading but that is the scenario we faced.

In our brand new SharePoint 2010 farm, we configured profile synch from AD. Everything looks cool but no users was found. Not sure where they are going but the data is simply not in the user profile store. Luckily google and technet forum helped :-).  No error messages and no clue until I came across a technet post which I believe was written for SharePoint 2007 but I gave it a try.

But first, try to search for the users. SharePoint 2010 does not list the users. You need to search for them. Just type any letter and search. If no values returned, then you can try the below steps.

This what I did

1. From the Admin Tools --> Servicess Stopped the SharePoint Timer service

2. From the Central Admin --> Services on Server, stopped both the User Profile Service and User Profile Synchronization Service

3. Navigated to the C:\ProgramData\Microsoft\SharePoint\Config\<GUID> folder

4. Removed all the other xml files

5. Edited the cache.ini file to replace the value with 1 and saved the file

6. Started back the SharePoint Timer service, waited till all the xml files were recreated and the number on cache.ini file return to its original value

7. Started back the User Profile Service and User Profile Synchronization Service

8. Then under CA --> Application Management --> Manage Service Application --> User Profile --> Start Profile Synchronization

9. Waited and it worked :-)

10. The users will not be listed. You need to search for them.

Ref:  Technet forum post

1 comment: