Can Anyone Help ME ?

11/19/2008 18:42 Hugsha#1
I have this error on my server . When 1 people log in and log out and cant log in again pls help

This is the first error:

System.InvalidOperationException: Connection must be valid and open
en MySql.Data.MySqlClient.MySqlCommand.CheckState()
en MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()
en COServer_Project.DataBase.SaveHB(Character Charr) en C:\Downloads\COSP\COServerProject1\COServerProject \DataBase.cs:línea 1170

Second error:

System.InvalidOperationException: Connection must be valid and open
en MySql.Data.MySqlClient.MySqlCommand.CheckState()
en MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()
en COServer_Project.DataBase.ChangeOnlineStatus(Strin g AccName, Byte To) en C:\Downloads\COSP\COServerProject1\COServerProject \DataBase.cs:línea 62
en COServer_Project.Client.Drop() en C:\Downloads\COSP\COServerProject1\COServerProject \Client.cs:línea 7107
11/19/2008 23:49 vietkidd510#2
that probly means when your server restart it didnt close the connection and it kept it open so i advise you to wait a little bit then start it . or restart ur mysql
11/19/2008 23:51 tao4229#3
No, it means that his connection closed.
Either manually, LOTF made it drop connection because it overstressed it, or it just lost connection (sockets couldn't connect).
11/20/2008 00:13 vietkidd510#4
ahh thanks for correcting me
11/20/2008 17:29 Hugsha#5
what should i do ?
11/20/2008 22:18 tao4229#6
Quote:
Originally Posted by Hugsha View Post
what should i do ?
Learn C#, and learn how to not suck with mysql I guess..