Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB Connectivity » View Thread |
Messages 1 to 2 of 2 total |
Since 2.04 EDBCommand.OnLogMessage and OnStatusMessage not working? |
Tue, Dec 14 2010 8:32 AM | Permanent Link |
Hedley Muscroft | Hi,
Since upgrading to 2.04 b4 (from 2.03 b23) I’ve noticed that the events :- EDBCommand.OnLogMessage and EDBCommand.OnStatusMessage ...no longer seem to fire? Here’s my code snippet... using (EDBCommand cmd = new EDBCommand()) { cmd.Connection = MyConnection; cmd.OnLogMessage += new EDBLogMessageEvent(cmdRepair_OnLogMessage); cmd.OnStatusMessage += new EDBStatusMessageEvent(cmdRepair_OnLogMessage); cmd.CommandText = "repair table some_table"; try { cmd.ExecuteNonQuery(); } catch (Exception E) This event logs the messages :- void cmdRepair_OnLogMessage(object Sender, EDBMessageEventArgs e) { string s = e.Message + Environment.NewLine; if (e.Message.EndsWith("...")) s = Environment.NewLine + s; File.AppendAllText(m_repairLogFile, s); } This all used to work fine and the users had a nice log file showing them the results of the REPAIR TABLE operation. Since upgrading, the log file is empty and on break-pointing the code, I can see that OnLogMessage and OnStatusMessage are never being triggered. Have I missed something or is this a bug? Thanks! Kind Regards, Hedley Muscroft |
Wed, Dec 15 2010 3:56 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Hedley,
<< Since upgrading to 2.04 b4 (from 2.03 b23) I’ve noticed that the events :- EDBCommand.OnLogMessage and EBCommand.OnStatusMessage ..no longer seem to fire? >> Per email: still verifying for 2.05, and if an issue, will be fixed as part of that release. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, May 15, 2024 at 08:40 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |