添加任何组件时遇到编辑器问题
Experience Editor issue while adding any component
在一个环境中,当我尝试在体验编辑器中附加组件时注意到此错误。有任何想法吗?
使用 Sitecore 8.
2288 16:33:39 错误应用程序错误。
例外:System.Web.HttpParseException
消息:无法加载类型 'Sitecore.Support.Shell.Applications.WebEdit.Palette'。
资料来源:System.Web
在 System.Web.UI.TemplateParser.ParseString(字符串文本,VirtualPath virtualPath,编码 fileEncoding)
在 System.Web.UI.TemplateParser.ParseFile(字符串物理路径,虚拟路径虚拟路径)
在 System.Web.UI.TemplateParser.Parse()
在 System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
在 System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
在 System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
在 System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath 虚拟路径)
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath,布尔值 noBuild,布尔值 allowCrossApp,布尔值 allowBuildInPrecompile,布尔值 throwIfNotFound,布尔值 ensureIsUpToDate)
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext 上下文、VirtualPath virtualPath、布尔值 noBuild、布尔值 allowCrossApp、布尔值 allowBuildInPrecompile、布尔值 throwIfNotFound、布尔值 ensureIsUpToDate)
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath,HttpContext 上下文,布尔 allowCrossApp,布尔 throwIfNotFound)
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath,类型 requiredBaseType,HttpContext 上下文,Boolean allowCrossApp)
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext 上下文,String requestType,VirtualPath virtualPath,String physicalPath)
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep 步骤,Boolean& completedSynchronously)</p>
<p>嵌套异常</p>
<p>异常:System.Web.HttpParseException
消息:无法加载类型 'Sitecore.Support.Shell.Applications.WebEdit.Palette'。
资料来源:System.Web
在 System.Web.UI.TemplateParser.ProcessException(异常前)
在 System.Web.UI.TemplateParser.ParseStringInternal(字符串文本,编码文件编码)
在 System.Web.UI.TemplateParser.ParseString(字符串文本,VirtualPath virtualPath,编码 fileEncoding)
嵌套异常
异常:System.Web.HttpException
消息:无法加载类型 'Sitecore.Support.Shell.Applications.WebEdit.Palette'。
资料来源:System.Web
在 System.Web.UI.TemplateParser.GetType(字符串 typeName,布尔 ignoreCase,布尔 throwOnError)
在 System.Web.UI.TemplateParser.ProcessInheritsAttribute(字符串 baseTypeName,字符串 codeFileBaseTypeName,字符串 src,程序集程序集)
在 System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData)
看起来您的应用程序需要来自 Sitecore Support 的某些 dll,而您的 bin
目录中不存在这些 dll。
打开 /sitecore/admin/showconfig.aspx
站点并检查是否出现任何 Sitecore.Support
。然后检查你的bin
文件夹是否可以找到相关的dll文件。
在一个环境中,当我尝试在体验编辑器中附加组件时注意到此错误。有任何想法吗? 使用 Sitecore 8.
2288 16:33:39 错误应用程序错误。
例外:System.Web.HttpParseException
消息:无法加载类型 'Sitecore.Support.Shell.Applications.WebEdit.Palette'。
资料来源:System.Web
在 System.Web.UI.TemplateParser.ParseString(字符串文本,VirtualPath virtualPath,编码 fileEncoding)
在 System.Web.UI.TemplateParser.ParseFile(字符串物理路径,虚拟路径虚拟路径)
在 System.Web.UI.TemplateParser.Parse()
在 System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
在 System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
在 System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
在 System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath 虚拟路径)
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath,布尔值 noBuild,布尔值 allowCrossApp,布尔值 allowBuildInPrecompile,布尔值 throwIfNotFound,布尔值 ensureIsUpToDate)
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext 上下文、VirtualPath virtualPath、布尔值 noBuild、布尔值 allowCrossApp、布尔值 allowBuildInPrecompile、布尔值 throwIfNotFound、布尔值 ensureIsUpToDate)
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath,HttpContext 上下文,布尔 allowCrossApp,布尔 throwIfNotFound)
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath,类型 requiredBaseType,HttpContext 上下文,Boolean allowCrossApp)
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext 上下文,String requestType,VirtualPath virtualPath,String physicalPath)
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep 步骤,Boolean& completedSynchronously)</p>
<p>嵌套异常</p>
<p>异常:System.Web.HttpParseException
消息:无法加载类型 'Sitecore.Support.Shell.Applications.WebEdit.Palette'。
资料来源:System.Web
在 System.Web.UI.TemplateParser.ProcessException(异常前)
在 System.Web.UI.TemplateParser.ParseStringInternal(字符串文本,编码文件编码)
在 System.Web.UI.TemplateParser.ParseString(字符串文本,VirtualPath virtualPath,编码 fileEncoding)
嵌套异常
异常:System.Web.HttpException
消息:无法加载类型 'Sitecore.Support.Shell.Applications.WebEdit.Palette'。
资料来源:System.Web
在 System.Web.UI.TemplateParser.GetType(字符串 typeName,布尔 ignoreCase,布尔 throwOnError)
在 System.Web.UI.TemplateParser.ProcessInheritsAttribute(字符串 baseTypeName,字符串 codeFileBaseTypeName,字符串 src,程序集程序集)
在 System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData)
看起来您的应用程序需要来自 Sitecore Support 的某些 dll,而您的 bin
目录中不存在这些 dll。
打开 /sitecore/admin/showconfig.aspx
站点并检查是否出现任何 Sitecore.Support
。然后检查你的bin
文件夹是否可以找到相关的dll文件。