Sitecore 6.6到7.0升级

Sitecore 6.6到7.0升级,sitecore,sitecore6,sitecore7,Sitecore,Sitecore6,Sitecore7,从sitecore 6.6.0版本升级。130529到7,在我尝试访问“内容编辑器”之前,一切都很好。我犯了这个奇怪的错误,不知道该怎么办 Exception: System.Web.HttpUnhandledException Message: Exception of type 'System.Web.HttpUnhandledException' was thrown. Source: System.Web at System.Web.UI.Page.HandleError(Excepti

从sitecore 6.6.0版本升级。130529到7,在我尝试访问“内容编辑器”之前,一切都很好。我犯了这个奇怪的错误,不知道该怎么办

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)
尝试了几次,但我看不出这种情况会消失。以前有人吃过吗


现在更新为完整堆栈。我不确定前两个异常是否与此有关,但这可能是问题的一部分。

错误来自Sitecore试图通过反射加载程序集,并在DLL上拒绝系统级访问。您应该检查应用程序池运行时使用的标识是否有权访问webroot,特别是/bin文件夹及其所有内容。

转到IIS并选择站点应用程序池。然后单击Advance设置并导航到Process Model部分。将标识更改为NetworkService

在网站文件夹上,右键单击并转到属性。选择安全选项卡并添加以下用户:

每个人-选中所有复选框以提供完全访问权限 此外,请确保网络服务出现在所有需要访问的用户名列表中:


你有更多的堆栈跟踪吗?@Marek我现在已经添加了完整的堆栈。你是否将升级后的安装与目标版本的干净安装进行了比较,以确保没有遗漏任何内容?@JayS这不是我做过的,但我想我也可以尝试一下。但随着sitecore安装的文件数量的增加,我想知道通过2k+是否可行files@dami_th不要手动检查。只需安装一个干净的版本,然后对两个网站文件夹运行一个diff工具,如BeyondCompare或KDIFF,然后查看deltasI。我已经创建了一个自定义用户并授予了完全权限,并使用它运行应用程序池。不幸的是,在web根目录中为用户提供了文件的完全权限。