Skip to content

Instantly share code, notes, and snippets.

@jamesray1
Created March 11, 2019 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesray1/b65107334b09a9b40090eeb3dcca0409 to your computer and use it in GitHub Desktop.
Save jamesray1/b65107334b09a9b40090eeb3dcca0409 to your computer and use it in GitHub Desktop.
Server Error in '/' Application.
Unable to read data from the transport connection: net_io_connectionclosed.
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.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.
Source Error:
Line 324:
Line 325: //Send the msg
Line 326: client.Send(msg);
Line 327: }
Line 328:
Source File: e:\web\newwaytruck\htdocs\contact-us\default.aspx.cs Line: 326
Stack Trace:
[IOException: Unable to read data from the transport connection: net_io_connectionclosed.]
System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) +1522943
System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) +227
System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) +16
System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String& response) +54
System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode) +36
System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception) +88
System.Net.Mail.SmtpClient.Send(MailMessage message) +1641
[SmtpException: Failure sending mail.]
System.Net.Mail.SmtpClient.Send(MailMessage message) +1906
contact_us_form.SendEmail() in e:\web\newwaytruck\htdocs\contact-us\default.aspx.cs:326
contact_us_form.btnValidateReCaptcha_Click(Object sender, EventArgs e) in e:\web\newwaytruck\htdocs\contact-us\default.aspx.cs:154
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9664262
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +103
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36480
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment