More in this section

Forums / General Discussions / Reindexing Problem

Reindexing Problem

2 posts, 0 answered
  1. John
    John avatar
    17 posts
    03 Mar 2008
    16 Jun 2011
    Link to this post
    I tried to reindex my website but i got

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

    is it bug on sitefinity 4.1 ?
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    06 Jul 2015
    16 Jun 2011
    Link to this post
    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.

    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
2 posts, 0 answered