Copied to clipboard

Flag this post as spam?

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


  • Rune Grønkjær 1372 posts 3103 karma points
    Aug 15, 2012 @ 09:51
    Rune Grønkjær
    0

    Deleted App_Data\TEMP folder - Made Publish crash

    Hi Guys,

    Normally deleting the app data TEMP folder is no problem and we do it a lot when copying websites to reset all temp files. Normally the TEMP folder will just recreate itself.

    Now I deleted the folder in Umbraco 4.8.0.0 and when trying to publish any page recieved the following error. Does that mean that we can/should no longer delete the TEMP folder?

    Could not find a part of the path 'D:\inetpub\wwwroot\planday.dk\www\App_Data\TEMP\ExamineIndexes\Internal\Index\'.

    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.DirectoryNotFoundException: Could not find a part of the path 'D:\inetpub\wwwroot\planday.dk\www\App_Data\TEMP\ExamineIndexes\Internal\Index\'.

    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: 

    [DirectoryNotFoundException: Could not find a part of the path 'D:\inetpub\wwwroot\planday.dk\www\App_Data\TEMP\ExamineIndexes\Internal\Index\'.]
       System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +224
       System.IO.FileSystemEnumerableIterator`1.CommonInit() +245
       System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler) +556
       System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption) +64
       System.IO.DirectoryInfo.GetFiles() +14
       Lucene.Net.Store.FSDirectory.ListAll(DirectoryInfo dir) +28
       Lucene.Net.Store.FSDirectory.ListAll() +21
       Lucene.Net.Index.SegmentInfos.GetCurrentSegmentGeneration(Directory directory) +35
       Examine.LuceneEngine.Providers.LuceneIndexer.IndexExists() +18
       Examine.LuceneEngine.Providers.LuceneIndexer.AddNodesToIndex(IEnumerable`1 nodes, String type) +45
       UmbracoExamine.UmbracoContentIndexer.AddSingleNodeToIndex(XElement node, String type) +135
       UmbracoExamine.BaseUmbracoIndexer.ReIndexNode(XElement node, String type) +58
       UmbracoExamine.UmbracoContentIndexer.ReIndexNode(XElement node, String type) +150
       Examine.ExamineManager._ReIndexNode(XElement node, String type, IEnumerable`1 providers) +81
       UmbracoExamine.UmbracoEventManager.IndexMedia(Media sender) +182
       UmbracoExamine.UmbracoEventManager.Document_AfterSave(Document sender, SaveEventArgs e) +332
       umbraco.cms.businesslogic.web.Document.FireAfterSave(SaveEventArgs e) +27
       umbraco.cms.businesslogic.web.Document.Save() +180
       umbraco.cms.presentation.editContent.Save(Object sender, EventArgs e) +1931
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       umbraco.controls.ContentControl.saveClick(Object Sender, ImageClickEventArgs e) +319
       umbraco.controls.ContentControl.savePublish(Object Sender, ImageClickEventArgs e) +20
       System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +115
       System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +120
       System.Web.UI.WebControls.ImageButton.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) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
    



    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

    Thanks

    /Rune

  • Will Maginn 8 posts 31 karma points
    Sep 07, 2012 @ 17:50
    Will Maginn
    2

    Hey Rune,

    Came accross this issue myself, I simply recycled the application pool of the website in IIS.

    Then republished one page to get the indexs to regenerate, off the back of the publish event.

    Thanks,

    Will

Please Sign in or register to post replies

Write your reply to:

Draft