Reindexing Problem

Posted by Community Admin on 03-Aug-2018 06:02

Reindexing Problem

All Replies

Posted by Community Admin on 16-Jun-2011 00:00

I tried to reindex my website but i got

Exception of type 'System.Web.HttpUnhandledException' was thrown.

is it bug on sitefinity 4.1 ?

Posted by Community Admin on 16-Jun-2011 00:00

Hi John,

The error you get is most probably the result of a custom control that cannot be indexed, thus breaking all the whole process.

You can have custom controls on your pages, however if any of the controls contain code which somehow messes up with search engine indexation you may experience errors like this one.

Have you tried to create a new website from the Project Manager and add some of the default controls and then index it? Can you run such a test and check if the error still shows up. If the problem comes from a custom control you need to escape the crawler request. Please refer to the following code sample:

if (this.Page.Items["IsInIndexMode"] == null)
 
  // your logic here.
 

Greetings,
Victor Velev
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed