More in this section

Forums / Developing with Sitefinity / Search Index Error

Search Index Error

4 posts, 0 answered
  1. Joel Konecny
    Joel Konecny avatar
    11 posts
    Registered:
    20 Mar 2009
    10 Dec 2009
    Link to this post
    When we create a search index it only indexes a fraction of the words on our site. The following is the error message from the log file. It shows up over and over again for many different pages of our site. We need help getting the index working. Thanks. We are running 3.7.

    - L0 -------------------------------------------------------------------------------

    Exception Type: Telerik.Framework.Search.IndexExcepton

    Message: An error has occurred while indexing the following document:  "~/email-form.aspx". Please see inner exception for more details.

    Source:

    Stack Trace:

    ------------------------------------------------------------------------------------
    - L1 -------------------------------------------------------------------------------

    Exception Type: System.Web.HttpException

    Message: Error executing child request for handler 'Telerik.Cms.Search.IndexInternalPageHandler'.

    Source: System.Web

    Stack Trace:
       at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
       at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage)
       at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm)
       at Telerik.Cms.Search.PageIndexerInfo.GetInternalPageData()
    ------------------------------------------------------------------------------------
    - L2 -------------------------------------------------------------------------------

    Exception Type: System.Web.HttpUnhandledException

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

    Source: System.Web

    Stack Trace:
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at Telerik.Cms.Search.IndexInternalPageHandler.ProcessRequest(HttpContext context)
       at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
    ------------------------------------------------------------------------------------
    - L3 -------------------------------------------------------------------------------

    Exception Type: System.Web.HttpException

    Message: Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.

    Source: System.Web

    Stack Trace:
       at System.Web.UI.Page.get_Session()
       at System.Web.UI.UserControl.get_Session()
       at WebEditR_UserControls_Navigation_Navigation_Flat_Control.Page_Load(Object sender, EventArgs e)
       at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
       at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.AddedControl(Control control, Int32 index)
       at System.Web.UI.ControlCollection.Add(Control child)
       at Telerik.Cms.Web.InternalPage.AddPageControls(IPageContent pageContent, Dictionary`2 placeHolders)
       at Telerik.Cms.Web.InternalPage.AddPageControls(IPageContent pageContent, Dictionary`2 placeHolders)
       at Telerik.Cms.Web.InternalPage.CreateChildControls()
       at System.Web.UI.Control.EnsureChildControls()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    ------------------------------------------------------------------------------------
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    11 Dec 2009
    Link to this post
    Hello Joel Konecny,

    Most probably you have some control on the ~/email-form.aspx or on your master page that stops the crawler. Could you try to create a new simple master page - without any css, js or controls. Then create 5-10 pages and drop GenericContent control on them. Create a simple text content. Create a new page index and run it only for  thne newly create group of pages. Check whether the content is indexed correctly.


    Regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. gopalraman gopal
    gopalraman gopal avatar
    52 posts
    Registered:
    03 Dec 2009
    28 Apr 2010
    Link to this post
    hi

    i created custom indexing with event modue. when i try to index the search i got the following error

    Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.

    and events are not indexed properly.Can you tell what is the reason?

    Thanks
    G.GopalRaman
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    28 Apr 2010
    Link to this post
    Hello gopalraman gopal,

    Please take a look at the forum thread you have previously opened - http://www.sitefinity.com/support/forums/sitefinity-3-x/developing-with-sitefinity/error-while-creating-custom-event-indexing-with-session-state.aspx. Lets keep the conversation in the other thread to be easier to follow.

    Regards,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Register for webinar
4 posts, 0 answered