Monday, April 18, 2011

Exception from HRESULT: 0x80040D1B error was displayed when trying to access the search settings from SSP

If you get this error -->

Exception from HRESULT: 0x80040D1B

when you try to access the search settings from SSP, check whether you have any duplicate entries in

 \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Applications\{site GUID}\Gather\Portal_Content\Extensions\ExtensionList.

If you do, remove it, stop and start the MOSS Search service again.

I accidentally created duplicate entries in the list above when deployed PDF iFilter and got the error above.

Below is what you will see in your event viewer,

--------------------------------

The gatherer object cannot be initialized.

Context: Application '<>_SSP_Admin', Catalog 'Portal_Content'

Details:
    A duplicate extension entry exists in the registry. The duplicate extension should be deleted, but all other extensions are unaffected.   (0x80040d0b)

-------------------------------------------

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