We have strange problem with Umbraco 7.2, when we trying to delete node from code :
{"Message":"An error has occurred.","ExceptionMessage":"Could not find file '\AppData\TEMP\ExamineIndexes\Internal\Index\1ay.cfs'.","ExceptionType":"System.IO.FileNotFoundException","StackTrace":" at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)\r\n at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)"}
Have you tried clearing the indexes in the temp folder and then rebuilding them and see if you can succeed?
Otherwise could it be an option to upgrade to 7.2.1 and see if that fixes it? Even though it's not on the fixed issues list one never knows if it has been fixed because other related issues might have been fixed.
We can't delete node via code
We have strange problem with Umbraco 7.2, when we trying to delete node from code :
{"Message":"An error has occurred.","ExceptionMessage":"Could not find file '\AppData\TEMP\ExamineIndexes\Internal\Index\1ay.cfs'.","ExceptionType":"System.IO.FileNotFoundException","StackTrace":" at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)\r\n at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)"}
Deleting we are making with this code:
Thanks
Hi Alex
Have you tried clearing the indexes in the temp folder and then rebuilding them and see if you can succeed?
Otherwise could it be an option to upgrade to 7.2.1 and see if that fixes it? Even though it's not on the fixed issues list one never knows if it has been fixed because other related issues might have been fixed.
Looking forward to hearing from you.
/Jan
Hi Jan,
Thanks for you response. We fixed that issue with adding to the ApplicationStarted event rebuild all indexes.
It's little bit not perfect for performance of application start, but now we have fresh indexes after each deployment.
Thanks, Alexander
Hi Alex
Happy that you managed to get it solved and thanks for sharing your solution - It might become useful for others as well :)
Cheers, Jan
is working on a reply...