【发布时间】:2016-09-27 09:18:05
【问题描述】:
我在 Sitecore 8.1 上有这个项目,它工作得很好。最近我不得不将它迁移到另一台服务器。我在新服务器上恢复了数据库,复制了网站文件夹,并在新服务器上启动。
一切都很好,除了一件事:当我删除一个项目时,客户端会冻结。 我有这样的日志行
23144 10:52:39 信息审核 (sitecore\admin):回收项目: master:/sitecore/content/Home/myfolder/myitem
关闭网站后,日志中出现错误:
22592 11:07:07 ERROR 删除项目时出错异常: System.Threading.ThreadAbortException 消息:线程正在 中止。来源: System.Threading.Monitor.Enter(Object obj) 在 Sitecore.Configuration.Factory.CreateObject(String configPath,String[] 参数,布尔断言)在 Sitecore.Search.SearchManager.get_SearchConfiguration() 在 Sitecore.Data.Managers.IndexingManager.UpdateIndexAsync(数据库 数据库)在 Sitecore.MainUtil.RaiseEvent[T](EventHandler1 订阅者,对象发送者,T eventArgs)在 Sitecore.Data.Engines.HistoryEngine.RegisterItemDeleted(项目项,ID oldParentId) 在 System.EventHandler1.Invoke(Object sender, TEventArgs e) 在 Sitecore.Data.Engines.EngineCommand2.RaiseEvent[TArgs](EventHandler1 处理程序,Func2 argsCreator)在 Sitecore.Data.Archiving.SqlArchive.DoArchiveItems(IEnumerable`1 项, ID archiveId) 在 Sitecore.Data.DataProviders.NullRetryer.Execute[T](Func1 动作, 行动恢复)在 Sitecore.Data.Archiving.SqlArchive.ArchiveItem(Item item) 在 Sitecore.Data.Items.Item.Recycle() 在 Sitecore.Shell.Framework.Pipelines.DeleteItems.Delete(List1 items)
在 Sitecore.Shell.Framework.Pipelines.DeleteItems.Execute(ClientPipelineArgs 参数)
我不确定这是否与客户端冻结有关,或者只是因为我在删除结束之前关闭了应用程序。
你们中的任何人都知道客户端冻结的原因吗?
【问题讨论】:
-
您的应用程序是否有权访问您的索引(也可以写入)?
-
我不知道。我该如何检查?
-
检查文件夹的权限是否找到索引并检查安全权限。由于您确实有日志,因此您可以将它们与日志文件夹进行比较。不确定这是您的问题,只是一种可能性..
-
我重建了包括搜索索引在内的所有索引,更改了文件夹的权限(如您所说)并修复了它。谢谢你的主意。如果您将其发布为答案,我将其标记为答案:-p
标签: sitecore sitecore8.1 content-editor