Register for your free account! | Forgot your password?

You last visited: Today at 10:15

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help] Errors

Discussion on [Help] Errors within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2007
Posts: 128
Received Thanks: 80
[Help] Errors

Can someone help me fix this errors please.


System.InvalidOperationException: Connection must be valid and open
at MySql.Data.MySqlClient.MySqlCommand.CheckState()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.System.Data.ID bCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(Data Set dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
at COServer_Project.DataBase.Authenticate(String UserName, String Password) in C:\Documents and Settings\YernaJ\Desktop\RoflCOpter Source\COServerProject\DataBase.cs:line 1609


System.InvalidOperationException: Connection must be valid and open
at MySql.Data.MySqlClient.MySqlCommand.CheckState()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()
at COServer_Project.DataBase.SaveChar(Character Charr) in C:\Documents and Settings\YernaJ\Desktop\RoflCOpter Source\COServerProject\DataBase.cs:line 1454
nestreys is offline  
Old 07/21/2009, 17:09   #2
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
Post here what is on line 1454 in Database.cs

( Ctrl + G ) to type in line
f0am is offline  
Old 07/21/2009, 17:44   #3
 
elite*gold: 0
Join Date: Nov 2007
Posts: 128
Received Thanks: 80
/* public static void SaveExpball(Character Charr)
{
try
{
MySqlCommand Command = null;
Command = new MySqlCommand("UPDATE `Characters` SET `expballend` = '" + Charr.expballend.ToString() + "',`expball` = '" + Charr.expball + "' WHERE `Account` = '" + Charr.MyClient.Account + "'", Connection);
Command.ExecuteNonQuery();

}
catch (Exception Exc) { General.WriteLine(Convert.ToString(Exc)); }
}*/

thats the whole thing in line 1454....
nestreys is offline  
Old 07/21/2009, 17:54   #4
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
well its in /* and */ shoudn't even show up
f0am is offline  
Old 07/21/2009, 18:05   #5
 
elite*gold: 0
Join Date: Nov 2007
Posts: 128
Received Thanks: 80
ah i see. but what about the first one? Why does my heaven bless cant be save?
nestreys is offline  
Old 07/21/2009, 18:12   #6
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
Do you have teamviewer if you pm me id and pass and turn tv on i will go on and check it out, actually PM me and ill give u my msn. i have togo now
f0am is offline  
Thanks
1 User
Old 07/21/2009, 19:04   #7
 
elite*gold: 0
Join Date: Nov 2007
Posts: 128
Received Thanks: 80
Can someone help me with this problem. Thanks.
nestreys is offline  
Reply


Similar Threads Similar Threads
[Guide] 2 Fixes on Sro-Errors (no bot-errors)
03/04/2011 - SRO Guides & Templates - 5 Replies
Hey guys, here are 2 fixes for silkroad-errors (not bot-errors!). I know they dont appear for many people but some guys have problems with it. 1st Fix: "Server is undergoing inspection..." Why does this error appear? Because Joymax has some problems with the Login-Servers. Fix: Step1): Click on "Start" then on "Run"
my bot gets errors?
06/14/2010 - Ragnarok Online - 2 Replies
i have a auto buffer and it pulls up players as #unknown3453453 and it says cant find player ip 67.202.104.229 port 6900 version 24
Grr >.> More Errors >
05/12/2010 - CO2 Private Server - 4 Replies
Well this is my createcharacter class for 5165 and i Type its Name Choose Body Size Wen I click Enter It Gives me The Error Try again i just cant find wats the problem using System; using Source_Project.GameSystem; using Source_Project.Structures; using MySql.Data.MySqlClient; namespace Source_Project {
[Help] Errors
02/18/2010 - CO2 Private Server - 6 Replies
#request close Thanks spare!
44 Errors.
08/08/2009 - CO2 Private Server - 4 Replies
:l. I implemented a RB guard tutorial thing into my server but I have like so many errors. I removed all of it but i cant find any other releases, and looking through the code its far too complex for me too code my own from scratch. This is the tut: http://www.elitepvpers.com/forum/co2-pserver-discus sions-questions/177649-release-rb-guard.html I think this error causing the rest is 'COServer_Project.SingleMob' does not contain a constructor that takes '15' arguments'



All times are GMT +1. The time now is 10:15.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.