• Not Answered

Error - Could not create instance of type: Sitecore.Forms.Data.DataProviders.WFMDataProvider. No matching constructor was found

Hi All,
 
I've set up a web form(with few fields) in Sitecore and when I submit this form, I'm getting below error:
 
 
19076 18:00:48 WARN  The type initializer for 'Sitecore.Forms.Data.DataManager' threw an exception.
Exception: System.TypeInitializationException
Message: The type initializer for 'Sitecore.Forms.Data.DataManager' threw an exception.
Source: Sitecore.Forms.Core
   at Sitecore.Forms.Data.DataManager.InsertForm(ID formId, AdaptedResultList fields, ID sessionID, String data)
   at Sitecore.Form.Submit.SaveToDatabase.Execute(ID formid, AdaptedResultList fields, Object[] data)
   at Sitecore.Form.Core.Submit.SubmitActionManager.ExecuteSaving(ID formID, ControlResult[] list, ActionDefinition[] actions, Boolean simpleAdapt, ID sessionID)
 
Nested Exception
 
Exception: Sitecore.Exceptions.ConfigurationException
Message: Could not create instance of type: Sitecore.Forms.Data.DataProviders.WFMDataProvider. No matching constructor was found.
Source: Sitecore.Kernel
   at Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)
   at Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)
   at Sitecore.Forms.Data.DataProvider..ctor()
   at Sitecore.Forms.Data.DataManager..cctor()
 
 
Would you please advise if you know anything about this?
 
Thank you.

2 Replies

  • Let us know your Sitecore version and WFFM version. Have you done any customization in SaveToDatabase functionality?
  • In reply to DHEER RAJPOOT:

    Sitecore version is "7.1 (rev. 130926)" and WFFM version is 240 rev 140117. But when i go into sitecore, it's showing me two folders under installation history node as shown below. Do you think that could be a problem?

     

    No, there is no customization done in SaveToDatabase functionality.