Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Christine 115 posts 288 karma points
    Apr 25, 2014 @ 22:52
    Christine
    0

    Media picker breaks page when image is selected

    I'm using the media picker in one of my templates.  I'm working with Umbraco 7 and Visual Studio 2012.  It works in visual studio but when I publish and put it on the server, it breaks the page and I get an error.  If I delete the image, the page works again.  Any suggestion where I might start looking to solve this?  This has worked previously and started breaking today.  This is the error:

    Runtime Error

    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

    <!-- Web.Config Configuration File -->
    
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>


    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

    <!-- Web.Config Configuration File -->
    
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>
  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 25, 2014 @ 23:08
    Jan Skovgaard
    0

    Hi Christine

    Are you using the same database for your local site and your staging environment?

    If so you will need to make sure that the xml cache is republished on your stage environment so it knows about the selected image. You also need to make sure that your code take empty values into account so people don't see a yellow screen of death (YSOD).

    Could you share your code?

    Looking forward to hearing from you.

    /Jan

  • Christine 115 posts 288 karma points
    Apr 29, 2014 @ 16:02
    Christine
    0

    Hi Jan,

     

    I am using the local built in database and it is the same in both environments.  It may be a publishing issue from Visual Studio?  Is there a list available of folders that should be included and ones that shouldn't?  Where is the xml cache located so that I can check?  Even if I put in a new image using the media picker, it breaks.  Currently the page only works when no image is selected.

     This is the code for the media picker:

    @{

    if (CurrentPage.HasValue("sbPageGraphic"))

    {

    var dynamicMediaItem = Umbraco.Media(CurrentPage.sbPageGraphic);

    <img class="img-responsive" src="@dynamicMediaItem.Url" alt="@CurrentPage.altText" />

    }

    }

     

    Thanks,

    Christine

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 29, 2014 @ 16:09
    Jan Skovgaard
    0

    Hi Christine

    Ok, so you're using the CE SQL database?

    Do the image nodes exist in the backoffice on your server? And how about the /media/ files?

    /Jan

  • Christine 115 posts 288 karma points
    Apr 29, 2014 @ 16:22
    Christine
    0

    Hi Jan,

    I am using the CE SQL database.  The media files are present on the staging environment.  The image nodes are there too.

    Christine

  • Christine 115 posts 288 karma points
    Apr 29, 2014 @ 16:26
    Christine
    0

    I also tried adding a new image to the media section with a unique name and selecting it with the media picker on the staging environment and I still get the YSOD

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 29, 2014 @ 16:30
    Jan Skovgaard
    0

    Hi Christine

    Ok, so you can browse the media nodes in the media section in Umbraco and see the attached images as well?

    Forgot to tell you about the XML cache in my previous post.

    You can republish it by right clicking the "Content" node in the content section. Then you see an option that is called "Republish entire site". When you click this it updates/rebuilds the XML cache, which is located in /app_data/umbraco.config - However it's not neccesary to touch the file but just rebuild it from Umbraco.

    Hope this helps.

    /Jan

  • Christine 115 posts 288 karma points
    Apr 29, 2014 @ 16:59
    Christine
    0

    Hi Jan,

     

    I can see all the media images in the media section.

    I Republished the entire site, however I am still experiencing the same issue.

    Christine

  • Christine 115 posts 288 karma points
    Apr 29, 2014 @ 17:00
    Christine
    0

    The republish site happened in a split second....shouldn't it take a few seconds?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 29, 2014 @ 17:07
    Jan Skovgaard
    0

    Hi Christine

    No, that's very normal. All it does is updating the XML cache - it's not to be confused with publishing nodes, which would take longer.

    This issue seems pretty weird - In the first post you tried posting an error message but to me it does not make that much sense.

    However on your server could you try having a look in the /app_data/logs file and see if there are any entries marked with "ERROR" and post them in here then?

    /Jan

  • Christine 115 posts 288 karma points
    Apr 29, 2014 @ 17:20
    Christine
    0

    Sure - this is a long post - sorry!

    2014-04-29 09:50:44,741 [9] ERROR Umbraco.Core.PluginManager - [Thread 10] Error creating type Umbraco.Core.Models.PublishedContent.PublishedPropertyType+CompatConverter

    System.MissingMethodException: No parameterless constructor defined for this object.

       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)

       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

       at System.Activator.CreateInstance(Type type, Boolean nonPublic)

       at System.Activator.CreateInstance(Type type)

       at Umbraco.Core.PluginManager.CreateInstances[T](IEnumerable`1 types, Boolean throwException)

    ----------------------

    2014-04-29 09:56:49,575 [36] ERROR Umbraco.Core.PluginManager - [Thread 4] Error creating type Umbraco.Core.Models.PublishedContent.PublishedPropertyType+CompatConverter

    System.MissingMethodException: No parameterless constructor defined for this object.

       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)

       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

       at System.Activator.CreateInstance(Type type, Boolean nonPublic)

       at System.Activator.CreateInstance(Type type)

       at Umbraco.Core.PluginManager.CreateInstances[T](IEnumerable`1 types, Boolean throwException)

    --------------------------

    2014-04-29 09:56:57,908 [36] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 37] An unhandled exception occurred

    System.ApplicationException: Could not create an index searcher with the supplied lucene directory ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'.

       at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)

       at Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly)

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       --- End of inner exception stack trace ---

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       at UmbracoExamine.UmbracoExamineSearcher.GetSearchFields()

       at UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation)

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id)

       at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)

       at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound)

       at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)

       at ASP._Page_Views_SidebarPage_cshtml.Execute() in c:\inetpub\wwwroot\Umbraco\Views\SidebarPage.cshtml:line 27

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

       at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()

       at System.Web.WebPages.StartPage.ExecutePageHierarchy()

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)

       at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)

       at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

       at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__19()

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()

       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    ---------------------------------------------

    2014-04-29 10:24:10,066 [36] ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 25] Provider=InternalIndexer, NodeId=-1

    System.Exception: Error indexing queue items,Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'., IndexSet: InternalIndexSet

    -----------------------------------------------

    2014-04-29 10:24:33,606 [36] ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 18] Provider=InternalIndexer, NodeId=-1

    System.Exception: Error indexing queue items,Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'., IndexSet: InternalIndexSet

    -----------------------------------------------

    System.Exception: Error indexing queue items,Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'., IndexSet: InternalIndexSet

    2014-04-29 10:24:51,436 [36] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 23] An unhandled exception occurred

    System.ApplicationException: Could not create an index searcher with the supplied lucene directory ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'.

       at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)

       at Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly)

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       --- End of inner exception stack trace ---

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       at UmbracoExamine.UmbracoExamineSearcher.GetSearchFields()

       at UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation)

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id)

       at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)

       at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound)

       at ASP._Page_Views_SidebarPage_cshtml.Execute() in c:\inetpub\wwwroot\Umbraco\Views\SidebarPage.cshtml:line 27

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

       at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()

       at System.Web.WebPages.StartPage.ExecutePageHierarchy()

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)

       at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)

       at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

       at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__19()

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()

       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    -----------------------------------------------------

    2014-04-29 10:24:53,282 [36] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 18] An unhandled exception occurred

    System.ApplicationException: Could not create an index searcher with the supplied lucene directory ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'.

       at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)

       at Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly)

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       --- End of inner exception stack trace ---

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       at UmbracoExamine.UmbracoExamineSearcher.GetSearchFields()

       at UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation)

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id)

       at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)

       at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound)

       at ASP._Page_Views_SidebarPage_cshtml.Execute() in c:\inetpub\wwwroot\Umbraco\Views\SidebarPage.cshtml:line 27

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

       at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()

       at System.Web.WebPages.StartPage.ExecutePageHierarchy()

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)

       at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)

       at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

       at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__19()

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()

       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    -----------------------------------------------------------

    2014-04-29 10:24:53,954 [36] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 29] An unhandled exception occurred

    System.ApplicationException: Could not create an index searcher with the supplied lucene directory ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'.

       at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)

       at Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly)

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       --- End of inner exception stack trace ---

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       at UmbracoExamine.UmbracoExamineSearcher.GetSearchFields()

       at UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation)

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id)

       at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)

       at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound)

       at ASP._Page_Views_SidebarPage_cshtml.Execute() in c:\inetpub\wwwroot\Umbraco\Views\SidebarPage.cshtml:line 27

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

       at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()

       at System.Web.WebPages.StartPage.ExecutePageHierarchy()

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)

       at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)

       at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

       at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__19()

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()

       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    -------------------------------------------------------------

    2014-04-29 10:41:44,757 [36] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 43] An unhandled exception occurred

    System.ApplicationException: Could not create an index searcher with the supplied lucene directory ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'.

       at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)

       at Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly)

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       --- End of inner exception stack trace ---

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       at UmbracoExamine.UmbracoExamineSearcher.GetSearchFields()

       at UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation)

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id)

       at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)

       at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound)

       at ASP._Page_Views_SidebarPage_cshtml.Execute() in c:\inetpub\wwwroot\Umbraco\Views\SidebarPage.cshtml:line 27

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

       at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()

       at System.Web.WebPages.StartPage.ExecutePageHierarchy()

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)

       at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)

       at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

       at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__19()

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()

       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    --------------------------------------------------------

    2014-04-29 10:41:47,025 [36] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 5] An unhandled exception occurred

    System.ApplicationException: Could not create an index searcher with the supplied lucene directory ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'.

       at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)

       at Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly)

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       --- End of inner exception stack trace ---

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       at UmbracoExamine.UmbracoExamineSearcher.GetSearchFields()

       at UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation)

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id)

       at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)

       at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound)

       at ASP._Page_Views_SidebarPage_cshtml.Execute() in c:\inetpub\wwwroot\Umbraco\Views\SidebarPage.cshtml:line 27

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

       at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()

       at System.Web.WebPages.StartPage.ExecutePageHierarchy()

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)

       at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)

       at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

       at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__19()

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()

       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    ------------------------------------------------------

    2014-04-29 10:56:28,584 [36] ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 38] Provider=InternalIndexer, NodeId=-1

    System.Exception: Error indexing queue items,Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'., IndexSet: InternalIndexSet

    -------------------------------------------------------

    2014-04-29 10:56:28,584 [36] ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 38] Provider=InternalIndexer, NodeId=-1

    System.Exception: Error indexing queue items,Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'., IndexSet: InternalIndexSet

    ------------------------------------------------------

    2014-04-29 10:56:33,484 [36] ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 39] Provider=InternalIndexer, NodeId=-1

    System.Exception: Error indexing queue items,Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'., IndexSet: InternalIndexSet

    ------------------------------------------------------

    2014-04-29 10:56:37,873 [36] ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 44] Provider=InternalIndexer, NodeId=-1

    ----------------------------------------------------

    2014-04-29 10:56:37,873 [36] ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 44] Provider=InternalIndexer, NodeId=-1

    System.Exception: Error indexing queue items,Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'., IndexSet: InternalIndexSet

    ------------------------------------------------------

    2014-04-29 10:56:43,319 [36] ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 4] Provider=InternalIndexer, NodeId=-1

    System.Exception: Error indexing queue items,Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'., IndexSet: InternalIndexSet

    -------------------------------------------------------

    System.Exception: Error indexing queue items,Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'., IndexSet: InternalIndexSet

    2014-04-29 10:56:51,746 [36] INFO  Umbraco.Core.Publishing.PublishingStrategy - [Thread 24] Content 'Custom-Software-About-Konverge' with Id '1080' has been published.

    ----------------------------------------------------

    2014-04-29 10:56:51,796 [36] ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 23] Provider=InternalIndexer, NodeId=-1

    System.Exception: Error indexing queue items,Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'., IndexSet: InternalIndexSet

    --------------------------------------------------

    2014-04-29 10:57:09,502 [36] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 24] An unhandled exception occurred

    System.ApplicationException: Could not create an index searcher with the supplied lucene directory ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'.

       at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)

       at Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly)

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       --- End of inner exception stack trace ---

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       at UmbracoExamine.UmbracoExamineSearcher.GetSearchFields()

       at UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation)

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id)

       at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)

       at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound)

       at ASP._Page_Views_SidebarPage_cshtml.Execute() in c:\inetpub\wwwroot\Umbraco\Views\SidebarPage.cshtml:line 27

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

       at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()

       at System.Web.WebPages.StartPage.ExecutePageHierarchy()

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)

       at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)

       at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

       at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__19()

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()

       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    ---------------------------------------------------------

    2014-04-29 10:57:10,374 [36] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 23] An unhandled exception occurred

    System.ApplicationException: Could not create an index searcher with the supplied lucene directory ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'.

       at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)

       at Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly)

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       --- End of inner exception stack trace ---

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       at UmbracoExamine.UmbracoExamineSearcher.GetSearchFields()

       at UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation)

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id)

       at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)

       at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound)

       at ASP._Page_Views_SidebarPage_cshtml.Execute() in c:\inetpub\wwwroot\Umbraco\Views\SidebarPage.cshtml:line 27

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

       at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()

       at System.Web.WebPages.StartPage.ExecutePageHierarchy()

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)

       at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)

       at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

       at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__19()

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()

       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    -----------------------------------------------

    2014-04-29 10:57:56,015 [36] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 40] An unhandled exception occurred

    System.ApplicationException: Could not create an index searcher with the supplied lucene directory ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'.

       at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)

       at Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly)

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       --- End of inner exception stack trace ---

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       at UmbracoExamine.UmbracoExamineSearcher.GetSearchFields()

       at UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation)

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id)

       at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)

       at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound)

       at ASP._Page_Views_SidebarPage_cshtml.Execute() in c:\inetpub\wwwroot\Umbraco\Views\SidebarPage.cshtml:line 27

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

       at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()

       at System.Web.WebPages.StartPage.ExecutePageHierarchy()

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)

       at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)

       at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

       at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__19()

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()

       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    -----------------------------------------------------------------

    2014-04-29 10:57:56,849 [36] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 38] An unhandled exception occurred

    System.ApplicationException: Could not create an index searcher with the supplied lucene directory ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'.

       at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)

       at Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly)

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       --- End of inner exception stack trace ---

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       at UmbracoExamine.UmbracoExamineSearcher.GetSearchFields()

       at UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation)

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id)

       at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)

       at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound)

       at ASP._Page_Views_SidebarPage_cshtml.Execute() in c:\inetpub\wwwroot\Umbraco\Views\SidebarPage.cshtml:line 27

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

       at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()

       at System.Web.WebPages.StartPage.ExecutePageHierarchy()

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)

       at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)

       at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

       at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__19()

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()

       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    ---------------------------------------------------------------

    2014-04-29 11:00:58,926 [36] ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 42] Provider=InternalIndexer, NodeId=-1

    System.Exception: Error indexing queue items,Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'., IndexSet: InternalIndexSet

    ----------------------------------------------------------

    System.Exception: Error indexing queue items,Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'., IndexSet: InternalIndexSet

    2014-04-29 11:01:03,087 [36] INFO  Umbraco.Core.Publishing.PublishingStrategy - [Thread 4] Content '404' with Id '1483' has been published.

    ---------------------------------------------------------

    2014-04-29 11:01:03,158 [36] ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 14] Provider=InternalIndexer, NodeId=-1

    System.Exception: Error indexing queue items,Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'., IndexSet: InternalIndexSet

    ------------------------------------------------------

    2014-04-29 11:01:10,395 [36] ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 19] Provider=InternalIndexer, NodeId=-1

    System.Exception: Error indexing queue items,Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'., IndexSet: InternalIndexSet

    ---------------------------------------------------

    2014-04-29 11:01:45,081 [36] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 42] An unhandled exception occurred

    System.ApplicationException: Could not create an index searcher with the supplied lucene directory ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'.

       at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)

       at Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly)

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       --- End of inner exception stack trace ---

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

       at UmbracoExamine.UmbracoExamineSearcher.GetSearchFields()

       at UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation)

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id)

       at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)

       at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound)

       at ASP._Page_Views_SidebarPage_cshtml.Execute() in c:\inetpub\wwwroot\Umbraco\Views\SidebarPage.cshtml:line 27

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

       at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()

       at System.Web.WebPages.StartPage.ExecutePageHierarchy()

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)

       at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)

       at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

       at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__19()

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()

       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    -------------------------------------------------------------

    2014-04-29 11:01:45,875 [36] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 24] An unhandled exception occurred

    System.ApplicationException: Could not create an index searcher with the supplied lucene directory ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\Umbraco\App_Data\TEMP\ExamineIndexes\Internal\Index\segments_15b'.

       at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)

       at Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly)

       at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)

     

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 29, 2014 @ 23:35
    Jan Skovgaard
    100

    Hi Christine

    Wow lot's of examine issues it seems - when you do your deploy from local dev to your stage environment how do you do it? Do you copy over all files and folders?

    I'm not sure but I'm thinking perhaps it's an issue with the temp examine indexes if they're copied from local to dev maybe something can go wrong. Long shot but perhaps worth the try...if you go to /app_data/TEMP/Examine/* and go into each folder and delete the files - don't delete any folders.

    Does that help then?

    /Jan

  • Christine 115 posts 288 karma points
    Apr 30, 2014 @ 15:26
    Christine
    0

    Hi Jan,

    Yes that resolved the issue - thanks!

    Christine

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 30, 2014 @ 15:33
    Jan Skovgaard
    0

    Hi Christine

    Glad to hear we managed to figure out what went wrong :)

    Don't know if you're (in your setup) able to run a build-script or something where the TEMP folder is ignored so this does not happen again?

    /Jan

  • Christine 115 posts 288 karma points
    Apr 30, 2014 @ 15:41
    Christine
    0

    I will try to exclude them next time :)

Please Sign in or register to post replies

Write your reply to:

Draft