Hi Richard,
Can you open a connection to the database at all, or does this only
happen if you leave your application for a while? Can you connect to
your database using a MySQL tool like Query Browser?
Cheers,
Luke Venediger.
On Thu, 18 Nov 2004 12:48:12 +0100, Richard BORER
<richard.borer@stripped> wrote:
> Hi Luke,
> I've check in all library for validate that connection closed and it look well.
> See below the stack trace:
>
> [SocketException (0x2745): An established connection was aborted by the software in
> your host machine]
> System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size,
> SocketFlags socketFlags) +356
> System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
> +102
>
> [IOException: Unable to write data to the transport connection.]
> MySql.Data.MySqlClient.MySqlConnection.Open() +148
> NavigLib.NavUser.Load(String userName, String password) +151
> navig.mustLogin.btLogin_Click(Object sender, ImageClickEventArgs e) +99
> System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +109
>
> System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
> eventArgument) +70
> System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String
> eventArgument) +18
> System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
> System.Web.UI.Page.ProcessRequestMain() +1277
>
> THanks in advance
> Richard
>
>
>
> -----Original Message-----
> From: Luke Venediger [mailto:lukev123@stripped]
> Sent: Thursday, November 18, 2004 12:32 PM
> To: richard.borer@stripped
> Cc: dotnet@stripped
> Subject: Re: An established connection was aborted by the software in
> your host machine
>
> Hi Richard,
>
> In your stack trace, is the exception being thrown by the
> MySqlConnection object? Can you mail your stack trace to the list for
> more detail? It sounds like a connection timeout setting issue to me.
>
> Thanks,
> Luke Venediger.
>
> On Thu, 18 Nov 2004 11:51:59 +0100 (CET), borer richard
> <richard.borer@stripped> wrote:
> > hello,
> > I've got some problems with the latest .net connector version.
> > the framework .net generate an exception when the application not run
> > for a long time:
> > An established connection was aborted by the software in your host machine
> > 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: An established connection
> was aborted by the software in your host machine
> > Anyone got an idea ?
> > Thanks in advance
> >
>
> --
> Get Firefox Browser! Reclaim the web. http://getfirefox.com/
>
> --
> MySQL on .NET Mailing List
> For list archives: http://lists.mysql.com/dotnet
> To unsubscribe: http://lists.mysql.com/dotnet?unsub=1
>
>
--
Get Firefox Browser! Reclaim the web. http://getfirefox.com/