System.IO.IOException: The process cannot access the file 'C:\local\Temp\ExamineIndexes\87b109f06c75ad52504281172cd4c66b\ContentIndex\_1.cfs' because it is being used by another process.
   at System.IO.FileSystem.DeleteFile(String fullPath)
   at System.IO.FileInfo.Delete()
   at Examine.Lucene.Directories.SyncedFileSystemDirectoryFactory.ClearDirectory(DirectoryInfo directoryInfo)
   at Examine.Lucene.Directories.SyncedFileSystemDirectoryFactory.SyncIndex(IndexWriter sourceIndexWriter, Boolean forceUnlock, String indexName, DirectoryInfo destinationDirectory, DirectoryInfo tempDir)
   at Examine.Lucene.Directories.SyncedFileSystemDirectoryFactory.TryCreateDirectory(LuceneIndex luceneIndex, Boolean forceUnlock, Directory& directory)
   at Examine.Lucene.Directories.SyncedFileSystemDirectoryFactory.CreateDirectory(LuceneIndex luceneIndex, Boolean forceUnlock)
   at Examine.Lucene.Directories.DirectoryFactoryBase.Examine.Lucene.Directories.IDirectoryFactory.CreateDirectory(LuceneIndex luceneIndex, Boolean forceUnlock)
   at Umbraco.Cms.Infrastructure.Examine.ConfigurationEnabledDirectoryFactory.CreateDirectory(LuceneIndex luceneIndex, Boolean forceUnlock)
   at Examine.Lucene.Directories.DirectoryFactoryBase.Examine.Lucene.Directories.IDirectoryFactory.CreateDirectory(LuceneIndex luceneIndex, Boolean forceUnlock)
   at Examine.Lucene.Providers.LuceneIndex.<>c__DisplayClass1_0.<.ctor>b__0()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.get_Value()
   at Examine.Lucene.Providers.LuceneIndex.GetLuceneDirectory()
   at Examine.Lucene.Providers.LuceneIndex.IndexExistsImpl()
   at Examine.Lucene.Providers.LuceneIndex.IndexExists()
   at Examine.Lucene.Providers.LuceneIndex.EnsureIndex(Boolean forceOverwrite)
   at Examine.Lucene.Providers.LuceneIndex.get_IndexWriter()
   at Examine.Lucene.Providers.LuceneIndex.CreateSearcher()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location ---
   at System.Lazy`1.CreateValue()
   at Examine.Lucene.Providers.LuceneIndex.get_Searcher()
   at DuluxGroup.CMSWeb.Services.ContentIndexQueryService.GetContentsBySearchRequestModel(String indexName, String[] includeNodeTypeAliases, SearchRequestModel searchRequestModel) in D:\a\1\s\src\DuluxGroup.CMSWeb\Services\ContentIndexQueryService.cs:line 79
   at DuluxGroup.CMSWeb.Services.ItemListingService.GetContentsByStarterNodeAndCriteria(ItemListingSource itemListingSource, IEnumerable`1 criteria) in D:\a\1\s\src\DuluxGroup.CMSWeb\Services\ItemListingService.cs:line 244
   at DuluxGroup.CMSWeb.Services.ItemListingService.GetContentInfoModelsFromChildNode(ItemListingSource itemListingSource, Int32 numberOfDisplayItems) in D:\a\1\s\src\DuluxGroup.CMSWeb\Services\ItemListingService.cs:line 140
   at DuluxGroup.CMSWeb.Services.ItemListingService.GetSortedAndOrderedContentInfos(ItemListingSource itemListingSource, Int32 numberOfDisplayItems) in D:\a\1\s\src\DuluxGroup.CMSWeb\Services\ItemListingService.cs:line 114
   at DuluxGroup.CMSWeb.Services.ItemListingService.GetViewModel(ItemListing itemListing) in D:\a\1\s\src\DuluxGroup.CMSWeb\Services\ItemListingService.cs:line 47
   at AspNetCore.Views_Partials_grid_editors_DocTypeGridEditor_itemListing.ExecuteAsync()
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult.ExecuteAsync(ViewComponentContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper.InvokeCoreAsync(ViewComponentDescriptor descriptor, Object arguments)
   at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper.RenderDocTypeGridEditorItem(IViewComponentHelper helper, IHtmlHelper htmlHelper, IPublishedElement content, String editorAlias, String viewPath, String previewViewPath, Boolean isPreview) in D:\a\1\s\src\Our.Umbraco.DocTypeGridEditor\Helpers\DocTypeGridEditorHelper.cs:line 254
   at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper.RenderDocTypeGridEditorItem(IViewComponentHelper helper, IHtmlHelper htmlHelper, Object model) in D:\a\1\s\src\Our.Umbraco.DocTypeGridEditor\Helpers\DocTypeGridEditorHelper.cs:line 222
   at CallSite.Target(Closure, CallSite, Object)
   at AspNetCore.app_plugins_doctypegrideditor_render_doctypegrideditor.ExecuteAsync() in C:\home\site\wwwroot\app_plugins\doctypegrideditor\render\doctypegrideditor.cshtml:line 4
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData)
   at AspNetCore.Views_Partials_grid_editors_base.ExecuteAsync() in C:\home\site\wwwroot\Views\Partials\grid\editors\base.cshtml:line 6
