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

Forums / Bugs & Issues / administration section - index error

administration section - index error

7 posts, 0 answered
  1. Vangelis
    Vangelis avatar
    153 posts
    Registered:
    07 Jan 2006
    15 Mar 2008
    Link to this post
    Hello,

    On an upgraded version 3.2 (from 3.1) I entered administration and started indexing and from that time I cannot enter to administration section any more because it has some error

    Any help will be appreciated

    Best regards

    Vagelis

    Server Error in '/' Application.

    Could not find file 'C:\Program Files\telerik\Sitefinity3.2\WebSites\mysite32\App_Data\Search\index-all-pages\Index\segments'.

    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 'C:\Program Files\telerik\Sitefinity3.2\WebSites\mysite2\App_Data\Search\index-all-pages\Index\segments'.

    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:

    [FileNotFoundException: Could not find file 'C:\Program Files\telerik\Sitefinity3.2\WebSites\mysite32\App_Data\Search\index-all-pages\Index\segments'.]
    System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2094397
    System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +998
    System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +114
    Lucene.Net.Store.FSIndexInput..ctor(FileInfo path) +70
    Lucene.Net.Store.FSDirectory.OpenInput(String name) +66
    Lucene.Net.Index.SegmentInfos.Read(Directory directory) +44
    Lucene.Net.Index.AnonymousClassWith.DoBody() +41
    Lucene.Net.Store.With.Run() +56
    Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory) +102
    Telerik.Search.Engine.SearchManager.GetIndexingStatistics(String Provider) +144
    Telerik.Search.WebControls.Admin.ControlPanel.Indexes_ItemDataBound(Object sender, RepeaterItemEventArgs e) +323
    System.Web.UI.WebControls.Repeater.OnItemDataBound(RepeaterItemEventArgs e) +105
    System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +142
    System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +454
    System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +53
    System.Web.UI.WebControls.Repeater.DataBind() +72
    Telerik.Search.WebControls.Admin.ControlPanel.LoadMainScreenTemplate() +429
    Telerik.Search.WebControls.Admin.ControlPanel.CreateChildControls() +48
    System.Web.UI.Control.EnsureChildControls() +87
    System.Web.UI.Control.PreRenderRecursiveInternal() +41
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +2113321
    System.Web.UI.ControlCollection.Add(Control child) +146
    Telerik.Cms.Web.UI.ServiceList.CreateChildControls() +1016
    System.Web.UI.Control.EnsureChildControls() +87
    System.Web.UI.Control.PreRenderRecursiveInternal() +41
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360


    Version Information: Microsoft .NET Framework Version:2.0.50727.312; ASP.NET Version:2.0.50727.833

  2. Vangelis
    Vangelis avatar
    153 posts
    Registered:
    07 Jan 2006
    15 Mar 2008
    Link to this post
    Hi,

    I deleteed all entries on sf_Search_IndexignClient and sf_Search_IndexignService tables and I was able to view Sitefinity/Admin/CmsAdmin/Services.aspx

    I tried to recreate a new index and again the problem appeared again. On a 2nd try I was able to recreate index, but on search results nothing was found. When I did start reindex a new error appeared.

    Is there any known error on Search Indexing?

    Server Error in '/' Application.

    The process cannot access the file 'C:\Program Files\telerik\Sitefinity3.2\WebSites\mysite32\App_Data\Search\Page-Index\Index\_r.tis' because it is being used by another process.

    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.IOException: The process cannot access the file 'C:\Program Files\telerik\Sitefinity3.2\WebSites\mysite32\App_Data\Search\Page-Index\Index\_r.tis' because it is being used by another process.

    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:

    [IOException: The process cannot access the file 'C:\Program Files\telerik\Sitefinity3.2\WebSites\mysite32\App_Data\Search\Page-Index\Index\_r.tis' because it is being used by another process.]
    System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2095197
    System.IO.File.Delete(String path) +157
    Lucene.Net.Store.FSDirectory.Create() +360
    Lucene.Net.Store.FSDirectory.Init(FileInfo path, Boolean create) +239
    Lucene.Net.Store.FSDirectory.GetDirectory(FileInfo file, Boolean create) +271
    Telerik.Search.Engine.BaseIndexer..ctor(String directory, String provider, Boolean appendToIndex) +164
    Telerik.Search.Engine.HtmlIndexer..ctor(String directory, String provider, Boolean appendToIndex) +15

    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
    System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) +0
    System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType) +13
    System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +366
    System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1036
    System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +114
    Telerik.Search.Engine.Crawler.GetIndexers(String provider, Boolean appendToIndex) +303
    Telerik.Search.Engine.Crawler.SpiderURLs(String Provider, String[] urls, Boolean appendToIndex) +72
    Telerik.Search.Engine.IndexingManager.StartIndexing(String provider, String[] urls, String patterns, Boolean appendToIndex) +370
    Telerik.Search.WebControls.Admin.ControlPanel.Service_Command(Object sender, CommandEventArgs e) +329
    System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +105
    System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +163
    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) +174
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102


    Version Information: Microsoft .NET Framework Version:2.0.50727.312; ASP.NET Version:2.0.50727.833

  3. Nikifor
    Nikifor avatar
    232 posts
    Registered:
    18 May 2013
    19 Mar 2008
    Link to this post
    Hi Vagelis,

    These issues are connected to the search functionality and will be addressed for the upcoming 3.2 Service Pack 1 release.

    We apologize for any caused inconvenience.

    Best wishes,
    Nikifor Hristov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  4. jbull
    jbull avatar
    17 posts
    Registered:
    26 Jun 2012
    02 Apr 2008
    Link to this post
    I have this same problem now even after upgrading to 3.2 SP1.  In fact it wasn't until after SP1 for 3.2 that we even created an index. We are just in the process of rolling new site to production and so I was creating the index for the first time after moving the site to the new server and getting everything else working.  I created an index and told it to start and got an error.  Now i am unable to get back into the administrative site at all .
  5. Nikifor
    Nikifor avatar
    232 posts
    Registered:
    18 May 2013
    04 Apr 2008
    Link to this post
    Hello jbull,

    Sitefinity Service Pack 1 contains a lot of improvements in the Search Engine. Most of the issues connected to the search capabilities, along with the ones reported in this thread have been addressed.
    As we were not able to reproduce these exceptions using version 3.2 SP1, we'll be glad if you could provide more detailed instructions.

    Thank you for your cooperation.

    All the best,
    Nikifor
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Mike
    Mike avatar
    10 posts
    Registered:
    02 Oct 2008
    11 Feb 2009
    Link to this post

    I'm getting a similar error in version 3.5

    Server Error in '/' Application.

    The directory is not empty.

    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.IOException: The directory is not empty.


    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:

    [IOException: The directory is not empty.
    ]
       System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2056933
       System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive) +740
       System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive) +203
       Lucene.Net.Store.FSDirectory.Create() +412
       Lucene.Net.Store.FSDirectory.Init(FileInfo path, Boolean create) +239
       Lucene.Net.Store.FSDirectory.GetDirectory(FileInfo file, Boolean create) +271
       Telerik.Search.Engine.BaseIndexer..ctor(String directory, String provider, Boolean appendToIndex) +152
       Telerik.Search.Engine.HtmlIndexer..ctor(String directory, String provider, Boolean appendToIndex) +33
    
    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
       System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) +0
       System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType) +13
       System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +366
       System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1036
       System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +114
       Telerik.Search.Engine.Crawler.GetIndexer(String key, Dictionary`2 indexers, String provider, Boolean appendToIndex) +321
       Telerik.Search.Engine.Crawler.IndexContent(String provider, LinkedList`1 data, Boolean appendToIndex, Dictionary`2 indexers) +167
       Telerik.Search.Engine.Crawler.Index(String provider, String[] urls, LinkedList`1 data, Boolean appendToIndex) +143
       Telerik.Search.Engine.IndexingManager.StartIndexing(IIndexingService service, Boolean appendToIndex) +86
       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
  7. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    12 Feb 2009
    Link to this post
    Hello Mike,

    Please check the support thread you opened about this problem. We have replied you there.

    Sincerely yours,
    Georgi
    the Telerik team

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