Sitecore升级到v.8.1-U2:体验编辑器 - 发生严重错误请联系管理员

时间:2016-05-06 02:48:20

标签: sitecore sitecore8.1 sitecore-speak-ui experience-editor

在打开Sitecore体验编辑器时,只是想检查下面是否有人遇到过错误跟踪。

22812 2016:05:06 10:36:52 ERROR Error processing command url:/-/speak/request/v1/expeditor/Optimization.ActiveItemTest error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/Optimization.ActiveItemTest
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context)
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)

19668 2016:05:06 10:36:52 ERROR Error processing command url:/-/speak/request/v1/expeditor/Optimization.IsContentTestingEnabledRequest error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/Optimization.IsContentTestingEnabledRequest
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context)
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)

22812 2016:05:06 10:36:52 ERROR Error processing command url:/-/speak/request/v1/expeditor/Optimization.ActiveItemTest error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/Optimization.ActiveItemTest
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context)
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)

19668 2016:05:06 10:36:52 ERROR Error processing command url:/-/speak/request/v1/expeditor/Optimization.IsContentTestingEnabledRequest error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/Optimization.IsContentTestingEnabledRequest
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context)
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)

19668 2016:05:06 10:36:59 ERROR Error processing command url:/-/speak/request/v1/expeditor/Optimization.ActiveItemTest error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/Optimization.ActiveItemTest
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context)
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)
10172 2016:05:06 10:36:59 ERROR Error processing command url:/-/speak/request/v1/expeditor/Optimization.ActiveItemTest error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/Optimization.ActiveItemTest
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context)
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)

12592 2016:05:06 10:36:59 ERROR Error processing command url:/-/speak/request/v1/expeditor/ContentTesting.PersonalizationGallery.CanExecute error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/ContentTesting.PersonalizationGallery.CanExecute
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context)
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)

22424 2016:05:06 10:37:00 ERROR Error processing command url:/-/speak/request/v1/expeditor/Optimization.ItemVersions.Count error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/Optimization.ItemVersions.Count
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context)
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)

19668 2016:05:06 10:37:00 ERROR Error processing command url:/-/speak/request/v1/expeditor/Optimization.ActiveItemTest error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/Optimization.ActiveItemTest
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context)
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)

16160 2016:05:06 10:37:02 ERROR Error processing command url:/-/speak/request/v1/expeditor/Optimization.ActiveTests.Count error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/Optimization.ActiveTests.Count
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context)
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)

16136 2016:05:06 10:37:03 ERROR Error processing command url:/-/speak/request/v1/expeditor/Optimization.HistoricalTests.Count error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/Optimization.HistoricalTests.Count
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context)
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)

22812 2016:05:06 10:37:03 ERROR Error processing command url:/-/speak/request/v1/expeditor/Optimization.SuggestedTests.Count error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/Optimization.SuggestedTests.Count
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context)
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)

22812 2016:05:06 10:37:04 ERROR Error processing command url:/-/speak/request/v1/expeditor/Optimization.ActiveItemTest error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/Optimization.ActiveItemTest
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context)
   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)

我尝试了恢复到SHEER UI的解决方法,但我没有做到这一点。 这里描述:https://community.sitecore.net/developers/f/5/t/3049

3 个答案:

答案 0 :(得分:2)

实际上,在启用与内容测试 \ Website \ App_Config \ Include \ ContentTesting 相关的必要配置后,所述错误不再出现

就我而言:

  • Sitecore.ContentTesting.ApplicationDependencies.config
  • Sitecore.ContentTesting.config
  • Sitecore.ContentTesting.Intelligence.config
  • Sitecore.ContentTesting.Mvc.config
  • Sitecore.ContentTesting.Processing.Aggregation.config
  • Sitecore.ContentTesting.Solr.IndexConfiguration.config

答案 1 :(得分:2)

在尝试了多种解决方案后,我们的问题是SPEAK网址要求在请求中使用特定的案例。

如果您正在使用URL Rewrite 2.x将小写网址用于搜索引擎优化目的,则您需要手动为/ - / speak / requests添加排除。

<rule name="LowerCaseRule" stopProcessing="true">
    <match url="[A-Z]" ignoreCase="false" />
    <conditions>
        <add input="{URL}" pattern="^/sitecore" negate="true" />
        <add input="{URL}" pattern="^/temp" negate="true" />
        <add input="{URL}" pattern="^/ScriptResource" negate="true" />
        <add input="{URL}" pattern="^/WebResource" negate="true" />
        <add input="{URL}" pattern="^/Shibboleth.sso" negate="true" />
        <add input="{URL}" pattern="\.axd" negate="true" />
        <add input="{URL}" pattern="\.asmx" negate="true" />
        <add input="{URL}" pattern="\.svc" negate="true" />
        <add input="{URL}" pattern="^/layouts/system" negate="true" />
        <add input="{HTTP_URL}" pattern="\?.*sc_mode" negate="true" />
        <add input="{URL}" pattern="\/-\/speak" negate="true" /><!-- SPEAK addition -->
    </conditions>
    <action type="Redirect" url="{ToLower:{URL}}" />
</rule>

基于Sitecore Experience Editor Issue : A serious error occurred please contact the administrator

答案 2 :(得分:0)

问题中引用的链接中的信息仅涉及更新Sitecore.ExperienceEditor.config。但是,此This KB Page还列出了要编辑的Sitecore.MvcExperienceEditor.config。编辑这两个配置对我有用。