System.IO.IOException: The process cannot access the file 'C:\local\Temp\ExamineIndexes\87b109f06c75ad52504281172cd4c66b\ContentIndex\_1.cfs' because it is being used by another process.
   at System.IO.FileSystem.DeleteFile(String fullPath)
   at System.IO.FileInfo.Delete()
   at Examine.Lucene.Directories.SyncedFileSystemDirectoryFactory.ClearDirectory(DirectoryInfo directoryInfo)
   at Examine.Lucene.Directories.SyncedFileSystemDirectoryFactory.SyncIndex(IndexWriter sourceIndexWriter, Boolean forceUnlock, String indexName, DirectoryInfo destinationDirectory, DirectoryInfo tempDir)
   at Examine.Lucene.Directories.SyncedFileSystemDirectoryFactory.TryCreateDirectory(LuceneIndex luceneIndex, Boolean forceUnlock, Directory& directory)
   at Examine.Lucene.Directories.SyncedFileSystemDirectoryFactory.CreateDirectory(LuceneIndex luceneIndex, Boolean forceUnlock)
   at Examine.Lucene.Directories.DirectoryFactoryBase.Examine.Lucene.Directories.IDirectoryFactory.CreateDirectory(LuceneIndex luceneIndex, Boolean forceUnlock)
   at Umbraco.Cms.Infrastructure.Examine.ConfigurationEnabledDirectoryFactory.CreateDirectory(LuceneIndex luceneIndex, Boolean forceUnlock)
   at Examine.Lucene.Directories.DirectoryFactoryBase.Examine.Lucene.Directories.IDirectoryFactory.CreateDirectory(LuceneIndex luceneIndex, Boolean forceUnlock)
   at Examine.Lucene.Providers.LuceneIndex.<>c__DisplayClass1_0.<.ctor>b__0()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.get_Value()
   at Examine.Lucene.Providers.LuceneIndex.GetLuceneDirectory()
   at Examine.Lucene.Providers.LuceneIndex.IndexExistsImpl()
   at Examine.Lucene.Providers.LuceneIndex.IndexExists()
   at Examine.Lucene.Providers.LuceneIndex.EnsureIndex(Boolean forceOverwrite)
   at Examine.Lucene.Providers.LuceneIndex.get_IndexWriter()
   at Examine.Lucene.Providers.LuceneIndex.CreateSearcher()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location ---
   at System.Lazy`1.CreateValue()
   at Examine.Lucene.Providers.LuceneIndex.get_Searcher()
   at DuluxGroup.CMSWeb.Services.ContentIndexQueryService.GetContentsBySearchRequestModel(String indexName, String[] includeNodeTypeAliases, SearchRequestModel searchRequestModel) in D:\a\1\s\src\DuluxGroup.CMSWeb\Services\ContentIndexQueryService.cs:line 79
   at DuluxGroup.CMSWeb.Services.ItemListingService.GetContentsByStarterNodeAndCriteria(ItemListingSource itemListingSource, IEnumerable`1 criteria) in D:\a\1\s\src\DuluxGroup.CMSWeb\Services\ItemListingService.cs:line 244
   at DuluxGroup.CMSWeb.Services.ItemListingService.GetContentInfoModelsFromChildNode(ItemListingSource itemListingSource, Int32 numberOfDisplayItems) in D:\a\1\s\src\DuluxGroup.CMSWeb\Services\ItemListingService.cs:line 140
   at DuluxGroup.CMSWeb.Services.ItemListingService.GetSortedAndOrderedContentInfos(ItemListingSource itemListingSource, Int32 numberOfDisplayItems) in D:\a\1\s\src\DuluxGroup.CMSWeb\Services\ItemListingService.cs:line 114
   at DuluxGroup.CMSWeb.Services.ItemListingService.GetViewModel(ItemListing itemListing) in D:\a\1\s\src\DuluxGroup.CMSWeb\Services\ItemListingService.cs:line 47
   at AspNetCore.Views_Partials_grid_editors_DocTypeGridEditor_itemListing.ExecuteAsync()
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult.ExecuteAsync(ViewComponentContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper.InvokeCoreAsync(ViewComponentDescriptor descriptor, Object arguments)
   at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper.RenderDocTypeGridEditorItem(IViewComponentHelper helper, IHtmlHelper htmlHelper, IPublishedElement content, String editorAlias, String viewPath, String previewViewPath, Boolean isPreview) in D:\a\1\s\src\Our.Umbraco.DocTypeGridEditor\Helpers\DocTypeGridEditorHelper.cs:line 254
   at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper.RenderDocTypeGridEditorItem(IViewComponentHelper helper, IHtmlHelper htmlHelper, Object model) in D:\a\1\s\src\Our.Umbraco.DocTypeGridEditor\Helpers\DocTypeGridEditorHelper.cs:line 222
   at CallSite.Target(Closure, CallSite, Object)
   at AspNetCore.app_plugins_doctypegrideditor_render_doctypegrideditor.ExecuteAsync() in C:\home\site\wwwroot\app_plugins\doctypegrideditor\render\doctypegrideditor.cshtml:line 4
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData)
   at AspNetCore.Views_Partials_grid_editors_base.ExecuteAsync() in C:\home\site\wwwroot\Views\Partials\grid\editors\base.cshtml:line 6

GET THE LOOK

Do you need help selecting the right colour for your timber?
Take a look at our interior and exterior inspiration to help you pick the right timber colour for your home