+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Indexing Error

Indexing Error

4 posts, 0 answered
  1. Scott Smith
    Scott Smith avatar
    4 posts
    Registered:
    15 Apr 2005
    18 Jul 2008
    Link to this post
    Hi...I'm having a problem indexing my site for the first time.  When I select ALL PAGES to index I am getting the following error when I then try the index:

     

    Value cannot be null.
    Parameter name: url

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentNullException: Value cannot be null.
    Parameter name: url

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [ArgumentNullException: Value cannot be null.
    Parameter name: url]
       Telerik.Cms.Search.PageIndexerInfo..ctor(String url, Guid pageId, CultureInfo culture) +127
       Telerik.Cms.Search.PageIndexProvider.AddPage(ICmsPage page, List`1 list) +276
       Telerik.Cms.Search.PageIndexProvider.GetContentToIndex() +313
       Telerik.Search.Engine.IndexingService.GetContentToIndex() +92
       Telerik.Search.Engine.IndexingManager.StartIndexing(IIndexingService service, Boolean appendToIndex) +66
       Telerik.Search.WebControls.Admin.ControlPanel.Service_Command(Object sender, CommandEventArgs e) +307
       System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +105
       System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +132
       System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +177
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
  2. Nikola
    Nikola avatar
    51 posts
    Registered:
    24 Sep 2012
    21 Jul 2008
    Link to this post
    Hi Scott Smith,

    This exception is result of page without Url being passed for indexing. It usually happens when you add pages to the CMS by code, not using the built-in form.

    Please, check your table sf_CmsPageProps for PageType=2 and ExternalUrl=NULL and let us know of the results.

    Kind regards,
    Nikola
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Scott Smith
    Scott Smith avatar
    4 posts
    Registered:
    15 Apr 2005
    31 Jul 2008
    Link to this post
    Hi Nikola:

    I do have one row in the database like this.  What do I need to do to fix it?

    Scott
  4. Nikola
    Nikola avatar
    51 posts
    Registered:
    24 Sep 2012
    01 Aug 2008
    Link to this post
    Hello Scott Smith,

    Please accept our apologies for the delayed response.
    The page of that type (External Page) needs to have an url, and the quickest way to fix it is to enter a valid url in ExternalUrl column.

    Notice that when you create a page inside Sitefinity administration, the Url field is required for External pages. So you can get an empty Url value if you're trying to insert pages by code.

    Don't hesitate to contact us if you have other questions.

    Best wishes,
    Nikola
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
4 posts, 0 answered