After a form is submitted, I get this error in the log:
2025-01-23T15:59:41,Error,club01mstr89mvrprod,6a20c5,638732447811386924,0,13148,223,Episerver.Marketing.Connector.Framework.MarketingConnectorManager : There are currently no active connectors., 2025-01-23T15:59:41,Error,club01mstr89mvrprod,6a20c5,638732447814355691,0,13148,223,"EPiServer.Forms.Core.PostSubmissionActor.PostSubmissionActorBase : Failed to send email System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at EPiServer.Forms.Core.Internal.PlaceHolderService.<>c__DisplayClass8_0.<Replace>b__3(Match v) at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat) at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator) at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, MatchEvaluator evaluator, RegexOptions options) at EPiServer.Forms.Implementation.Actors.SendEmailAfterSubmissionActor.SendMessage(EmailTemplateActorModel emailConfig)",
Not sure how to start tracking this problem down. Any suggestions?
Could you produce the problem locally? or could you deploy the Form.UI.pdb along with Form.UI.dll? that would give the exact line that caused the exception which would help the investigation
Yes, I can reproduce it locally. I'm not sure how I would view the log locally though. Sometimes these errors pop up in the event viewer, sometimes they don't. I'll try give that a try. but if you have any recommendations, that would be appreciated.
After a form is submitted, I get this error in the log:
2025-01-23T15:59:41,Error,club01mstr89mvrprod,6a20c5,638732447811386924,0,13148,223,Episerver.Marketing.Connector.Framework.MarketingConnectorManager : There are currently no active connectors.,
2025-01-23T15:59:41,Error,club01mstr89mvrprod,6a20c5,638732447814355691,0,13148,223,"EPiServer.Forms.Core.PostSubmissionActor.PostSubmissionActorBase : Failed to send email
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at EPiServer.Forms.Core.Internal.PlaceHolderService.<>c__DisplayClass8_0.<Replace>b__3(Match v)
at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat)
at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator)
at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, MatchEvaluator evaluator, RegexOptions options)
at EPiServer.Forms.Implementation.Actors.SendEmailAfterSubmissionActor.SendMessage(EmailTemplateActorModel emailConfig)",
Not sure how to start tracking this problem down. Any suggestions?