Password recovery problem

Discussion in 'ASP.NET Starter Kits' started by cdanna4, Sep 5, 2008.

  1. Hello everyone,

    I have gotten my clubsite starter kit up and running fine, but I cannot get password recovery to work. here is the error any insight is appreciated.

    [SocketException (0x2746): An existing connection was forcibly closed by the remote host]
    System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) +93
    System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +119

    [IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.]
    System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +267
    System.Net.DelegatedStream.Read(Byte[] buffer, Int32 offset, Int32 count) +41
    System.Net.BufferedReadStream.Read(Byte[] buffer, Int32 offset, Int32 count) +96
    System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) +280
    System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) +26
    System.Net.Mail.SmtpReplyReader.ReadLine() +13
    System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port) +802
    System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port) +316
    System.Net.Mail.SmtpClient.GetConnection() +42
    System.Net.Mail.SmtpClient.Send(MailMessage message) +1485

    [SmtpException: Failure sending mail.]
    System.Net.Mail.SmtpClient.Send(MailMessage message) +2074
    System.Web.UI.WebControls.LoginUtil.SendPasswordMail(String email, String userName, String password, MailDefinition mailDefinition, String defaultSubject, String defaultBody, OnSendingMailDelegate onSendingMailDelegate, OnSendMailErrorDelegate onSendMailErrorDelegate, Control owner) +341
    System.Web.UI.WebControls.PasswordRecovery.AttemptSendPasswordQuestionView() +653
    System.Web.UI.WebControls.PasswordRecovery.AttemptSendPassword() +66
    System.Web.UI.WebControls.PasswordRecovery.OnBubbleEvent(Object source, EventArgs e) +101
    System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
    System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115
    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163
    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
     
  2. Hi,
    In the config for your SMTP server did you use localhost ?
     

Share This Page