No recovering from this is possible, as there data written but no rollback, you get various error messages like "Invalid object name 'SiteMapVisible'" , but you just lost your sharepoint platform.
Restoring the config DB is the only solution.

Solution :

Locate any orphan using SQL :

use SharePoint_Config
select distinct Id from dbo.Objects where ParentId not in (Select Id from dbo.Objects)

(find the IDs of object not having any parents objects == orphans)

Action :Warning : this not supported by MS and can destroy your sharepoint, backup first!

Friday, September 21, 2012

la KB officielle ; introduit en octobre 2010
http://support.microsoft.com/kb/2394320
Consider the following scenario. You try to import pictures in a user profile from the Active Directory thumbnailPhoto attribute to the PictureURL attribute in Microsoft SharePoint Server 2010. You set up an import PictureURL mapping. Then, you perform a full synchronization in the SharePoint server. In this scenario, the pictures are not added to the user profile in the SharePoint server.
Note You can use following command to perform the import operation:
Update-SPProfilePhotoStore -CreateThumbnailsForImportedPhotos 1 -MySiteHostLocation http:///my