首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Kentico - Kentico.AcceleratedMobilePages

Kentico - Kentico.AcceleratedMobilePages
EN

Stack Overflow用户
提问于 2018-02-14 03:31:58
回答 2查看 202关注 0票数 0

Kentico.AcceleratedMobilePages附加组件可以与Kentico 11一起工作吗?

我在一个版本11的网站上安装了它,它抛出了下面的错误。

代码语言:javascript
复制
Server Error in '/' Application.

Could not load type 'CMS.DataEngine.AbstractInfoProvider`1' from assembly 'CMS.DataEngine, Version=11.0.0.0, Culture=neutral, PublicKeyToken=834b12a258f213f9'.
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.TypeLoadException: Could not load type 'CMS.DataEngine.AbstractInfoProvider`1' from assembly 'CMS.DataEngine, Version=11.0.0.0, Culture=neutral, PublicKeyToken=834b12a258f213f9'.

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.

Stack Trace: 

[TypeLoadException: Could not load type 'CMS.DataEngine.AbstractInfoProvider`1' from assembly 'CMS.DataEngine, Version=11.0.0.0, Culture=neutral, PublicKeyToken=834b12a258f213f9'.]
   Kentico.AcceleratedMobilePages.AmpFilterInfoProvider.GetAmpFilters() +0
   Kentico.AcceleratedMobilePages.CheckStateHelper.GetFilterState() +246
   Kentico.AcceleratedMobilePages.AmpFilter.OnFilterActivated(ResponseOutputFilter filter, String& finalHtml) +69
   CMS.OutputFilter.ResponseOutputFilter.FilterResponse(String finalHtml) +1266
   CMS.OutputFilter.ResponseOutputFilter.Close() +19
   System.Web.HttpWriter.FilterIntegrated(Boolean finalFiltering, IIS7WorkerRequest wr) +691
   System.Web.HttpResponse.FilterOutput() +117
   System.Web.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +61
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +91


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2106.0
EN

回答 2

Stack Overflow用户

发布于 2018-02-14 04:47:29

看起来AbstractInfoProvider已被移除并替换为AbstractInfoProvider

因此需要更新该模块才能在11上工作。

https://devnet.kentico.com/documentation/api-changes/kentico-11/24447

票数 0
EN

Stack Overflow用户

发布于 2018-02-14 19:09:15

您可能正在使用Kentco10中支持的Kentico.AccelratedMobilePages.1.0.3。

对于Kentico 11,您需要安装nuget包Kentico.AcceleratedMobilePages.11.0.0

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48774309

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档