Search Indexing Issue Sitefiity 4.2 SP1
Hi!
I am getting an error " Object reference not set to an instance of an object" when I perform search reindexing. My website has around 800 pages. I upgraded this site from SF 4.1 SP1 to SF 4.2 SP1.
Can you please help me in this? What are the causes which may produce this error in this scenario.
Thanks
Hello Waqar,
This is a general error which does not fully describe the problem. Can you tell us when did you start to get the message - immediately after the upgrade? Do you have custom controls on your website? Some of them might be breaking the index but indeed it is strange if it has worked before.
What you need is to escape the crawler request. Please refer to the following code sample:
if (this.Page.Items["IsInIndexMode"] == null)
// your logic here.