2

我在 Azure 中有两个 Sitecore 7.2 网站,其中一个是测试,另一个是产品。这些站点是彼此的副本,唯一的区别是 Prod 有一个公共 URL。他们使用相同的数据库和 usr/pwd。

将所有内容从 Test 复制到 Prod 后,Prod 站点在用户尝试登录 Sitecore 后开始抛出错误。看起来 Sitecore 试图创建支持票,但我无法弄清楚错误的真正含义。任何帮助表示赞赏。

这是错误信息

“/”应用程序中的服务器错误。

Could not load file or assembly 'file:///D:\home\site\wwwroot\bin\Sitecore.Support.400292.400293.dll' or one of its dependencies. The system cannot find the file specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'file:///D:\home\site\wwwroot\bin\Sitecore.Support.400292.400293.dll' or one of its dependencies. The system cannot find the file specified.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'file:///D:\home\site\wwwroot\bin\Sitecore.Support.400292.400293.dll' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Stack Trace: 

[FileNotFoundException: Could not load file or assembly 'file:///D:\home\site\wwwroot\bin\Sitecore.Support.400292.400293.dll' or one of its dependencies. The system cannot find the file specified.]
   System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
   System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +34
   System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +152
   System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) +102
   System.Reflection.Assembly.LoadFrom(String assemblyFile) +34
   Sitecore.Reflection.ReflectionUtil.LoadAssembly(String name) +222
   Sitecore.Reflection.ReflectionUtil.CreateObject(String assembly, String className, Object[] parameters) +11
   Sitecore.Reflection.ReflectionUtil.CreateObject(String typeName, Object[] parameters) +126
   Sitecore.Shell.Framework.Commands.CommandManager.ReadCommands() +467
   Sitecore.Shell.Framework.Commands.CommandManager..cctor() +50

[TypeInitializationException: The type initializer for 'Sitecore.Shell.Framework.Commands.CommandManager' threw an exception.]
   Sitecore.Shell.Framework.Commands.CommandManager.GetCommand(String name) +0
   Sitecore.Web.UI.HtmlControls.Menu.GetCommand(String message) +69
   Sitecore.Web.UI.HtmlControls.Menu.AddMenuItem(Control parent, Item child, String target, CommandContext context) +181
   Sitecore.Web.UI.HtmlControls.Menu.AddFromDataSource(Item item, Control parent, String target, CommandContext context) +355
   Sitecore.Web.UI.HtmlControls.Menu.AddFromDataSource(Item item, String target) +52
   Sitecore.Web.UI.HtmlControls.DataContextMenu.OnLoad(EventArgs e) +57
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
4

1 回答 1

1

它不是创建支持票,而是从字面上说出您需要知道的内容。它缺少一个文件,它希望在 D:\home\site\wwwroot\bin\Sitecore.Support.400292.400293.dll 中找到该文件

检查此 dll 的配置文件。对我来说,似乎 web.config 转换出错了(因为站点核心支持 DLL 通常不包含 2 个问题编号。

于 2014-06-05T13:52:00.547 回答