2017-01-19 10 views
0

Обновление с sitecore 6.6.0 (версия 130529) до 7 и все работало нормально, пока я не попытался получить доступ к «Редактору контента». Я получаю эту странную ошибку и не знаю, что нужно сделать.Обновление Sitecore с 6.6 до 7.0

Exception: System.Web.HttpUnhandledException 
Message: Exception of type 'System.Web.HttpUnhandledException' was thrown. 
Source: System.Web 
at System.Web.UI.Page.HandleError(Exception e) 
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
at System.Web.UI.Page.ProcessRequest() 
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) 
at System.Web.UI.Page.ProcessRequest(HttpContext context) 
at ASP.sitecore_shell_applications_content_manager_default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\953a4a3d\d5c79dc4\App_Web_l41k3wf4.2.cs:line 0 
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 

Nested Exception 

Exception: System.Reflection.TargetInvocationException 
Message: Exception has been thrown by the target of an invocation. 
Source: mscorlib 
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 
at Sitecore.Reflection.ReflectionUtil.CallMethod(Type type, Object obj, String methodName, Boolean includeNonPublic, Boolean includeInherited, Boolean includeStatic, Object[] parameters) 
at Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e) 
at System.Web.UI.Control.PreRenderRecursiveInternal() 
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 

Nested Exception 

Exception: System.TypeLoadException 
Message: Access is denied: 'Sitecore.Shell.Applications.ContentEditor.RenderingDatasource'. 
Source: mscorlib 
at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type) 
at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase) 
at Sitecore.Web.UI.XmlControls.ControlSource.ResolveType(String controlName, Assembly assembly) 
at Sitecore.Web.UI.XmlControls.AssemblyControlSource.ResolveType(String controlName, Boolean includeDynamicTypes) 
at Sitecore.Web.UI.XmlControls.ControlSource.GetControlType(String namespacePrefix, String controlName, String mode, Boolean includeDynamicTypes) 
at Sitecore.Web.UI.XmlControls.ControlFactory.GetControlType(String controlName, String mode, Boolean includeDynamicTypes) 
at Sitecore.Web.UI.XmlControls.ControlFactory.GetControl(Control parent, String controlName, String mode, Object[] properties, AllowGenericControl allowGeneric) 
at Sitecore.Shell.Applications.ContentEditor.EditorFormatter.GetEditor(Item fieldType) 
at Sitecore.Shell.Applications.ContentEditor.EditorFormatter.RenderField(Control parent, Field field, Item fieldType, Boolean readOnly, String value) 
at Sitecore.Shell.Applications.ContentEditor.EditorFormatter.RenderField(Control parent, Field field, Item fieldType, Boolean readOnly) 
at Sitecore.Shell.Applications.ContentEditor.EditorFormatter.RenderField(Control parent, Field field, Boolean readOnly) 
at Sitecore.Shell.Applications.ContentEditor.EditorFormatter.RenderSection(Section section, Control parent, Boolean readOnly) 
at Sitecore.Shell.Applications.ContentEditor.EditorFormatter.RenderSections(Control parent, Sections sections, Boolean readOnly) 
at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderStandardContentEditor.Process(RenderContentEditorArgs args) 
at (Object , Object[]) 
at Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters) 
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) 
at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) 
at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args, String pipelineDomain) 
at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args) 
at Sitecore.Shell.Applications.ContentManager.Editor.Render(RenderContentEditorArgs args, Control parent) 
at Sitecore.Shell.Applications.ContentManager.Editor.Render(Item item, Item root, Hashtable fieldInfo, Control parent, Boolean showEditor) 
at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.RenderEditor(Item item, Item root, Control parent, Boolean showEditor) 
at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.UpdateEditor(Item folder, Item root, Boolean showEditor) 
at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update() 
at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(EventArgs e) 

Пробовал несколько раз, но я не вижу, как это уходит. У кого-нибудь еще было это раньше?

Обновлено с полным стеком сейчас. Я не уверен, что первые 2 исключения имеют какое-то отношение к этому, но это может быть частью проблемы.

+0

У вас уже есть трассировка стека? –

+0

@Marek Я добавил полный стек сейчас –

+0

Вы сравнили обновленную установку с чистой установкой целевой версии, чтобы убедиться, что вы ничего не пропустили? –

ответ

1

Ошибка от Sitecore, пытающегося загрузить сборку посредством отражения и получения доступа к системному уровню в DLL. Вы должны проверить, работает ли ваш AppPool, как имеет доступ к веб-роуту, в частности, папке/bin и всему содержимому.

+0

Я создал пользовательский пользователь и дал полное разрешение и использовал его для запуска пула приложений. Учитывая полные права пользователя на файлы в корневом каталоге веб-сайтов, к сожалению, к сожалению. –

0

Перейдите в IIS и выберите сайт. Затем нажмите «Предварительная настройка» и перейдите к разделу «Модель процесса». Измените Identity на NetworkService.

В папке своего веб-сайта щелкните правой кнопкой мыши и перейдите к свойствам. Выберите вкладку Безопасность и добавьте следующий пользователь:

  • Everyone - проверить все флажки, чтобы обеспечить полный доступ

Кроме того, убедитесь, что NETWORK SERVICE присутствует в списке имен пользователей, которые все необходимые доступа:

enter image description here