SMTP Virtual Server in IIS V5.1

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




When I installed IIS in my computer I was adviced, for reasons of security,
to do something I don't remember what. What I know is that, when I see the
listing of the services of the Internet Information Services, the SMTP
Virtual Server icon has a red croos over it since that time. I want to undo
this situation. I tried. I think that the advice was on a knowledge base
item. But I can't locate it. Who can help?

Francisco Tavares

Server Error in '/membership' Application.
--------------------------------------------------------------------------------

No connection could be made because the target machine actively refused it
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

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:


[SocketException (0x274d): No connection could be made because the target
machine actively refused it]
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,
SocketAddress socketAddress) +369
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) +421

[WebException: Unable to connect to the remote server]
System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object
owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket&
abortSocket6, Int32 timeout) +413
System.Net.PooledStream.Activate(Object owningObject, Boolean async,
Int32 timeout, GeneralAsyncDelegate asyncCallback) +191
System.Net.PooledStream.Activate(Object owningObject,
GeneralAsyncDelegate asyncCallback) +21
System.Net.ConnectionPool.GetConnection(Object owningObject,
GeneralAsyncDelegate asyncCallback, Int32 creationTimeout) +329
System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port) +188
System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port) +265
System.Net.Mail.SmtpClient.GetConnection() +43
System.Net.Mail.SmtpClient.Send(MailMessage message) +1463

[SmtpException: Failure sending mail.]
System.Net.Mail.SmtpClient.Send(MailMessage message) +2063
System.Web.UI.WebControls.LoginUtil.SendPasswordMail(String email, String
userName, String password, MailDefinition mailDefinition, String
defaultSubject, String defaultBody, OnSendingMailDelegate
onSendingMailDelegate, OnSendMailErrorDelegate onSendMailErrorDelegate,
Control owner) +347

System.Web.UI.WebControls.PasswordRecovery.AttemptSendPasswordQuestionView()
+657
System.Web.UI.WebControls.PasswordRecovery.AttemptSendPassword() +69
System.Web.UI.WebControls.PasswordRecovery.OnBubbleEvent(Object source,
EventArgs e) +84
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +86
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
+155

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) +4919




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.210




.



Relevant Pages

  • Re: Sending email via SMTP
    ... A connection attempt failed because the ... Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState ... state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) ...
    (microsoft.public.dotnet.framework.windowsforms)
  • How to get a string from a thread onto a page?
    ... I created a thread in Page_Load and get a string through a socket from ... Then I show this string in a textbox on the page. ... the string does not display on the textbox. ... If I add a Response.Flushstatement, I get an exception of type: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: An existing connection was forcibly closed by the remote host...
    ... EndReceivewill throw "Can't access disposed object" exception whenever the connection is terminated. ... In MS .NET Socket implementation there is no mechanism for the socket object to signal to the main thread that it is about to be disposed. ... public Socket ClientSocket ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: "invalid handle", sockets, threads and garbage collector
    ... your IntPtr value happens to coincide with a reference. ... The exception contains "invalid handle" message. ... Socket constructor problem ... finalization means closing the handle to resource. ...
    (microsoft.public.dotnet.framework.clr)
  • Re: reconnect tcp
    ... instance throws a fatal exception, ... to close the socket and reconnect. ... public ClientHandler(Socket client, int timeout) ... while (rxDataCounter < receiveBytes) ...
    (microsoft.public.dotnet.languages.csharp)