Posted 10/7/2008 8:44:42 PM
|
|
|
|
I have a brand new site at re-invent, and have uploaded my CSK-based web site (which is based on the codeplex CSK). Normal database operations work correctly, but I can't send email. This is the error:No connection could be made because the target machine actively refused it 66.29.215.129:25 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.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 66.29.215.129:25
Source Error:
Line 78: smtp.UseDefaultCredentials = FalseLine 79: smtp.Credentials = aLine 80: smtp.Send(msgMail)Line 81: Response.Redirect("~/default.aspx")Line 82: End Sub |
Source File: m:\HostingSpaces\sprucka\pcboyscouts.org\wwwroot\Admin\Email.aspx.vb Line: 80
Stack Trace:
[SocketException (0x274d): No connection could be made because the target machine actively refused it 66.29.215.129:25] System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +239 System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +35 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +224 |
There is more if you need it. Thanks for any direction you can give.
|
|
Posted 10/7/2008 11:05:48 PM
|
|
|
|
| Hello, Could you check to see if the mail settings in your web.config file match that of our sample in our KB: <system.net> <mailSettings> <smtp from="test@foo.com"> <network host="mail.yourdomain.com" port="25" userName="myuser@mydomain.com" password="secret" defaultCredentials="true" /> </smtp> </mailSettings> </system.net>
Plato Re-invent Technologies LLC Re-invent Support Team http://www.re-invent.com
Specializing in ASP.NET Hosting
|
|
|
|