Проблемы с запуском Sitecore 7.2 в Azure

У меня есть два веб-сайта Sitecore 7.2 в Azure, один из которых — Test, а другой — Prod. Сайты являются копиями друг друга, разница лишь в том, что 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

person Mister GK    schedule 05.06.2014    source источник


Ответы (1)


Это не создание заявки в службу поддержки, а буквальное изложение того, что вам нужно знать. Отсутствует файл, и он ожидает, что этот файл будет найден в папке D:\home\site\wwwroot\bin\Sitecore.Support.400292.400293.dll.

Проверьте файлы конфигурации для этой dll. Мне кажется, что преобразование web.config пошло не так (поскольку библиотеки DLL поддержки sitecore обычно не включают 2 номера проблем.

person IvanL    schedule 05.06.2014
comment
Что ж, оказывается, в Sitecore действительно отсутствовал файл. Но это, однако, не было указано ни в каких конфигурационных файлах, скорее Sitecore.Kernel.dll включал эту dll исправления безопасности. - person Mister GK; 06.06.2014