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

Forums / Bugs & Issues / Administration Module, and Publish page error, Search index related

Administration Module, and Publish page error, Search index related

9 posts, 0 answered
  1. David
    David  avatar
    78 posts
    Registered:
    29 Dec 2008
    12 Oct 2009
    Link to this post
    Sitefinity version: 3.6.1936.3

    When I attempt to go into the administration page, search site, or publish a page: I get a could not find file …….\App_Data\Search\searchresults\Index\_1m8.cfs

    The only cfs file I have in my local back folder is a _15.cfs file.  I suspect those file are generated by SiteFinity when a search index is set up.

    When I attempt to publish a page I get the same error, but the page does publish.

    I discover I can get the Admin module up and running if I delete all entries in sf_SearchIndexignClient and sf_Search_IndexignService tables.  
    However this does not fix the publish problem and search box.

    Do I need to create a new search index to get everything working again?

     Could not find file '\\fs1-n01\stor1wc1dfw1\376719\378403\www.greenvilleindustry.com\web\content\App_Data\Search\searchresults\Index\_1m8.cfs'. 
    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.IO.FileNotFoundException: Could not find file '\\fs1-n01\stor1wc1dfw1\376719\378403\www.greenvilleindustry.com\web\content\App_Data\Search\searchresults\Index\_1m8.cfs'. 
     
    [FileNotFoundException: Could not find file '\\fs1-n01\stor1wc1dfw1\376719\378403\www.greenvilleindustry.com\web\content\App_Data\Search\searchresults\Index\_1m8.cfs'.] 
       Telerik.Lucene.Net.Index.FindSegmentsFile.run() +1727 
       Telerik.Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory) +33 
       Telerik.Search.Engine.BaseIndexer.RemoveFromIndex(Guid[] ids) +90 
       Telerik.Search.Engine.IndexingManager.DeleteDocumentsFromIndex(String provider, Guid[] documentIds) +124 
       Telerik.Search.Engine.IndexingService.Client_Index(Object sender, IndexEventArgs e) +39 
       Telerik.Cms.Search.PageIndexProvider.OnIndex(IndexEventArgs args) +22 
       Telerik.Cms.Search.PageIndexProvider.CmsManager_Executed(Object sender, ExecutedEventArgs e) +767 
       Telerik.ManagerBase`1.OnExecuted(Object sender, ExecutedEventArgs args) +180 
       Telerik.Cms.CmsManager.RaiseExecuted(CmsProvider sender, ExecutedEventArgs args) +10 
       Telerik.Cms.Data.StagedPage.Publish() +580 
       Telerik.Cms.Data.StagedPage.CheckIn() +116 
       Telerik.Cms.Web.UI.ToolBar.Button_Command(Object sender, CommandEventArgs e) +123 
       System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +108 
       System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +135 
       System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175 
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565 
     

    Thanks for any help,
    David
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    13 Oct 2009
    Link to this post
    Hi David ,

    Most probably you have made any manual changes to the database before that or you have removed the following index searchresults manually from the website root and database, but some reference has left.
    There is also one additional table that has data about the search and it is [sf_Search_ClientSettings].
    Auto index is enabled for your website and the error is thrown each time you publish a page, because this runs the crawler internally.

    Try clearing all references to your indexes - somewhere you have a reference that is called by FindSegmentsFile. Let us know how it goes.

    Best wishes,
    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. David
    David  avatar
    78 posts
    Registered:
    29 Dec 2008
    15 Oct 2009
    Link to this post
    Hi Ivan,

        Sorry it took me so long to response  I had another paying site that I had to work on.  Anyway I got the Magazine search functions working again.  I deleted everything in Search_clientSettings, Search_IndexignClient, Search_IndexignService and Search_Variables table on my development server.   That fix the Admin module from erroring out and has allow me to recreate the search index.  I think the front end of the site is searching good, only ran one test.

      I was unable to find a reference that is called by FindSegmentsFile. I did not change anything manually with the database or the code.  I am not sure if the site admin play around the backend in Sitefinity.  I will keep my eyes on it, and let you know if returns, could have been a fluke.

    Anyway, I am going to create my steps on the live site, after some more testing.  I will be starting my second paying sitefinity site next week. 
    Thanks,
    David 
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    15 Oct 2009
    Link to this post
    Hi David ,

    Thank you for getting back to me.

    Let us know if you get stuck somewhere. The issue with search indexes was quite weird, but it is good to hear that everything is working fine after removing database references.

    Kind 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.
  5. David
    David  avatar
    78 posts
    Registered:
    29 Dec 2008
    16 Oct 2009
    Link to this post
    Hi Ivan,
     
        I attempt to do the changes last night, and I got IO exception error.  Cannot create directory. I am betting this is what mess up the search indexs.  Mosso attempted last night to create a symlink folder to correct this problem.  The site is hosted under a subaccount of the main account this created IO permission problem in a medium trust. 

      The server admins what me to make my links absolute in the web.config.  This does not make sense to me. 
    Convert <add name="Site Panelbar" section="Navigation" url="~/Sitefinity/UserControls/Navigation35/SitePanelbar.ascx" /> to an absolute look link c:\wwwroot\.......

    Is there any reason Sitefinity would not be able to work with symlink?  I am thinking they set up symlink incorrectly, could be wrong.

    David
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    16 Oct 2009
    Link to this post
    Hi David ,

    There should not be a problem using relative path. Most probably your project should be set up to run in medium trust.

    Best wishes,
    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.
  7. David
    David  avatar
    78 posts
    Registered:
    29 Dec 2008
    16 Oct 2009
    Link to this post
    Thanks Ivan,

       I got those settings already set in the web.config file.  I think the Mosso Admin set up the symlink incorrectly.  Thanks for comfirming the ~/ is relative.  For some reason the tech support was insisting that was not right.

    David
  8. David
    David  avatar
    78 posts
    Registered:
    29 Dec 2008
    17 Oct 2009
    Link to this post
    Hi Ivan,

        Here is an update for you. I got the site back up and running.  I had Mosso remove their symlink and was still getting security errors.  The site was completely down.

       In order to get the site back up, I had to upgrade Sitefinity and get it running on my develop server.   I then upload the database, and the entire site. 

     I was able to obtain a web_customtrust.config file from mosso that allows me to test the site local using their modified medium trust settings.  The 3.6 site work perfect.  So I am not sure why the upgrade to 3.7 fix the site on the live server.   

      Here is the link, if anybody wants to test Sitefinity with Mosso settings:
    http://help.rackspacecloud.com/lore/attachment.php?id=81
     
    Mosso new settings is not fully compatible with Sitefinity.  The following breaks the Search Index features.
      Mosso statement on the bug: FileIO - We are actively working with Microsoft to correct the documented FileIO bug that prevents folder creation via .NET under modified Medium Trust.  

    Lessons Learn: Don't let them do the symlink temp fix. 

    David
  9. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    21 Oct 2009
    Link to this post
    Hello David ,

    Thank you for getting back to us.

    We are happy to see that you have managed to sort this issue out. It is great that you have shared your experience and steps to resolve the issue with the Sitefinity Community.

    If you have more questions, please feel free to raise a support ticket or ask in the forums.

    Greetings,
    Radoslav Georgiev
    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.
Register for webinar
9 posts, 0 answered