|Number of votes:||1|
Ever had trouble with SearchDataSource on a migrated site where you have changed the master language? Well, you're not the only one.
Changing master language using a tool like Advanced Language Manipulation Tool will not affect the fkLanguangeBranchID in the tblKeyword table. That is why you might get "Object reference not set to an instance of an object" when trying to search using the SearchDataSource control (due to the page security check in the public TextSearchResults SearchPages(), the page will be null and an unhandled exception is thrown).
A colleague of mine, Øyvind, found a tool for rebuilding the keyword index ("hidden" as an FAQ).
The tool is easy to install, just download the .epimodule file and install it using EPiServer Deployment Center.
For source code, module download and more please visit
The language manipulation tool was originally created by Adam Najmanowicz.