Грешка в 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-първоначално издание в моя екземпляр, преди да премина през актуализация.

Редактирано: Основна причина, забравих да актуализирам 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