I have the issue with submitting a WFFM form on CD instance hosted in Azure. The message shown after submit is

"Exception has been thrown by the target of an invocation." (Exception.HideInner is set to false)...

and I don't see any error in the logs (application insights). If I submit the same form in CM server - all goes well. Any ideas?

Btw, I set WFM.MasterDatabase setting to web in Sitecore.Forms.Xtune.CD.config and Sitecore.Forms.config for the CD server...but the same issue

The Web Forms for Marketers version: 8.2 rev. 170413

  • Do you have custom actions for the form? or are you just using Send email action? Dec 20, 2017 at 14:22
  • the form has no custom actions and no validation...it has no fields just a submit button Dec 20, 2017 at 17:28
  • Did you upgrade WFFM recently or it is a fresh install? Dec 20, 2017 at 19:11

1 Answer 1


this was the issue and the fix: http://sitecorexdb.blogspot.com.by/2017/02/InvalidCastException.html

Thanks all for help!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.