Hi,
I am getting an exception when I run the application. The details of the eception is given below...
System.IO.IOException was unhandled by user code
Message="Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host."
Source="System"
StackTrace:
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamReader.ReadBuffer()
at System.IO.StreamReader.ReadLine()
at Pop3.Pop3Client.ReadLine() in c:\Documents and Settings\abhinav.RIPL\My Documents\Visual Studio 2005\WebSites\WebSite4\App_Code\Pop3.cs:line 233
at Pop3.Pop3Client.SendCommand(String cmdtext) in c:\Documents and Settings\abhinav.RIPL\My Documents\Visual Studio 2005\WebSites\WebSite4\App_Code\Pop3.cs:line 228
at Pop3.Pop3Client.FetchEmail(Int32 emailId) in c:\Documents and Settings\abhinav.RIPL\My Documents\Visual Studio 2005\WebSites\WebSite4\App_Code\Pop3.cs:line 143
at Pop3.Pop3Client.FetchEmailList(Int32 start, Int32 count) in c:\Documents and Settings\abhinav.RIPL\My Documents\Visual Studio 2005\WebSites\WebSite4\App_Code\Pop3.cs:line 155
at ASP.pop3client_aspx.Page_Load(Object source, EventArgs e) in c:\Documents and Settings\abhinav.RIPL\My Documents\Visual Studio 2005\WebSites\WebSite4\Pop3Client.aspx:line 44
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
It was working very fine some time before but when I delete some messages from my mail box it start giving error.
Please help me.....