Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Error when trying to send form data with email

Vote:
 
I have added a default smtp-server in web.config but I get the following error anyway. Anyone know why? Object reference not set to an instance of an object. 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: System.NullReferenceException: Object reference not set to an instance of an object. 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: [NullReferenceException: Object reference not set to an instance of an object.] System.Xml.XmlStreamReader.Read(Byte[] data, Int32 offset, Int32 length) +26 System.Xml.XmlScanner..ctor(XmlStreamReader reader, XmlNameTable ntable, Encoding enc) +196 System.Xml.XmlTextReader..ctor(String url, Stream input, XmlNameTable nt) +102 System.Xml.XmlTextReader..ctor(Stream input) +80 EPiServer.XForms.Implementation.EMailConnection.ᐁ(XmlDocument ) +249 EPiServer.XForms.Implementation.EMailConnection.ᐁ(IItem ) +103 EPiServer.XForms.Implementation.EMailConnection.SendEmail(Object sender, ChannelEventArgs e) +65 EPiServer.BaseLibrary.Channel.ChannelEventHandler.Invoke(Object sender, ChannelEventArgs e) +0 EPiServer.Implementation.SynchronousChannel.Send(IItem item) +49 EPiServer.Implementation.DefaultRepository.Send(String channelId, IItem item) +35 EPiServer.XForms.XFormData.Send(Guid formId) +111 EPiServer.XForms.WebControls.XFormControl.SubmitForm(ChannelOptions options) +831 EPiServer.XForms.WebControls.Submit.SubmitForm(Object sender, EventArgs e) +91 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Page.ProcessRequestMain() +750
#12354
Sep 05, 2005 16:12
Vote:
 
This is a known bug, we have a hotfix available for this issue (contact support), or wait for the upcoming EPiServer 4.51. /Mattias Lövström
#14113
Sep 05, 2005 22:27
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.