Ошибка Sitecore: не удалось создать экземпляр типа: Sitecore.Form.Core.WffmActionHandler. Подходящий конструктор не найден

Кто-нибудь сталкивался с проблемой ниже? По сути, я пытаюсь обновить веб-формы для маркетологов с 8.0-U3 на 8.0-U4 (успешно) и на 8.1-начальный выпуск (неудачно).

Ошибка в процессе установки обновления: http://upgrade/sitecore/admin/UpdateInstallationWizard.aspx

В нем говорится:

При установке произошла критическая ошибка.

Эта установка Sitecore не может использоваться ни для тестирования, ни для производственных целей, пока не свяжется служба поддержки Sitecore. Обязательно загрузите и включите файл, содержащий диагностическую информацию об установке Sitecore.

Server Error in '/' Application.

Could not create instance of type: Sitecore.Form.Core.WffmActionHandler. No matching constructor was found.

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: Sitecore.Exceptions.ConfigurationException: Could not create instance of type: Sitecore.Form.Core.WffmActionHandler. No matching constructor was found.

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: 


[ConfigurationException: Could not create instance of type: Sitecore.Form.Core.WffmActionHandler. No matching constructor was found.]
   Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +272
   Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +131
   Sitecore.Events.EventSubscribers.Add(String eventName, XmlNode configNode) +545
   Sitecore.Events.Event.GetConfigSubscribers() +564
   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +338
   Sitecore.Data.DataProviders.Sql.SqlDataProvider.SetProperty(String parameterName, String value, CallContext context) +259
   Sitecore.Data.DataProviders.DataProvider.SetProperty(String name, String value, CallContext context, DataProviderCollection providers) +124
   Sitecore.Data.DataManager.SetProperty(String name, String value) +103
   Sitecore.Web.Authentication.TicketManager.IsTicketExpired(Ticket ticket, Boolean useProlongation) +330
   Sitecore.Web.Authentication.TicketManager.GetTicket(String ticketId, Boolean returnExpired) +93
   Sitecore.Web.Authentication.TicketManager.IsTicketValid(String ticketId) +37
   Sitecore.Shell.Web.ShellPage.IsLoggedIn(Boolean returnAfterLogin) +409
   Sitecore.Shell.Web.UI.SecurePage.OnLoad(EventArgs e) +22
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4498

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1073.0

person Marvin Glenn Lacuna    schedule 07.05.2016    source источник


Ответы (2)


Я смог исправить проблему. Я переустановил пакет обновления WFFM 8.1. Но перед этим я скопировал и вставил библиотеки DLL и файлы конфигурации WFFM 8.1-Initial в свой экземпляр, прежде чем выполнить обновление.

Отредактировано: Основная причина: забыли обновить Sitecore.Forms.config с помощью приведенного ниже исправления:

<handler type="Sitecore.Form.Core.WffmActionHandler, Sitecore.Forms.Core" method="OnWffmActionEventFired" > 
<param name="actionManager" ref="/sitecore/wffm/wffmActionExecutor" /> </handler>
person Marvin Glenn Lacuna    schedule 07.05.2016

В моем случае я исправил это, скопировав всю DLL из папки установки clean-sitecore.

  1. Sitecore.Forms.Core.dll
  2. Sitecore.Forms.Custom.dll
  3. Sitecore.Forms.Mvc.dll

Выше версия dll отличалась.

person Andi AR    schedule 10.01.2018