Sitecore ERROR重建"快速搜索索引"在WFFM 2.4安装尝试之后 - System.Threading.LockRecursionException

时间:2015-07-01 19:03:17

标签: sitecore sitecore7.2 web-forms-for-marketers

我尝试在Sitecore 7.2初始版本上为营销人员2.4安装WebForms。安装过程只会挂起,永远不会完成。我最终从备份中恢复了数据库,并恢复了文件结构。但是,我们开始在日志中看到数百个(过去12小时内有1300多个)这些错误:

ManagedPoolThread #11 23:59:31 ERROR Could not update index entry. Action: 'Saved', Item: '{656E306F-8837-42E6-8334-38E44D39B736}'
Exception: System.Threading.LockRecursionException
Message: Recursive read lock acquisitions not allowed in this mode.
Source: System.Core
   at System.Threading.ReaderWriterLockSlim.TryEnterReadLockCore(TimeoutTracker timeout)
   at System.Threading.ReaderWriterLockSlim.TryEnterReadLock(TimeoutTracker timeout)
   at System.Threading.ReaderWriterLockSlim.TryEnterReadLock(Int32 millisecondsTimeout)
   at Sitecore.Search.IndexDeleteContext..ctor(ILuceneIndex index)
   at Sitecore.Search.Crawlers.DatabaseCrawler.DeleteItem(Item item)
   at Sitecore.Search.Crawlers.DatabaseCrawler.UpdateItem(Item item)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at Sitecore.Data.Managers.IndexingProvider.UpdateItem(HistoryEntry entry, Database database)
   at Sitecore.Data.Managers.IndexingProvider.UpdateIndex(HistoryEntry entry, Database database)

FYI ...所有这些错误都引用了这7个项目的GUID:

/sitecore/system/Tasks/Schedules/CleanOutItemLocksTask
/sitecore/system/Tasks/Schedules/Email Reports schedule
/sitecore/system/Tasks/Schedules/ldapScheduleTask
/sitecore/system/Tasks/Schedules/SyncEverythingTask
/sitecore/system/Tasks/Schedules/UpdateNewsEventsCategories
/sitecore/system/Tasks/Schedules/SyncHotItems
/sitecore/system/Tasks/Schedules/UpdateTbisTags

我的第一个修复是重建索引。重建Core,Master和Web数据库索引是成功的。重建"快速搜索索引"产生这个错误:

Job started: RebuildSearchIndex|System.Threading.LockRecursionException: 
Recursive read lock acquisitions not allowed in this mode.
   at System.Threading.ReaderWriterLockSlim.TryEnterReadLockCore(TimeoutTracker timeout)
   at System.Threading.ReaderWriterLockSlim.TryEnterReadLock(TimeoutTracker timeout)
   at System.Threading.ReaderWriterLockSlim.TryEnterReadLock(Int32 millisecondsTimeout)
   at Sitecore.Search.IndexUpdateContext..ctor(ILuceneIndex index)
   at Sitecore.Search.Index.Rebuild()
   at Sitecore.Shell.Applications.Search.RebuildSearchIndex.RebuildSearchIndexForm.Builder.Build()|Job ended: RebuildSearchIndex (units processed: )

我仍然在谷歌搜索可能的解决方案,但我很感激您对此可能有任何建议。

1 个答案:

答案 0 :(得分:2)

感谢jRobbins ......直到现在我才想到这一点......我通过Web.config修改重新启动Sitecore应用程序(即,更改Web.config中的任何内容并保存它重新启动应用程序),这似乎解决了这个问题。也许这将对未来的其他人有所帮助:]