皆さん、これは本当に奇妙です。Web データベースの Lucene インデックスを再構築しているときに、Sitecore インスタンス (6.4.1) が仮眠を取っています。ログ ファイルを見ると、インデックスの再構築が開始されるまではすべてが桃色であり、その後、ログは次のスタック トレースの MEGABYTES でいっぱいになり、何度も繰り返されます。
ManagedPoolThread #6 15:57:06 ERROR Failed to sort items
Exception: System.IO.FileNotFoundException
Message: Could not load file or assembly 'file:///[OTHER PROJECT LIBRARY].dll' or one of its dependencies. The system cannot find the file specified.
Source: mscorlib
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Sitecore.Reflection.ReflectionUtil.LoadAssembly(String name)
at Sitecore.Reflection.ReflectionUtil.CreateObject(String assembly, String className, Object[] parameters)
at Sitecore.Reflection.ReflectionUtil.CreateObject(String typeName, Object[] parameters)
at Sitecore.Data.Comparers.ComparerFactory.GetComparer(String sortingId, Database database)
at Sitecore.Data.Comparers.ComparerFactory.GetComparer(Item item)
at Sitecore.Configuration.Factory.GetItemComparer(Item item)
at Sitecore.Data.Managers.ItemProvider.Sort(ItemList items, Item owner)
([OTHER PROJECT LIBRARY].dll はプライバシー保護のために短縮されていますが、このプロジェクトの sitecore/website/bin ディレクトリへのフル パスです)
本当に奇妙なことは、この DLL が、ソリューションまたはファイル ツリー全体 (プロジェクト フォルダーと Web サイト フォルダーの両方) の両方で、どのような方法、形状、または形式でも参照されていないことです。
しかし、ここにオチがあります: この DLL は同じプロジェクトからのものではなく、私のワークステーションにある別のプロジェクトからのものです (このプロジェクトと一緒に独自の Sitecore インスタンスで実行されています)。
これはどのように起こりますか?プロジェクト A はプロジェクト B から DLL を参照しようとしていますが、この DLL はまったく参照されていません。データベースの EventQueue テーブルもチェックしました...ここで本当に頭がおかしくなり始めています。